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.
This commit is contained in:
uiop
2026-07-14 13:24:59 -04:00
parent c960cbc96b
commit 0fde69f4a1

View File

@@ -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