pythonPackages: deprecate pytest_xdist alias
This commit is contained in:
parent
dd712027be
commit
2e9c330216
|
@ -18,7 +18,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ wrapGAppsHook gettext ];
|
nativeBuildInputs = [ wrapGAppsHook gettext ];
|
||||||
|
|
||||||
checkInputs = [ gdk-pixbuf hicolor-icon-theme ] ++ (with python3.pkgs; [ pytest pytest_xdist polib xvfb-run dbus.daemon glibcLocales ]);
|
checkInputs = [ gdk-pixbuf hicolor-icon-theme ] ++ (with python3.pkgs; [ pytest pytest-xdist polib xvfb-run dbus.daemon glibcLocales ]);
|
||||||
|
|
||||||
buildInputs = [ gnome.adwaita-icon-theme libsoup glib glib-networking gtk3 webkitgtk gdk-pixbuf keybinder3 gtksourceview libmodplug libappindicator-gtk3 kakasi gobject-introspection ]
|
buildInputs = [ gnome.adwaita-icon-theme libsoup glib glib-networking gtk3 webkitgtk gdk-pixbuf keybinder3 gtksourceview libmodplug libappindicator-gtk3 kakasi gobject-introspection ]
|
||||||
++ (if xineBackend then [ xine-lib ] else with gst_all_1;
|
++ (if xineBackend then [ xine-lib ] else with gst_all_1;
|
||||||
|
|
|
@ -148,7 +148,7 @@ let
|
||||||
pytest
|
pytest
|
||||||
pytest-django
|
pytest-django
|
||||||
pytest-env
|
pytest-env
|
||||||
pytest_xdist
|
pytest-xdist
|
||||||
];
|
];
|
||||||
|
|
||||||
pyocrWithUserTesseract = pyPkgs:
|
pyocrWithUserTesseract = pyPkgs:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi, writeText, asttokens
|
{ lib, buildPythonPackage, fetchPypi, writeText, asttokens
|
||||||
, pycryptodome, pytest_xdist, pytest-cov, recommonmark, semantic-version, sphinx
|
, pycryptodome, pytest-xdist, pytest-cov, recommonmark, semantic-version, sphinx
|
||||||
, sphinx_rtd_theme, pytest-runner }:
|
, sphinx_rtd_theme, pytest-runner }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
|
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
|
||||||
, aria2, poetry, pytest, pytest-cov, pytest_xdist, responses
|
, aria2, poetry, pytest, pytest-cov, pytest-xdist, responses
|
||||||
, asciimatics, loguru, requests, setuptools, websocket-client
|
, asciimatics, loguru, requests, setuptools, websocket-client
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||||
export HOME=$TMPDIR
|
export HOME=$TMPDIR
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkInputs = [ aria2 responses pytest pytest-cov pytest_xdist ];
|
checkInputs = [ aria2 responses pytest pytest-cov pytest-xdist ];
|
||||||
|
|
||||||
# Tests are not all stable/deterministic,
|
# Tests are not all stable/deterministic,
|
||||||
# they rely on actually running an aria2c daemon and communicating with it,
|
# they rely on actually running an aria2c daemon and communicating with it,
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, ConfigArgParse, acme, configobj, cryptography, distro, josepy, parsedatetime, pyRFC3339, pyopenssl, pytz, requests, six, zope_component, zope_interface
|
, ConfigArgParse, acme, configobj, cryptography, distro, josepy, parsedatetime, pyRFC3339, pyopenssl, pytz, requests, six, zope_component, zope_interface
|
||||||
, dialog, gnureadline
|
, dialog, gnureadline
|
||||||
, pytest_xdist, pytestCheckHook, python-dateutil
|
, pytest-xdist, pytestCheckHook, python-dateutil
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -42,7 +42,7 @@ buildPythonPackage rec {
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
python-dateutil
|
python-dateutil
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
pytest_xdist
|
pytest-xdist
|
||||||
];
|
];
|
||||||
|
|
||||||
pytestFlagsArray = [
|
pytestFlagsArray = [
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
, flask
|
, flask
|
||||||
, psutil
|
, psutil
|
||||||
, pytest-timeout
|
, pytest-timeout
|
||||||
, pytest_xdist
|
, pytest-xdist
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, requests
|
, requests
|
||||||
, isPy27
|
, isPy27
|
||||||
|
@ -75,7 +75,7 @@ buildPythonPackage rec {
|
||||||
flask
|
flask
|
||||||
psutil
|
psutil
|
||||||
pytest-timeout
|
pytest-timeout
|
||||||
pytest_xdist
|
pytest-xdist
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
requests
|
requests
|
||||||
] ++ lib.optionals (!isPy27) [
|
] ++ lib.optionals (!isPy27) [
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pytest-cov
|
, pytest-cov
|
||||||
, pytest_xdist
|
, pytest-xdist
|
||||||
, pytest-django
|
, pytest-django
|
||||||
, mock
|
, mock
|
||||||
}:
|
}:
|
||||||
|
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
pytest-cov
|
pytest-cov
|
||||||
pytest_xdist
|
pytest-xdist
|
||||||
pytest-django
|
pytest-django
|
||||||
mock
|
mock
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi, pytest, pytest-cov, mock
|
{ lib, buildPythonPackage, fetchPypi, pytest, pytest-cov, mock
|
||||||
, pytest_xdist, covCore, glibcLocales }:
|
, pytest-xdist, covCore, glibcLocales }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "dyn";
|
pname = "dyn";
|
||||||
|
@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||||
pytest
|
pytest
|
||||||
pytest-cov
|
pytest-cov
|
||||||
mock
|
mock
|
||||||
pytest_xdist
|
pytest-xdist
|
||||||
covCore
|
covCore
|
||||||
];
|
];
|
||||||
# Disable checks because they are not stateless and require internet access.
|
# Disable checks because they are not stateless and require internet access.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ lib, buildPythonPackage, fetchFromGitHub
|
{ lib, buildPythonPackage, fetchFromGitHub
|
||||||
, isPy3k, attrs, coverage, enum34, pexpect
|
, isPy3k, attrs, coverage, enum34, pexpect
|
||||||
, doCheck ? true, pytest, pytest_xdist, flaky, mock
|
, doCheck ? true, pytest, pytest-xdist, flaky, mock
|
||||||
, sortedcontainers
|
, sortedcontainers
|
||||||
}:
|
}:
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -29,7 +29,7 @@ buildPythonPackage rec {
|
||||||
sortedcontainers
|
sortedcontainers
|
||||||
] ++ lib.optional (!isPy3k) enum34;
|
] ++ lib.optional (!isPy3k) enum34;
|
||||||
|
|
||||||
checkInputs = [ pytest pytest_xdist flaky mock pexpect ];
|
checkInputs = [ pytest pytest-xdist flaky mock pexpect ];
|
||||||
inherit doCheck;
|
inherit doCheck;
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pytest_xdist
|
, pytest-xdist
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, matplotlib
|
, matplotlib
|
||||||
, mock
|
, mock
|
||||||
|
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||||
sha256 = "057v8v5p2picmgiidr9lzjbh7nj54pv95m6lyya3y7dw4vzaamij";
|
sha256 = "057v8v5p2picmgiidr9lzjbh7nj54pv95m6lyya3y7dw4vzaamij";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytestCheckHook matplotlib mock pytest_xdist ];
|
checkInputs = [ pytestCheckHook matplotlib mock pytest-xdist ];
|
||||||
propagatedBuildInputs = [ pytorch scikit-learn tqdm pynvml ];
|
propagatedBuildInputs = [ pytorch scikit-learn tqdm pynvml ];
|
||||||
|
|
||||||
# runs succesfully in 3.9, however, async isn't correctly closed so it will fail after test suite.
|
# runs succesfully in 3.9, however, async isn't correctly closed so it will fail after test suite.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi
|
{ lib, buildPythonPackage, fetchPypi
|
||||||
, pytest, pytest-cov, pytest_xdist
|
, pytest, pytest-cov, pytest-xdist
|
||||||
, six, numpy, scipy, pyyaml, h5py
|
, six, numpy, scipy, pyyaml, h5py
|
||||||
, keras-applications, keras-preprocessing
|
, keras-applications, keras-preprocessing
|
||||||
}:
|
}:
|
||||||
|
@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest
|
pytest
|
||||||
pytest-cov
|
pytest-cov
|
||||||
pytest_xdist
|
pytest-xdist
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi
|
{ lib, buildPythonPackage, fetchPypi
|
||||||
, pytest
|
, pytest
|
||||||
, pytest_xdist
|
, pytest-xdist
|
||||||
, six }:
|
, six }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -14,7 +14,7 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest
|
pytest
|
||||||
pytest_xdist
|
pytest-xdist
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
, pybids
|
, pybids
|
||||||
, pydot
|
, pydot
|
||||||
, pytest
|
, pytest
|
||||||
, pytest_xdist
|
, pytest-xdist
|
||||||
, pytest-forked
|
, pytest-forked
|
||||||
, rdflib
|
, rdflib
|
||||||
, scipy
|
, scipy
|
||||||
|
@ -93,7 +93,7 @@ buildPythonPackage rec {
|
||||||
mock
|
mock
|
||||||
pytest
|
pytest
|
||||||
pytest-forked
|
pytest-forked
|
||||||
pytest_xdist
|
pytest-xdist
|
||||||
pytest-cov
|
pytest-cov
|
||||||
which
|
which
|
||||||
];
|
];
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
, fonttools
|
, fonttools
|
||||||
, lxml, fs # for fonttools extras
|
, lxml, fs # for fonttools extras
|
||||||
, setuptools-scm
|
, setuptools-scm
|
||||||
, pytestCheckHook, pytest-cov, pytest_xdist
|
, pytestCheckHook, pytest-cov, pytest-xdist
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -32,7 +32,7 @@ buildPythonPackage rec {
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
pytest-cov
|
pytest-cov
|
||||||
pytest_xdist
|
pytest-xdist
|
||||||
];
|
];
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
# Test that fails on pytest >= v6
|
# Test that fails on pytest >= v6
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
, django
|
, django
|
||||||
, setuptools-scm
|
, setuptools-scm
|
||||||
, django-configurations
|
, django-configurations
|
||||||
, pytest_xdist
|
, pytest-xdist
|
||||||
, six
|
, six
|
||||||
}:
|
}:
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pytest setuptools-scm ];
|
nativeBuildInputs = [ pytest setuptools-scm ];
|
||||||
checkInputs = [ pytest django-configurations pytest_xdist six ];
|
checkInputs = [ pytest django-configurations pytest-xdist six ];
|
||||||
propagatedBuildInputs = [ django ];
|
propagatedBuildInputs = [ django ];
|
||||||
|
|
||||||
# Complicated. Requires Django setup.
|
# Complicated. Requires Django setup.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
|
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
|
||||||
, factory_boy, faker, numpy, backports-entry-points-selectable
|
, factory_boy, faker, numpy, backports-entry-points-selectable
|
||||||
, pytestCheckHook, pytest_xdist
|
, pytestCheckHook, pytest-xdist
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
pytest_xdist
|
pytest-xdist
|
||||||
numpy
|
numpy
|
||||||
factory_boy
|
factory_boy
|
||||||
faker
|
faker
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
, mock
|
, mock
|
||||||
, pysqlite ? null
|
, pysqlite ? null
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pytest_xdist
|
, pytest-xdist
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi, requests, pytest, pytest-cov, pytest-mock, pytest_xdist }:
|
{ lib, buildPythonPackage, fetchPypi, requests, pytest, pytest-cov, pytest-mock, pytest-xdist }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "stripe";
|
pname = "stripe";
|
||||||
|
@ -15,7 +15,7 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
propagatedBuildInputs = [ requests ];
|
propagatedBuildInputs = [ requests ];
|
||||||
|
|
||||||
checkInputs = [ pytest pytest-cov pytest-mock pytest_xdist ];
|
checkInputs = [ pytest pytest-cov pytest-mock pytest-xdist ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Stripe Python bindings";
|
description = "Stripe Python bindings";
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, shellingham
|
, shellingham
|
||||||
, pytest-cov
|
, pytest-cov
|
||||||
, pytest_xdist
|
, pytest-xdist
|
||||||
, pytest-sugar
|
, pytest-sugar
|
||||||
, coverage
|
, coverage
|
||||||
, mypy
|
, mypy
|
||||||
|
@ -27,7 +27,7 @@ buildPythonPackage rec {
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
pytest-cov
|
pytest-cov
|
||||||
pytest_xdist
|
pytest-xdist
|
||||||
pytest-sugar
|
pytest-sugar
|
||||||
shellingham
|
shellingham
|
||||||
coverage
|
coverage
|
||||||
|
|
|
@ -66,7 +66,7 @@ buildPythonApplication rec {
|
||||||
mock
|
mock
|
||||||
pytest
|
pytest
|
||||||
pytest-cov
|
pytest-cov
|
||||||
pytest_xdist
|
pytest-xdist
|
||||||
vcrpy
|
vcrpy
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -64,7 +64,7 @@ buildPythonApplication rec {
|
||||||
pypdf2
|
pypdf2
|
||||||
pytest
|
pytest
|
||||||
pytest-helpers-namespace
|
pytest-helpers-namespace
|
||||||
pytest_xdist
|
pytest-xdist
|
||||||
pytest-cov
|
pytest-cov
|
||||||
python-xmp-toolkit
|
python-xmp-toolkit
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
|
|
|
@ -57,6 +57,7 @@ mapAliases ({
|
||||||
pytestpep8 = throw "pytestpep8 was removed because it is abandoned and no longer compatible with pytest v6.0"; # added 2020-12-10
|
pytestpep8 = throw "pytestpep8 was removed because it is abandoned and no longer compatible with pytest v6.0"; # added 2020-12-10
|
||||||
pytestquickcheck = pytest-quickcheck; # added 2021-07-20
|
pytestquickcheck = pytest-quickcheck; # added 2021-07-20
|
||||||
pytestrunner = pytest-runner; # added 2021-01-04
|
pytestrunner = pytest-runner; # added 2021-01-04
|
||||||
|
pytest_xdist = pytest-xdist; # added 2021-01-04
|
||||||
qasm2image = throw "qasm2image is no longer maintained (since November 2018), and is not compatible with the latest pythonPackages.qiskit versions."; # added 2020-12-09
|
qasm2image = throw "qasm2image is no longer maintained (since November 2018), and is not compatible with the latest pythonPackages.qiskit versions."; # added 2020-12-09
|
||||||
rotate-backups = throw "pythonPackages.rotate-backups was removed in favor of the top-level rotate-backups"; # added 2021-07-01
|
rotate-backups = throw "pythonPackages.rotate-backups was removed in favor of the top-level rotate-backups"; # added 2021-07-01
|
||||||
selectors34 = throw "selectors34 has been removed: functionality provided by Python itself; archived by upstream."; # Added 2021-06-10
|
selectors34 = throw "selectors34 has been removed: functionality provided by Python itself; archived by upstream."; # Added 2021-06-10
|
||||||
|
|
|
@ -6926,7 +6926,6 @@ in {
|
||||||
|
|
||||||
pytest-watch = callPackage ../development/python-modules/pytest-watch { };
|
pytest-watch = callPackage ../development/python-modules/pytest-watch { };
|
||||||
|
|
||||||
pytest_xdist = self.pytest-xdist; # added 2021-01-04
|
|
||||||
pytest-xdist = callPackage ../development/python-modules/pytest-xdist { };
|
pytest-xdist = callPackage ../development/python-modules/pytest-xdist { };
|
||||||
|
|
||||||
pytest-xprocess = callPackage ../development/python-modules/pytest-xprocess { };
|
pytest-xprocess = callPackage ../development/python-modules/pytest-xprocess { };
|
||||||
|
|
|
@ -480,7 +480,6 @@ with self; with super; {
|
||||||
|
|
||||||
pytest-runner = callPackage ../development/python-modules/pytest-runner/2.nix { };
|
pytest-runner = callPackage ../development/python-modules/pytest-runner/2.nix { };
|
||||||
|
|
||||||
pytest_xdist = self.pytest-xdist; # added 2021-01-04
|
|
||||||
pytest-xdist = callPackage ../development/python-modules/pytest-xdist/1.nix { };
|
pytest-xdist = callPackage ../development/python-modules/pytest-xdist/1.nix { };
|
||||||
|
|
||||||
python-otr = callPackage ../development/python-modules/python-otr { };
|
python-otr = callPackage ../development/python-modules/python-otr { };
|
||||||
|
|
Loading…
Reference in a new issue