diff --git a/pkgs/development/python-modules/pip-tools/default.nix b/pkgs/development/python-modules/pip-tools/default.nix index a6d8c36cb48c..a5a04a886480 100644 --- a/pkgs/development/python-modules/pip-tools/default.nix +++ b/pkgs/development/python-modules/pip-tools/default.nix @@ -4,7 +4,7 @@ buildPythonPackage, build, click, - fetchFromGitHub, + fetchPypi, pep517, pip, pytest-xdist, @@ -19,16 +19,14 @@ buildPythonPackage rec { pname = "pip-tools"; - version = "7.5.0"; + version = "7.4.1"; pyproject = true; disabled = pythonOlder "3.8"; - src = fetchFromGitHub { - owner = "jazzband"; - repo = "pip-tools"; - tag = "v${version}"; - hash = "sha256-F2SuuY2tN0HEbkWMBdGVuWBwu2onOdMDcWLal8jke2s="; + src = fetchPypi { + inherit pname version; + hash = "sha256-hkgm9Qc4ZEUOJNvuuFzjkgzfsJhIo9aev1N7Uh8UvMk="; }; patches = [ ./fix-setup-py-bad-syntax-detection.patch ]; @@ -84,15 +82,6 @@ buildPythonPackage rec { "test_no_candidates" "test_no_candidates_pre" "test_failure_of_legacy_resolver_prompts_for_backtracking" - - # ValueError: I/O operation on closed file. - "test_indentation" - - # unexpected warnings due to legacy resolver deprecation - "test_show_warning_on_default_strip_extras_option" - - # generator fails to yield - "test_compile_build_targets_setuptools_no_wheel_dep" ]; pythonImportsCheck = [ "piptools" ];