diff --git a/pkgs/development/python-modules/s3transfer/default.nix b/pkgs/development/python-modules/s3transfer/default.nix index acd739d854e9..40439b4d395f 100644 --- a/pkgs/development/python-modules/s3transfer/default.nix +++ b/pkgs/development/python-modules/s3transfer/default.nix @@ -1,13 +1,10 @@ { lib , botocore , buildPythonPackage -, docutils , fetchFromGitHub -, mock , pytestCheckHook , pythonOlder , stdenv -, wheel }: buildPythonPackage rec { @@ -26,16 +23,11 @@ buildPythonPackage rec { propagatedBuildInputs = [ botocore ]; - buildInputs = [ docutils mock pytestCheckHook wheel ]; + nativeCheckInputs = [ pytestCheckHook ]; disabledTestPaths = [ # Requires network access - "tests/integration/test_copy.py" - "tests/integration/test_delete.py" - "tests/integration/test_download.py" - "tests/integration/test_processpool.py" - "tests/integration/test_s3transfer.py" - "tests/integration/test_upload.py" + "tests/integration" ] ++ # There was a change in python 3.8 that defaults multiprocessing to spawn instead of fork on macOS # See https://bugs.python.org/issue33725 and https://github.com/python/cpython/pull/13603.