diff options
| author | Paul Meyer <katexochen0@gmail.com> | 2025-07-16 16:15:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-16 16:15:21 +0200 |
| commit | f201b8f4eaa1aabce34ffe4e68bc776bd9676d76 (patch) | |
| tree | 76e5ca8633bc50b56ef6f9190c2c9c2fd9925fa9 /pkgs/development/python-modules | |
| parent | a57183313ca2ce413c3b7fbc36847813b564e35e (diff) | |
| parent | 3ef5cc311650f366cfa59904e5f672621f4d0db1 (diff) | |
python3Packages.fabric: fix build (#425543)
Diffstat (limited to 'pkgs/development/python-modules')
| -rw-r--r-- | pkgs/development/python-modules/fabric/default.nix | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/fabric/default.nix b/pkgs/development/python-modules/fabric/default.nix index fbf4528d5d39..cc77add86616 100644 --- a/pkgs/development/python-modules/fabric/default.nix +++ b/pkgs/development/python-modules/fabric/default.nix @@ -3,14 +3,13 @@ buildPythonPackage, decorator, deprecated, - fetchPypi, + fetchFromGitHub, icecream, invoke, mock, paramiko, pytest-relaxed, pytestCheckHook, - pythonOlder, setuptools, }: @@ -19,11 +18,11 @@ buildPythonPackage rec { version = "3.2.2"; pyproject = true; - disabled = pythonOlder "3.10"; - - src = fetchPypi { - inherit pname version; - hash = "sha256-h4PKQuOwB28IsmkBqsa52bHxnEEAdOesz6uQLBhP9KM="; + src = fetchFromGitHub { + owner = "fabric"; + repo = "fabric"; + tag = version; + hash = "sha256-7qC2UuI0RP5xlKIYSz1sLyK/nQYegXOou1mlJYFk7M0="; }; build-system = [ setuptools ]; @@ -58,6 +57,10 @@ buildPythonPackage rec { "preserves_remote_mode_by_default" "proxy_jump" "raises_TypeError_for_disallowed_kwargs" + # Assertion failures on mocks + # https://github.com/fabric/fabric/issues/2341 + "client_defaults_to_a_new_SSHClient" + "defaults_to_auto_add" ]; meta = { |
