Merge pull request #138340 from jonringer/fix-aiobotocore
This commit is contained in:
@@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
# relax version constraints: aiobotocore works with newer botocore versions
|
||||
# the pinning used to match some `extras_require` we're not using.
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace 'botocore>=1.20.49,<1.20.50' 'botocore'
|
||||
substituteInPlace setup.py --replace 'botocore>=1.20.106,<1.20.107' 'botocore'
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ wrapt aiohttp aioitertools botocore ];
|
||||
|
||||
@@ -743,7 +743,7 @@ in with py.pkgs; buildPythonApplication rec {
|
||||
|
||||
pytestFlagsArray = [
|
||||
# parallelize test run
|
||||
"--numprocesses auto"
|
||||
"--numprocesses $NIX_BUILD_CORES"
|
||||
# assign tests grouped by file to workers
|
||||
"--dist loadfile"
|
||||
# retry racy tests that end in "RuntimeError: Event loop is closed"
|
||||
|
||||
Reference in New Issue
Block a user