From 0fde69f4a14edf8a6ff5116f0c33a034ebce9c8d Mon Sep 17 00:00:00 2001 From: uiop Date: Tue, 14 Jul 2026 13:24:59 -0400 Subject: [PATCH] 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. --- pkgs/by-name/ic/icloudpd/package.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/ic/icloudpd/package.nix b/pkgs/by-name/ic/icloudpd/package.nix index 35f5b3e5377e..ed2b454f607e 100644 --- a/pkgs/by-name/ic/icloudpd/package.nix +++ b/pkgs/by-name/ic/icloudpd/package.nix @@ -1,13 +1,13 @@ { lib, - python3Packages, + python313Packages, fetchFromGitHub, nix-update-script, testers, icloudpd, }: -python3Packages.buildPythonApplication (finalAttrs: { +python313Packages.buildPythonApplication (finalAttrs: { pname = "icloudpd"; version = "1.32.3"; pyproject = true; @@ -21,7 +21,7 @@ python3Packages.buildPythonApplication (finalAttrs: { pythonRelaxDeps = true; - dependencies = with python3Packages; [ + dependencies = with python313Packages; [ certifi click flask @@ -42,9 +42,9 @@ python3Packages.buildPythonApplication (finalAttrs: { wheel ]; - build-system = with python3Packages; [ setuptools ]; + build-system = with python313Packages; [ setuptools ]; - nativeCheckInputs = with python3Packages; [ + nativeCheckInputs = with python313Packages; [ freezegun mock pytest-timeout