Merge pull request #223295 from SuperSandro2000/pytest-xdist
python310Packages.{aiohttp,anyio,passlib}: speed test up with pytest-xdist
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
, freezegun
|
||||
, gunicorn
|
||||
, pytest-mock
|
||||
, pytest-xdist
|
||||
, pytestCheckHook
|
||||
, re-assert
|
||||
, trustme
|
||||
@@ -79,6 +80,7 @@ buildPythonPackage rec {
|
||||
freezegun
|
||||
gunicorn
|
||||
pytest-mock
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
re-assert
|
||||
] ++ lib.optionals (!(stdenv.isDarwin && stdenv.isAarch64)) [
|
||||
@@ -116,7 +118,7 @@ buildPythonPackage rec {
|
||||
'' + lib.optionalString stdenv.isDarwin ''
|
||||
# Work around "OSError: AF_UNIX path too long"
|
||||
export TMPDIR="/tmp"
|
||||
'';
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/aio-libs/aiohttp/blob/v${version}/CHANGES.rst";
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, setuptools-scm
|
||||
@@ -13,6 +12,7 @@
|
||||
, hypothesis
|
||||
, mock
|
||||
, pytest-mock
|
||||
, pytest-xdist
|
||||
, pytestCheckHook
|
||||
, trio
|
||||
, trustme
|
||||
@@ -55,6 +55,7 @@ buildPythonPackage rec {
|
||||
curio
|
||||
hypothesis
|
||||
pytest-mock
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
trio
|
||||
trustme
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
, cryptography
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pytest-xdist
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -28,6 +29,7 @@ buildPythonPackage rec {
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-xdist
|
||||
] ++ passthru.optional-dependencies.argon2
|
||||
++ passthru.optional-dependencies.bcrypt
|
||||
++ passthru.optional-dependencies.totp;
|
||||
|
||||
Reference in New Issue
Block a user