From f401eec20070d8c8b7316f7f41e8bd003d19ee0f Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 7 Apr 2022 12:23:02 +0200 Subject: [PATCH 1/2] Revert "python3Packages.toggl-cli: 2.4.3 -> 3" This reverts commit 5fbafecfe7dc3943e3116830fdd998b896fef22d. Our tooling is possibly looking at the wrong package on PyPi in that case. Needs investigation. --- pkgs/development/python-modules/toggl-cli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/toggl-cli/default.nix b/pkgs/development/python-modules/toggl-cli/default.nix index b1c0346b9648..30c3f08f52e7 100644 --- a/pkgs/development/python-modules/toggl-cli/default.nix +++ b/pkgs/development/python-modules/toggl-cli/default.nix @@ -20,7 +20,7 @@ buildPythonPackage rec { pname = "toggl-cli"; - version = "3"; + version = "2.4.3"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -28,7 +28,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "togglCli"; inherit version; - sha256 = "sha256-SkA/u1q//AyYn0v6uAXXsjANhFppxxjKhlhWhsK649w="; + sha256 = "sha256-ncMwiMwYivaFu5jrAsm1oCuXP/PZ2ALT+M+CmV6dtFo="; }; nativeBuildInputs = [ From e245a3d13271140aa1d5bf870933dee5e1bc9dba Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 7 Apr 2022 12:25:44 +0200 Subject: [PATCH 2/2] python3Packages.toggl-cli: update relaxed constraints --- pkgs/development/python-modules/toggl-cli/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/toggl-cli/default.nix b/pkgs/development/python-modules/toggl-cli/default.nix index 30c3f08f52e7..af6132cd2771 100644 --- a/pkgs/development/python-modules/toggl-cli/default.nix +++ b/pkgs/development/python-modules/toggl-cli/default.nix @@ -58,8 +58,9 @@ buildPythonPackage rec { postPatch = '' substituteInPlace requirements.txt \ --replace "notify-py==0.3.1" "notify-py>=0.3.1" \ - --replace "click==7.1.2" "click>=7.1.2" \ - --replace "pbr==5.5.1" "pbr>=5.5.1" + --replace "click==8.0.3" "click>=8.0.3" \ + --replace "pbr==5.8.0" "pbr>=5.8.0" \ + --replace "inquirer==2.9.1" "inquirer>=2.9.1" substituteInPlace pytest.ini \ --replace ' --cov toggl -m "not premium"' "" '';