Unverified Commit f201b8f4 authored by Paul Meyer's avatar Paul Meyer Committed by GitHub
Browse files

python3Packages.fabric: fix build (#425543)

parents a5718331 3ef5cc31
Loading
Loading
Loading
Loading
+10 −7
Original line number Diff line number Diff line
@@ -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 = {