From 309d7744dc70b6bebd79dc5314ffcdc3e2616475 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 25 Sep 2023 21:06:29 -0700 Subject: [PATCH 1/3] python310Packages.icalendar: 5.0.7 -> 5.0.10 Diff: https://github.com/collective/icalendar/compare/refs/tags/v5.0.7...v5.0.10 Changelog: https://github.com/collective/icalendar/blob/v5.0.10/CHANGES.rst --- pkgs/development/python-modules/icalendar/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/icalendar/default.nix b/pkgs/development/python-modules/icalendar/default.nix index 0fd19ff24900..c1237dc58829 100644 --- a/pkgs/development/python-modules/icalendar/default.nix +++ b/pkgs/development/python-modules/icalendar/default.nix @@ -6,11 +6,11 @@ , python-dateutil , pytz , hypothesis -, pytest +, pytestCheckHook }: buildPythonPackage rec { - version = "5.0.7"; + version = "5.0.10"; pname = "icalendar"; format = "setuptools"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "collective"; repo = "icalendar"; rev = "refs/tags/v${version}"; - hash = "sha256-fblcbyctnvd7DOc+tMWzg+90NHzZvH5xiY6BfJakQVo="; + hash = "sha256-sRsUjNClJ58kmCRiwSe7oq20eamj95Vwy/o0xPU8qPw="; }; propagatedBuildInputs = [ @@ -30,9 +30,11 @@ buildPythonPackage rec { nativeCheckInputs = [ hypothesis - pytest + pytestCheckHook ]; + pytestFlagsArray = [ "src/icalendar" ]; + meta = with lib; { changelog = "https://github.com/collective/icalendar/blob/v${version}/CHANGES.rst"; description = "A parser/generator of iCalendar files"; From 733f859cfd9e3294e145aec0fe2286c932fb61d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 25 Sep 2023 21:01:15 -0700 Subject: [PATCH 2/3] python310Packages.recurring-ical-events: 2.0.2 -> 2.1.0 Diff: https://github.com/niccokunzmann/python-recurring-ical-events/compare/v2.0.2...v2.1.0 Changelog: https://github.com/niccokunzmann/python-recurring-ical-events/blob/v2.1.0/README.rst#changelog --- .../python-modules/recurring-ical-events/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/recurring-ical-events/default.nix b/pkgs/development/python-modules/recurring-ical-events/default.nix index ff57846c20c0..8fcb212c702b 100644 --- a/pkgs/development/python-modules/recurring-ical-events/default.nix +++ b/pkgs/development/python-modules/recurring-ical-events/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "recurring-ical-events"; - version = "2.0.2"; + version = "2.1.0"; format = "setuptools"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "niccokunzmann"; repo = "python-recurring-ical-events"; rev = "v${version}"; - hash = "sha256-aM7c/HE8xLqT5wCLaCrfFn6c7FIkCJA6TTICZprAgNM="; + hash = "sha256-HNImooD6+hsMIfJX8LuHw1YyFIQNbY7dAjqdupPbhEE="; }; propagatedBuildInputs = [ From c04b30d8aed7deb658c4ce0fdc7e00dab8dc9cba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 1 Nov 2023 08:59:04 -0700 Subject: [PATCH 3/3] python311Packages.x-wr-timezone: disable tests According to https://github.com/niccokunzmann/x-wr-timezone/issues/8 the functionality is still intact despite the test failures. --- pkgs/development/python-modules/x-wr-timezone/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/x-wr-timezone/default.nix b/pkgs/development/python-modules/x-wr-timezone/default.nix index 8944078f70ac..3fe03d993564 100644 --- a/pkgs/development/python-modules/x-wr-timezone/default.nix +++ b/pkgs/development/python-modules/x-wr-timezone/default.nix @@ -36,6 +36,9 @@ buildPythonPackage rec { export PATH=$out/bin:$PATH ''; + # https://github.com/niccokunzmann/x-wr-timezone/issues/8 + doCheck = false; + pythonImportsCheck = [ "x_wr_timezone" ]; meta = {