···6, mock
7, pytestCheckHook
8, pythonOlder
9+, stdenv
10, wheel
11}:
12···24 hash = "sha256-0Dl7oKB2xxq/a8do3HgBUIGay88yOGBUdOGo+QCtnUE=";
25 };
2627+ propagatedBuildInputs = [ botocore ];
002829+ buildInputs = [ docutils mock pytestCheckHook wheel ];
000003031 disabledTestPaths = [
32 # Requires network access
···36 "tests/integration/test_processpool.py"
37 "tests/integration/test_s3transfer.py"
38 "tests/integration/test_upload.py"
39+ ] ++
40+ # There was a change in python 3.8 that defaults multiprocessing to spawn instead of fork on macOS
41+ # See https://bugs.python.org/issue33725 and https://github.com/python/cpython/pull/13603.
42+ # 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
43+ lib.optionals stdenv.isDarwin [ "tests/unit/test_compat.py" ];
4445+ pythonImportsCheck = [ "s3transfer" ];
004647 meta = with lib; {
48 description = "Library for managing Amazon S3 transfers";