diff options
Diffstat (limited to 'pkgs/development/python-modules/s3transfer/default.nix')
-rw-r--r-- | pkgs/development/python-modules/s3transfer/default.nix | 61 |
1 files changed, 26 insertions, 35 deletions
diff --git a/pkgs/development/python-modules/s3transfer/default.nix b/pkgs/development/python-modules/s3transfer/default.nix index 124b44f097cc5..e138d2193a5c9 100644 --- a/pkgs/development/python-modules/s3transfer/default.nix +++ b/pkgs/development/python-modules/s3transfer/default.nix @@ -1,16 +1,17 @@ -{ lib -, stdenv -, botocore -, buildPythonPackage -, fetchFromGitHub -, pytestCheckHook -, pythonOlder -, setuptools +{ + lib, + stdenv, + botocore, + buildPythonPackage, + fetchFromGitHub, + pytestCheckHook, + pythonOlder, + setuptools, }: buildPythonPackage rec { pname = "s3transfer"; - version = "0.10.0"; + version = "0.10.1"; pyproject = true; disabled = pythonOlder "3.8"; @@ -19,40 +20,30 @@ buildPythonPackage rec { owner = "boto"; repo = "s3transfer"; rev = "refs/tags/${version}"; - hash = "sha256-21xycx1+84uY4gFr7N+ra98dpsEwxy9zeSl4QA66nUc="; + hash = "sha256-EHNkYviafnuU8AADp9oyaDuAnoPOdOVNSLCcoONnHPY="; }; - nativeBuildInputs = [ - setuptools - ]; + nativeBuildInputs = [ setuptools ]; - propagatedBuildInputs = [ - botocore - ]; + propagatedBuildInputs = [ botocore ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; - disabledTestPaths = [ - # Requires network access - "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. - # I suspect the underlying issue here is that upstream tests aren't compatible with spawn multiprocessing, and pass on linux where the default is still fork - lib.optionals stdenv.isDarwin [ - "tests/unit/test_compat.py" - ]; + disabledTestPaths = + [ + # Requires network access + "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. + # I suspect the underlying issue here is that upstream tests aren't compatible with spawn multiprocessing, and pass on linux where the default is still fork + lib.optionals stdenv.isDarwin [ "tests/unit/test_compat.py" ]; - pythonImportsCheck = [ - "s3transfer" - ]; + pythonImportsCheck = [ "s3transfer" ]; passthru.optional-dependencies = { - crt = [ - botocore.optional-dependencies.crt - ]; + crt = [ botocore.optional-dependencies.crt ]; }; meta = with lib; { |