From d98ccca9b5f62bc6270427ac840a6896f32f2650 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 18 Apr 2022 21:10:34 +0200 Subject: [PATCH 1/2] python3Packages.aiodiscover: 1.4.8 -> 1.4.9 --- pkgs/development/python-modules/aiodiscover/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aiodiscover/default.nix b/pkgs/development/python-modules/aiodiscover/default.nix index dbc684281fb4..f54ffc9d4ce9 100644 --- a/pkgs/development/python-modules/aiodiscover/default.nix +++ b/pkgs/development/python-modules/aiodiscover/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "aiodiscover"; - version = "1.4.8"; + version = "1.4.9"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "bdraco"; repo = pname; rev = "v${version}"; - sha256 = "sha256-ts3PnL1ePWJHHaLuC0eQKqBOt+HeEeAayeVBAIhnUWs="; + sha256 = "sha256-KfNf09L8WF8Op+uVLRttROIgXpY79v0HfMv8b2qMSxE="; }; propagatedBuildInputs = [ From cfb5ca06dbd5896a5acfe9666efae1b989a68222 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 19 Apr 2022 08:43:35 +0200 Subject: [PATCH 2/2] python3Packages.meteofrance-api: adjust pytz constraint --- pkgs/development/python-modules/meteofrance-api/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/meteofrance-api/default.nix b/pkgs/development/python-modules/meteofrance-api/default.nix index dadd872adcda..5e738adb62bf 100644 --- a/pkgs/development/python-modules/meteofrance-api/default.nix +++ b/pkgs/development/python-modules/meteofrance-api/default.nix @@ -43,6 +43,12 @@ buildPythonPackage rec { requests-mock ]; + postPatch = '' + # https://github.com/hacf-fr/meteofrance-api/pull/378 + substituteInPlace pyproject.toml \ + --replace 'pytz = ">=2020.4,<2022.0"' 'pytz = ">=2020.4,<2023.0"' + ''; + pythonImportsCheck = [ "meteofrance_api" ];