Skip to content

Commit 0fde69f

Browse files
committed
icloudpd: build with python313
Upstream declares requires-python = ">=3.10,<3.14". Python 3.14 zero-pads %Y for years < 1000 (python/cpython#120713), which breaks icloudpd's date-based folder structure and its test suite. python3 now defaults to 3.14 in unstable, so the package fails to build.
1 parent c960cbc commit 0fde69f

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎pkgs/by-name/ic/icloudpd/package.nix‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
lib,
3-
python3Packages,
3+
python313Packages,
44
fetchFromGitHub,
55
nix-update-script,
66
testers,
77
icloudpd,
88
}:
99

10-
python3Packages.buildPythonApplication (finalAttrs: {
10+
python313Packages.buildPythonApplication (finalAttrs: {
1111
pname = "icloudpd";
1212
version = "1.32.3";
1313
pyproject = true;
@@ -21,7 +21,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
2121

2222
pythonRelaxDeps = true;
2323

24-
dependencies = with python3Packages; [
24+
dependencies = with python313Packages; [
2525
certifi
2626
click
2727
flask
@@ -42,9 +42,9 @@ python3Packages.buildPythonApplication (finalAttrs: {
4242
wheel
4343
];
4444

45-
build-system = with python3Packages; [ setuptools ];
45+
build-system = with python313Packages; [ setuptools ];
4646

47-
nativeCheckInputs = with python3Packages; [
47+
nativeCheckInputs = with python313Packages; [
4848
freezegun
4949
mock
5050
pytest-timeout

0 commit comments

Comments
 (0)