Merge pull request #130925 from SuperSandro2000/python-aliases

This commit is contained in:
Sandro 2021-07-22 03:21:11 +02:00 committed by GitHub
commit d06f7e07a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
269 changed files with 545 additions and 552 deletions

View file

@ -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;

View file

@ -41,7 +41,7 @@ mkDerivationWith python3Packages.buildPythonApplication rec {
pytest pytest
pytest-xvfb pytest-xvfb
pytest-mock pytest-mock
pytestcov pytest-cov
pytest-repeat pytest-repeat
pytest-qt pytest-qt
]; ];

View file

@ -12,7 +12,7 @@ with python3.pkgs; buildPythonApplication rec {
}; };
checkInputs = [ checkInputs = [
pytestcov pytest-cov
hypothesis hypothesis
pytest pytest
pylint pylint

View file

@ -18,7 +18,7 @@ in pythonPackages.buildPythonApplication rec {
buildInputs = with pythonPackages; [ glibcLocales ]; buildInputs = with pythonPackages; [ glibcLocales ];
propagatedBuildInputs = with pythonPackages; [ attrs beautifulsoup4 ConfigArgParse keyring pyasn1 requests six urllib3 ]; propagatedBuildInputs = with pythonPackages; [ attrs beautifulsoup4 configargparse keyring pyasn1 requests six urllib3 ];
checkInputs = with pythonPackages; [ pytest mock ]; checkInputs = with pythonPackages; [ pytest mock ];

View file

@ -20,7 +20,7 @@ with python3.pkgs; buildPythonApplication rec {
pkgs.vdirsyncer pkgs.vdirsyncer
pytz pytz
pyxdg pyxdg
requests_toolbelt requests-toolbelt
tzlocal tzlocal
urwid urwid
pkginfo pkginfo

View file

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, pytestrunner, pytest }: { lib, buildPythonPackage, fetchPypi, pytest-runner, pytest }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "Cerberus"; pname = "Cerberus";
@ -9,7 +9,7 @@ buildPythonPackage rec {
sha256 = "1pxzr8sfm2hc5s96m9k044i44nwkva70n0ypr6a35v73zn891cx5"; sha256 = "1pxzr8sfm2hc5s96m9k044i44nwkva70n0ypr6a35v73zn891cx5";
}; };
checkInputs = [ pytestrunner pytest ]; checkInputs = [ pytest-runner pytest ];
meta = with lib; { meta = with lib; {
homepage = "http://python-cerberus.org/"; homepage = "http://python-cerberus.org/";

View file

@ -5,7 +5,7 @@
, waylandSupport ? true , waylandSupport ? true
, x11Support ? true , x11Support ? true
, ConfigArgParse , configargparse
, rofi , rofi
, wl-clipboard , wl-clipboard
, wtype , wtype
@ -26,7 +26,7 @@ buildPythonApplication rec {
# `rofi` and the `waylandSupport` and `x11Support` dependencies # `rofi` and the `waylandSupport` and `x11Support` dependencies
# contain binaries needed at runtime. # contain binaries needed at runtime.
propagatedBuildInputs = with lib; [ ConfigArgParse rofi ] propagatedBuildInputs = with lib; [ configargparse rofi ]
++ optionals waylandSupport [ wl-clipboard wtype ] ++ optionals waylandSupport [ wl-clipboard wtype ]
++ optionals x11Support [ xdotool xsel ]; ++ optionals x11Support [ xdotool xsel ];

View file

@ -13,7 +13,7 @@ python3Packages.buildPythonApplication rec {
substituteInPlace setup.py --replace "bottle==" "bottle>=" substituteInPlace setup.py --replace "bottle==" "bottle>="
''; '';
nativeBuildInputs = with python3Packages; [ pytestrunner ]; nativeBuildInputs = with python3Packages; [ pytest-runner ];
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [
daemonocle daemonocle
dnspython dnspython

View file

@ -1,6 +1,6 @@
{ lib, fetchgit { lib, fetchgit
, buildPythonApplication, buildPythonPackage , buildPythonApplication, buildPythonPackage
, pygobject3, pytestrunner, requests, responses, pytest, python-olm , pygobject3, pytest-runner, requests, responses, pytest, python-olm
, canonicaljson, olm , canonicaljson, olm
}: }:
let let
@ -20,7 +20,7 @@ let
propagatedBuildInputs = [ propagatedBuildInputs = [
requests responses olm python-olm canonicaljson requests responses olm python-olm canonicaljson
pytestrunner pytest pytest-runner pytest
]; ];
doCheck = false; doCheck = false;

View file

@ -36,7 +36,7 @@ python3.pkgs.buildPythonApplication rec {
glibcLocales glibcLocales
] ++ (with python3.pkgs; [ ] ++ (with python3.pkgs; [
pytestCheckHook pytestCheckHook
pytestcov pytest-cov
pytest-mock pytest-mock
]); ]);

View file

@ -1,5 +1,5 @@
{ lib, fetchFromGitHub, buildPythonApplication, fuse { lib, fetchFromGitHub, buildPythonApplication, fuse
, appdirs, colorama, python-dateutil, requests, requests_toolbelt , appdirs, colorama, python-dateutil, requests, requests-toolbelt
, fusepy, sqlalchemy, setuptools }: , fusepy, sqlalchemy, setuptools }:
buildPythonApplication rec { buildPythonApplication rec {
@ -16,7 +16,7 @@ buildPythonApplication rec {
}; };
propagatedBuildInputs = [ appdirs colorama python-dateutil fusepy requests propagatedBuildInputs = [ appdirs colorama python-dateutil fusepy requests
requests_toolbelt setuptools sqlalchemy ]; requests-toolbelt setuptools sqlalchemy ];
makeWrapperArgs = [ "--prefix LIBFUSE_PATH : ${fuse}/lib/libfuse.so" ]; makeWrapperArgs = [ "--prefix LIBFUSE_PATH : ${fuse}/lib/libfuse.so" ];

View file

@ -148,7 +148,7 @@ let
pytest pytest
pytest-django pytest-django
pytest-env pytest-env
pytest_xdist pytest-xdist
]; ];
pyocrWithUserTesseract = pyPkgs: pyocrWithUserTesseract = pyPkgs:

View file

@ -44,8 +44,8 @@ buildPythonApplication rec {
freezegun freezegun
hypothesis hypothesis
pytest pytest
pytestrunner pytest-runner
pytestcov pytest-cov
glibcLocales glibcLocales
]; ];

View file

@ -6,7 +6,7 @@ python3Packages.buildPythonApplication rec {
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [
appdirs appdirs
ConfigArgParse configargparse
connection-pool connection-pool
datrie datrie
docutils docutils

View file

@ -27,7 +27,7 @@ python3.pkgs.buildPythonApplication rec {
intltool intltool
gobject-introspection gobject-introspection
wrapGAppsHook wrapGAppsHook
python3.pkgs.pytestrunner python3.pkgs.pytest-runner
]; ];
buildInputs = [ buildInputs = [

View file

@ -9,7 +9,7 @@ buildPythonApplication rec {
# application, it would mess up the Python environment. Thus, don't add it # application, it would mess up the Python environment. Thus, don't add it
# here, instead add it to PATH when running unit tests # here, instead add it to PATH when running unit tests
checkInputs = [ pytest pytest-flake8 git ]; checkInputs = [ pytest pytest-flake8 git ];
nativeBuildInputs = [ pytestrunner ]; nativeBuildInputs = [ pytest-runner ];
propagatedBuildInputs = [ ipython nbformat ]; propagatedBuildInputs = [ ipython nbformat ];
src = fetchPypi { src = fetchPypi {

View file

@ -1,6 +1,6 @@
{ lib, buildPythonPackage, fetchPypi, writeText, asttokens { lib, buildPythonPackage, fetchPypi, writeText, asttokens
, pycryptodome, pytest_xdist, pytestcov, recommonmark, semantic-version, sphinx , pycryptodome, pytest-xdist, pytest-cov, recommonmark, semantic-version, sphinx
, sphinx_rtd_theme, pytestrunner }: , sphinx_rtd_theme, pytest-runner }:
let let
sample-contract = writeText "example.vy" '' sample-contract = writeText "example.vy" ''
@ -21,7 +21,7 @@ buildPythonPackage rec {
sha256 = "e763561a161c35c03b92a0c176096dd9b4c78ab003c2f08324d443f459b3de84"; sha256 = "e763561a161c35c03b92a0c176096dd9b4c78ab003c2f08324d443f459b3de84";
}; };
nativeBuildInputs = [ pytestrunner ]; nativeBuildInputs = [ pytest-runner ];
postPatch = '' postPatch = ''
substituteInPlace setup.py \ substituteInPlace setup.py \

View file

@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
pythonPackages.pytest pythonPackages.pytest
]; ];
checkInputs = lib.optional enablePython [ pythonPackages.scipy pythonPackages.pytestcov ]; checkInputs = lib.optional enablePython [ pythonPackages.scipy pythonPackages.pytest-cov ];
preConfigure = '' preConfigure = ''
mkdir -p build/external/src mkdir -p build/external/src

View file

@ -43,7 +43,7 @@ python27Packages.buildPythonApplication {
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
propagatedBuildInputs = [ deps.oildev python27Packages.ConfigArgParse ]; propagatedBuildInputs = [ deps.oildev python27Packages.configargparse ];
patchPhase = '' patchPhase = ''
for file in resholve; do for file in resholve; do

View file

@ -6,7 +6,7 @@
, pytestCheckHook , pytestCheckHook
, pytest-asyncio , pytest-asyncio
, pytest-tornado , pytest-tornado
, pytestcov , pytest-cov
, sqlalchemy , sqlalchemy
, tornado , tornado
, twisted , twisted
@ -38,7 +38,7 @@ buildPythonPackage rec {
pytest-asyncio pytest-asyncio
pytest-tornado pytest-tornado
pytestCheckHook pytestCheckHook
pytestcov pytest-cov
sqlalchemy sqlalchemy
tornado tornado
twisted twisted

View file

@ -1,7 +1,7 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, pytestrunner , pytest-runner
, pytest , pytest
, pytest-asyncio , pytest-asyncio
, contextvars , contextvars
@ -23,7 +23,7 @@ buildPythonPackage rec {
}; };
buildInputs = [ buildInputs = [
pytestrunner pytest-runner
]; ];
checkInputs = [ checkInputs = [

View file

@ -4,7 +4,7 @@
, isPy27 , isPy27
, pytest , pytest
, pytest-asyncio , pytest-asyncio
, pytestcov , pytest-cov
, trustme , trustme
, async-timeout , async-timeout
}: }:
@ -22,7 +22,7 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
pytest pytest
pytest-asyncio pytest-asyncio
pytestcov pytest-cov
trustme trustme
async-timeout async-timeout
]; ];

View file

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, aiohttp, jinja2, pytest, pytest-aiohttp, pytestcov }: { lib, buildPythonPackage, fetchPypi, aiohttp, jinja2, pytest, pytest-aiohttp, pytest-cov }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "aiohttp-jinja2"; pname = "aiohttp-jinja2";
@ -11,7 +11,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ aiohttp jinja2 ]; propagatedBuildInputs = [ aiohttp jinja2 ];
checkInputs = [ pytest pytest-aiohttp pytestcov ]; checkInputs = [ pytest pytest-aiohttp pytest-cov ];
checkPhase = '' checkPhase = ''
pytest -W ignore::DeprecationWarning pytest -W ignore::DeprecationWarning

View file

@ -1,5 +1,5 @@
{ lib, fetchpatch, buildPythonPackage, fetchPypi { lib, fetchpatch, buildPythonPackage, fetchPypi
, aiohttp, pytest, pytestcov, pytest-aiohttp , aiohttp, pytest, pytest-cov, pytest-aiohttp
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -13,7 +13,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ aiohttp ]; propagatedBuildInputs = [ aiohttp ];
checkInputs = [ pytest pytestcov pytest-aiohttp ]; checkInputs = [ pytest pytest-cov pytest-aiohttp ];
checkPhase = '' checkPhase = ''
python -m pytest python -m pytest
''; '';

View file

@ -3,7 +3,7 @@
, fetchFromGitHub , fetchFromGitHub
, pythonOlder , pythonOlder
, pytestCheckHook , pytestCheckHook
, pytestcov , pytest-cov
, pytest-asyncio , pytest-asyncio
}: }:
@ -19,7 +19,7 @@ buildPythonPackage rec {
sha256 = "1r3x9qwl08yscmzvhafc6gsmq84lr17s6p7a1qxr49cmdvjzsc13"; sha256 = "1r3x9qwl08yscmzvhafc6gsmq84lr17s6p7a1qxr49cmdvjzsc13";
}; };
checkInputs = [ pytestCheckHook pytestcov pytest-asyncio ]; checkInputs = [ pytestCheckHook pytest-cov pytest-asyncio ];
meta = with lib; { meta = with lib; {
description = "Generator-based operators for asynchronous iteration"; description = "Generator-based operators for asynchronous iteration";

View file

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi { lib, buildPythonPackage, fetchPypi
, pytest, pytestcov, mock, coverage, setuptools , pytest, pytest-cov, mock, coverage, setuptools
, Mako, sqlalchemy, python-editor, python-dateutil , Mako, sqlalchemy, python-editor, python-dateutil
}: }:
@ -12,7 +12,7 @@ buildPythonPackage rec {
sha256 = "a21fedebb3fb8f6bbbba51a11114f08c78709377051384c9c5ead5705ee93a51"; sha256 = "a21fedebb3fb8f6bbbba51a11114f08c78709377051384c9c5ead5705ee93a51";
}; };
buildInputs = [ pytest pytestcov mock coverage ]; buildInputs = [ pytest pytest-cov mock coverage ];
propagatedBuildInputs = [ Mako sqlalchemy python-editor python-dateutil setuptools ]; propagatedBuildInputs = [ Mako sqlalchemy python-editor python-dateutil setuptools ];
# no traditional test suite # no traditional test suite

View file

@ -1,6 +1,6 @@
{ lib, buildPythonPackage, fetchPypi, installShellFiles { lib, buildPythonPackage, fetchPypi, installShellFiles
, Babel, requests, requests_oauthlib, six, click, markdown, pyyaml, cryptography , Babel, requests, requests_oauthlib, six, click, markdown, pyyaml, cryptography
, pytestrunner, coverage, flake8, mock, pytestCheckHook, pytestcov, tox, gntp, sleekxmpp , pytest-runner, coverage, flake8, mock, pytestCheckHook, pytest-cov, tox, gntp, sleekxmpp
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -19,7 +19,7 @@ buildPythonPackage rec {
]; ];
checkInputs = [ checkInputs = [
pytestrunner coverage flake8 mock pytestCheckHook pytestcov tox gntp sleekxmpp pytest-runner coverage flake8 mock pytestCheckHook pytest-cov tox gntp sleekxmpp
]; ];
disabledTests = [ "test_apprise_cli_nux_env" ]; disabledTests = [ "test_apprise_cli_nux_env" ];

View file

@ -3,7 +3,7 @@
, importlib-metadata , importlib-metadata
, pexpect , pexpect
, prettytable , prettytable
, requests_toolbelt , requests-toolbelt
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "argcomplete"; pname = "argcomplete";
@ -24,7 +24,7 @@ buildPythonPackage rec {
importlib-metadata importlib-metadata
pexpect pexpect
prettytable prettytable
requests_toolbelt requests-toolbelt
]; ];
pythonImportsCheck = [ "argcomplete" ]; pythonImportsCheck = [ "argcomplete" ];

View file

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder { lib, buildPythonPackage, fetchFromGitHub, pythonOlder
, aria2, poetry, pytest, pytestcov, 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 pytestcov 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,

View file

@ -2,7 +2,7 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, glibcLocales , glibcLocales
, pytestrunner , pytest-runner
, pytestCheckHook , pytestCheckHook
}: }:
@ -19,7 +19,7 @@ buildPythonPackage rec {
LC_ALL = "en_US.UTF-8"; LC_ALL = "en_US.UTF-8";
buildInputs = [ glibcLocales ]; buildInputs = [ glibcLocales ];
nativeBuildInputs = [ pytestrunner ]; nativeBuildInputs = [ pytest-runner ];
checkInputs = [ pytestCheckHook ]; checkInputs = [ pytestCheckHook ];

View file

@ -1,6 +1,6 @@
{ lib, buildPythonPackage, fetchPypi, isPy27 { lib, buildPythonPackage, fetchPypi, isPy27
, nose, chai, simplejson, backports_functools_lru_cache , nose, chai, simplejson, backports_functools_lru_cache
, python-dateutil, pytz, pytest-mock, sphinx, dateparser, pytestcov , python-dateutil, pytz, pytest-mock, sphinx, dateparser, pytest-cov
, pytestCheckHook , pytestCheckHook
}: }:
@ -19,7 +19,7 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
dateparser dateparser
pytestCheckHook pytestCheckHook
pytestcov pytest-cov
pytest-mock pytest-mock
pytz pytz
simplejson simplejson

View file

@ -1,6 +1,6 @@
{ lib, isPy3k, pythonOlder, fetchPypi, buildPythonPackage { lib, isPy3k, pythonOlder, fetchPypi, buildPythonPackage
, pytest , pytest
, pytestcov , pytest-cov
, sybil , sybil
, typing-extensions , typing-extensions
}: }:
@ -20,7 +20,7 @@ buildPythonPackage rec {
]; ];
checkInputs = [ checkInputs = [
pytest pytestcov sybil pytest pytest-cov sybil
]; ];
checkPhase = '' checkPhase = ''

View file

@ -2,7 +2,7 @@
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, numpy , numpy
, pytestrunner , pytest-runner
, pytestCheckHook , pytestCheckHook
}: }:
@ -17,7 +17,7 @@ buildPythonPackage rec {
sha256 = "039pxzgll2yz8xpr6bw788ymvgvqgna5kgl9m6d9mzi4yhbjsjpx"; sha256 = "039pxzgll2yz8xpr6bw788ymvgvqgna5kgl9m6d9mzi4yhbjsjpx";
}; };
nativeBuildInputs = [ pytestrunner ]; nativeBuildInputs = [ pytest-runner ];
propagatedBuildInputs = [ numpy ]; propagatedBuildInputs = [ numpy ];

View file

@ -6,7 +6,7 @@
, pytest , pytest
, pytest-black , pytest-black
, pytest-flake8 , pytest-flake8
, pytestcov , pytest-cov
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -20,7 +20,7 @@ buildPythonPackage rec {
nativeBuildInputs = [ setuptools-scm ]; nativeBuildInputs = [ setuptools-scm ];
checkInputs = [ pytest pytest-flake8 pytest-black pytestcov ]; checkInputs = [ pytest pytest-flake8 pytest-black pytest-cov ];
# ironically, they fail a linting test, and pytest.ini forces that test suite # ironically, they fail a linting test, and pytest.ini forces that test suite
checkPhase = '' checkPhase = ''
rm backports/functools_lru_cache.py rm backports/functools_lru_cache.py

View file

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi, fetchFromGitHub { lib, buildPythonPackage, fetchPypi, fetchFromGitHub
, wheel, pytestCheckHook, pytestrunner, pythonAtLeast }: , wheel, pytestCheckHook, pytest-runner, pythonAtLeast }:
buildPythonPackage rec { buildPythonPackage rec {
version = "0.18.4"; version = "0.18.4";
@ -16,7 +16,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ wheel ]; propagatedBuildInputs = [ wheel ];
# Using pytes instead of setuptools check hook allows disabling specific tests # Using pytes instead of setuptools check hook allows disabling specific tests
checkInputs = [ pytestCheckHook pytestrunner ]; checkInputs = [ pytestCheckHook pytest-runner ];
dontUseSetuptoolsCheck = true; dontUseSetuptoolsCheck = true;
disabledTests = [ disabledTests = [
# Test fails with a an error: AssertionError: assert 30 == 31 # Test fails with a an error: AssertionError: assert 30 == 31

View file

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi { lib, buildPythonPackage, fetchPypi
, betamax, requests_toolbelt }: , betamax, requests-toolbelt }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "betamax-matchers"; pname = "betamax-matchers";
@ -10,7 +10,7 @@ buildPythonPackage rec {
sha256 = "07qpwjyq2i2aqhz5iwghnj4pqr2ys5n45v1vmpcfx9r5mhwrsq43"; sha256 = "07qpwjyq2i2aqhz5iwghnj4pqr2ys5n45v1vmpcfx9r5mhwrsq43";
}; };
buildInputs = [ betamax requests_toolbelt ]; buildInputs = [ betamax requests-toolbelt ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/sigmavirus24/betamax_matchers"; homepage = "https://github.com/sigmavirus24/betamax_matchers";

View file

@ -2,7 +2,7 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pytest , pytest
, pytestrunner , pytest-runner
, six , six
, html5lib , html5lib
, setuptools , setuptools
@ -18,7 +18,7 @@ buildPythonPackage rec {
sha256 = "sha256-mLMXBznl6D3Z3BljPwdHJ62EjL7bYCZwjIrC07aXpDM="; sha256 = "sha256-mLMXBznl6D3Z3BljPwdHJ62EjL7bYCZwjIrC07aXpDM=";
}; };
checkInputs = [ pytest pytestrunner ]; checkInputs = [ pytest pytest-runner ];
propagatedBuildInputs = [ packaging six html5lib setuptools ]; propagatedBuildInputs = [ packaging six html5lib setuptools ];
# Disable network tests # Disable network tests

View file

@ -8,7 +8,7 @@
, makeFontsConf , makeFontsConf
, freefont_ttf , freefont_ttf
, pytest , pytest
, pytestrunner , pytest-runner
, glibcLocales , glibcLocales
, cairo , cairo
, cffi , cffi

View file

@ -8,7 +8,7 @@
, makeFontsConf , makeFontsConf
, freefont_ttf , freefont_ttf
, pytest , pytest
, pytestrunner , pytest-runner
, glibcLocales , glibcLocales
, cairo , cairo
, cffi , cffi

View file

@ -23,7 +23,7 @@ buildPythonPackage rec {
fontDirectories = [ freefont_ttf ]; fontDirectories = [ freefont_ttf ];
}; };
checkInputs = [ numpy pytest pytestrunner glibcLocales ]; checkInputs = [ numpy pytest pytest-runner glibcLocales ];
propagatedBuildInputs = [ cairo cffi ] ++ lib.optional withXcffib xcffib; propagatedBuildInputs = [ cairo cffi ] ++ lib.optional withXcffib xcffib;
checkPhase = '' checkPhase = ''

View file

@ -1,4 +1,4 @@
{ stdenv, lib, buildPythonPackage, fetchFromGitHub, humanfriendly, pytestCheckHook, pytestcov }: { stdenv, lib, buildPythonPackage, fetchFromGitHub, humanfriendly, pytestCheckHook, pytest-cov }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "capturer"; pname = "capturer";

View file

@ -2,9 +2,9 @@
, buildPythonPackage , buildPythonPackage
, python, runCommand , python, runCommand
, 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 {
@ -21,7 +21,7 @@ buildPythonPackage rec {
sourceRoot = "source/${pname}"; sourceRoot = "source/${pname}";
propagatedBuildInputs = [ propagatedBuildInputs = [
ConfigArgParse configargparse
acme acme
configobj configobj
cryptography cryptography
@ -42,7 +42,7 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
python-dateutil python-dateutil
pytestCheckHook pytestCheckHook
pytest_xdist pytest-xdist
]; ];
pytestFlagsArray = [ pytestFlagsArray = [

View file

@ -5,8 +5,8 @@
# pythonPackages # pythonPackages
, click , click
, pytest , pytest
, pytestcov , pytest-cov
, pytestrunner , pytest-runner
, pyyaml , pyyaml
, six , six
}: }:
@ -30,8 +30,8 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
pytest pytest
pytestcov pytest-cov
pytestrunner pytest-runner
]; ];
checkPhase = '' checkPhase = ''

View file

@ -2,7 +2,7 @@
, fetchPypi , fetchPypi
, pytestCheckHook , pytestCheckHook
, coveralls , coveralls
, pytestcov , pytest-cov
, cython , cython
, numpy , numpy
, python , python
@ -20,7 +20,7 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
pytestCheckHook pytestCheckHook
coveralls coveralls
pytestcov pytest-cov
]; ];
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi, fetchpatch { lib, buildPythonPackage, fetchPypi, fetchpatch
, pytest, pytestrunner, hypothesis }: , pytest, pytest-runner, hypothesis }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "chardet"; pname = "chardet";
@ -18,7 +18,7 @@ buildPythonPackage rec {
}) })
]; ];
checkInputs = [ pytest pytestrunner hypothesis ]; checkInputs = [ pytest pytest-runner hypothesis ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/chardet/chardet"; homepage = "https://github.com/chardet/chardet";

View file

@ -9,7 +9,7 @@
, portend , portend
, pyopenssl , pyopenssl
, pytestCheckHook , pytestCheckHook
, pytestcov , pytest-cov
, pytest-mock , pytest-mock
, requests , requests
, requests-toolbelt , requests-toolbelt
@ -46,7 +46,7 @@ buildPythonPackage rec {
portend portend
pyopenssl pyopenssl
pytestCheckHook pytestCheckHook
pytestcov pytest-cov
pytest-mock pytest-mock
requests requests
requests-toolbelt requests-toolbelt

View file

@ -1,7 +1,7 @@
{ lib, stdenv, buildPythonPackage, fetchPypi { lib, stdenv, buildPythonPackage, fetchPypi
, setuptools-scm , setuptools-scm
, cheroot, contextlib2, portend, routes, six, zc_lockfile , cheroot, contextlib2, portend, routes, six, zc_lockfile
, backports_unittest-mock, objgraph, pathpy, pytest, pytestcov, backports_functools_lru_cache, requests_toolbelt , backports_unittest-mock, objgraph, pathpy, pytest, pytest-cov, backports_functools_lru_cache, requests-toolbelt
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -21,7 +21,7 @@ buildPythonPackage rec {
nativeBuildInputs = [ setuptools-scm ]; nativeBuildInputs = [ setuptools-scm ];
checkInputs = [ checkInputs = [
backports_unittest-mock objgraph pathpy pytest pytestcov backports_functools_lru_cache requests_toolbelt backports_unittest-mock objgraph pathpy pytest pytest-cov backports_functools_lru_cache requests-toolbelt
]; ];
checkPhase = '' checkPhase = ''

View file

@ -2,7 +2,7 @@
, setuptools-scm , setuptools-scm
, cheroot, portend, more-itertools, zc_lockfile, routes , cheroot, portend, more-itertools, zc_lockfile, routes
, jaraco_collections , jaraco_collections
, objgraph, pytest, pytestcov, pathpy, requests_toolbelt, pytest-services , objgraph, pytest, pytest-cov, pathpy, requests-toolbelt, pytest-services
, fetchpatch , fetchpatch
}: }:
@ -47,7 +47,7 @@ buildPythonPackage rec {
]; ];
checkInputs = [ checkInputs = [
objgraph pytest pytestcov pathpy requests_toolbelt pytest-services objgraph pytest pytest-cov pathpy requests-toolbelt pytest-services
]; ];
# Keyboard interrupt ends test suite run # Keyboard interrupt ends test suite run

View file

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi, isPy27 { lib, buildPythonPackage, fetchPypi, isPy27
, pytest, pytestrunner, pytestCheckHook }: , pytest, pytest-runner, pytestCheckHook }:
buildPythonPackage rec { buildPythonPackage rec {
version = "1.0.0"; version = "1.0.0";
@ -12,7 +12,7 @@ buildPythonPackage rec {
sha256 = "12ax07n81vxbyayhwzi1q6x7gfmwmvrvwm1n4ii6qa6fqlp9pzj7"; sha256 = "12ax07n81vxbyayhwzi1q6x7gfmwmvrvwm1n4ii6qa6fqlp9pzj7";
}; };
nativeBuildInputs = [ pytestrunner ]; # pytest-runner included in setup-requires nativeBuildInputs = [ pytest-runner ]; # pytest-runner included in setup-requires
checkInputs = [ pytest pytestCheckHook ]; checkInputs = [ pytest pytestCheckHook ];
pythonImportsCheck = [ "ci" ]; pythonImportsCheck = [ "ci" ];

View file

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchFromGitHub, isPy36, flake8, click, pyyaml, six, pytestCheckHook, pytestcov }: { lib, buildPythonPackage, fetchFromGitHub, isPy36, flake8, click, pyyaml, six, pytestCheckHook, pytest-cov }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "clickclick"; pname = "clickclick";
@ -11,7 +11,7 @@ buildPythonPackage rec {
sha256 = "1rij9ws9nhsmagiy1vclzliiqfkxi006rf65qvrw1k3sm2s8p5g0"; sha256 = "1rij9ws9nhsmagiy1vclzliiqfkxi006rf65qvrw1k3sm2s8p5g0";
}; };
checkInputs = [ pytestCheckHook pytestcov ]; checkInputs = [ pytestCheckHook pytest-cov ];
propagatedBuildInputs = [ flake8 click pyyaml six ]; propagatedBuildInputs = [ flake8 click pyyaml six ];
# test_cli asserts on exact quoting style of output # test_cli asserts on exact quoting style of output

View file

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi, isPyPy { lib, buildPythonPackage, fetchPypi, isPyPy
, pytest, pytestcov, pytest-mock, freezegun , pytest, pytest-cov, pytest-mock, freezegun
, jinja2, future, binaryornot, click, whichcraft, poyo, jinja2_time, requests , jinja2, future, binaryornot, click, whichcraft, poyo, jinja2_time, requests
, python-slugify }: , python-slugify }:
@ -15,7 +15,7 @@ buildPythonPackage rec {
sha256 = "sha256-a5pNcoguJDvgd6c5fQ8fdv5mzz35HzEV27UzDiFPpFc="; sha256 = "sha256-a5pNcoguJDvgd6c5fQ8fdv5mzz35HzEV27UzDiFPpFc=";
}; };
checkInputs = [ pytest pytestcov pytest-mock freezegun ]; checkInputs = [ pytest pytest-cov pytest-mock freezegun ];
propagatedBuildInputs = [ propagatedBuildInputs = [
jinja2 future binaryornot click whichcraft poyo jinja2_time requests python-slugify jinja2 future binaryornot click whichcraft poyo jinja2_time requests python-slugify
]; ];

View file

@ -4,7 +4,7 @@
, isPy27 , isPy27
, mock , mock
, pytest , pytest
, pytestrunner , pytest-runner
, sh , sh
, coverage , coverage
, docopt , docopt
@ -33,7 +33,7 @@ buildPythonPackage rec {
]; ];
buildInputs = [ buildInputs = [
pytestrunner pytest-runner
]; ];
postPatch = '' postPatch = ''

View file

@ -4,8 +4,8 @@
, fetchPypi , fetchPypi
, tinycss2 , tinycss2
, pytest , pytest
, pytestrunner , pytest-runner
, pytestcov , pytest-cov
, pytest-flake8 , pytest-flake8
, pytest-isort , pytest-isort
}: }:
@ -22,7 +22,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ tinycss2 ]; propagatedBuildInputs = [ tinycss2 ];
checkInputs = [ pytest pytestrunner pytestcov pytest-flake8 pytest-isort ]; checkInputs = [ pytest pytest-runner pytest-cov pytest-flake8 pytest-isort ];
meta = with lib; { meta = with lib; {
description = "CSS selectors for Python ElementTree"; description = "CSS selectors for Python ElementTree";

View file

@ -1,5 +1,5 @@
{ lib, stdenv, buildPythonPackage, isPy3k, fetchFromGitHub { lib, stdenv, buildPythonPackage, isPy3k, fetchFromGitHub
, asgiref, autobahn, twisted, pytestrunner , asgiref, autobahn, twisted, pytest-runner
, hypothesis, pytest, pytest-asyncio, service-identity, pyopenssl , hypothesis, pytest, pytest-asyncio, service-identity, pyopenssl
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -15,7 +15,7 @@ buildPythonPackage rec {
sha256 = "sha256-KWkMV4L7bA2Eo/u4GGif6lmDNrZAzvYyDiyzyWt9LeI="; sha256 = "sha256-KWkMV4L7bA2Eo/u4GGif6lmDNrZAzvYyDiyzyWt9LeI=";
}; };
nativeBuildInputs = [ pytestrunner ]; nativeBuildInputs = [ pytest-runner ];
propagatedBuildInputs = [ asgiref autobahn twisted service-identity pyopenssl ]; propagatedBuildInputs = [ asgiref autobahn twisted service-identity pyopenssl ];

View file

@ -2,7 +2,7 @@
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, python , python
, dbus, dbus-python, pytest, pytestcov, pytest-asyncio, pytest-timeout , dbus, dbus-python, pytest, pytest-cov, pytest-asyncio, pytest-timeout
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -20,7 +20,7 @@ buildPythonPackage rec {
dbus dbus
dbus-python dbus-python
pytest pytest
pytestcov pytest-cov
pytest-asyncio pytest-asyncio
pytest-timeout pytest-timeout
]; ];

View file

@ -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) [

View file

@ -1,6 +1,6 @@
{ lib, buildPythonPackage, fetchPypi, pythonOlder { lib, buildPythonPackage, fetchPypi, pythonOlder
, fonttools, setuptools-scm , fonttools, setuptools-scm
, pytest, pytestrunner, lxml, fs, unicodedata2, fontpens , pytest, pytest-runner, lxml, fs, unicodedata2, fontpens
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -25,7 +25,7 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
pytest pytest
pytestrunner pytest-runner
lxml lxml
fs fs
unicodedata2 unicodedata2

View file

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi { lib, buildPythonPackage, fetchPypi
, pytestrunner , pytest-runner
, setuptools , setuptools
, coverage, pytest , coverage, pytest
}: }:
@ -13,7 +13,7 @@ buildPythonPackage rec {
sha256 = "0klb0ysybzlh2wihvir82hgq62v0jjmlcqklwajyms7c0p529yby"; sha256 = "0klb0ysybzlh2wihvir82hgq62v0jjmlcqklwajyms7c0p529yby";
}; };
nativeBuildInputs = [ pytestrunner ]; nativeBuildInputs = [ pytest-runner ];
propagatedBuildInputs = [ setuptools ]; propagatedBuildInputs = [ setuptools ];

View file

@ -3,8 +3,8 @@
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, pytestCheckHook , pytestCheckHook
, pytestcov , pytest-cov
, pytest_xdist , pytest-xdist
, pytest-django , pytest-django
, mock , mock
}: }:
@ -22,8 +22,8 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
pytestCheckHook pytestCheckHook
pytestcov pytest-cov
pytest_xdist pytest-xdist
pytest-django pytest-django
mock mock
]; ];

View file

@ -5,7 +5,7 @@
, mock , mock
, pygments , pygments
, pytest , pytest
, pytestcov , pytest-cov
, pytest-django , pytest-django
, python-dateutil , python-dateutil
, shortuuid , shortuuid
@ -40,7 +40,7 @@ buildPythonPackage rec {
mock mock
pygments # not explicitly declared in setup.py, but some tests require it pygments # not explicitly declared in setup.py, but some tests require it
pytest pytest
pytestcov pytest-cov
pytest-django pytest-django
python-dateutil python-dateutil
shortuuid shortuuid

View file

@ -1,6 +1,6 @@
{ lib, buildPythonPackage, fetchPypi { lib, buildPythonPackage, fetchPypi
, django_environ, mock, django , django_environ, mock, django
, pytest, pytestrunner, pytest-django , pytest, pytest-runner, pytest-django
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "django-guardian"; pname = "django-guardian";
@ -11,7 +11,7 @@ buildPythonPackage rec {
sha256 = "c58a68ae76922d33e6bdc0e69af1892097838de56e93e78a8361090bcd9f89a0"; sha256 = "c58a68ae76922d33e6bdc0e69af1892097838de56e93e78a8361090bcd9f89a0";
}; };
checkInputs = [ pytest pytestrunner pytest-django django_environ mock ]; checkInputs = [ pytest pytest-runner pytest-django django_environ mock ];
propagatedBuildInputs = [ django ]; propagatedBuildInputs = [ django ];
meta = with lib; { meta = with lib; {

View file

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, six, pytestcov, pytest }: { lib, buildPythonPackage, fetchPypi, six, pytest-cov, pytest }:
buildPythonPackage rec { buildPythonPackage rec {
version = "1.2.0"; version = "1.2.0";
@ -15,7 +15,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ six ]; propagatedBuildInputs = [ six ];
checkInputs = [ pytestcov pytest ]; checkInputs = [ pytest-cov pytest ];
meta = with lib; { meta = with lib; {
description = "Python library for parsing Dockerfile files"; description = "Python library for parsing Dockerfile files";

View file

@ -3,7 +3,7 @@
, fetchPypi , fetchPypi
, pythonOlder , pythonOlder
, pytest , pytest
, pytestcov , pytest-cov
, mock , mock
, Mako , Mako
, decorator , decorator
@ -33,7 +33,7 @@ buildPythonPackage rec {
pytest pytest
''; '';
checkInputs = [ pytest pytestcov mock Mako ]; checkInputs = [ pytest pytest-cov mock Mako ];
propagatedBuildInputs = [ decorator stevedore ]; propagatedBuildInputs = [ decorator stevedore ];

View file

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi { lib, buildPythonPackage, fetchPypi
, pytestrunner, requests, urllib3, mock, setuptools, stone }: , pytest-runner, requests, urllib3, mock, setuptools, stone }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "dropbox"; pname = "dropbox";
@ -18,7 +18,7 @@ buildPythonPackage rec {
# Set DROPBOX_TOKEN environment variable to a valid token. # Set DROPBOX_TOKEN environment variable to a valid token.
doCheck = false; doCheck = false;
nativeBuildInputs = [ pytestrunner ]; nativeBuildInputs = [ pytest-runner ];
propagatedBuildInputs = [ requests urllib3 mock setuptools stone ]; propagatedBuildInputs = [ requests urllib3 mock setuptools stone ];
meta = with lib; { meta = with lib; {

View file

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi, pytest, pytestcov, mock { lib, buildPythonPackage, fetchPypi, pytest, pytest-cov, mock
, pytest_xdist, covCore, glibcLocales }: , pytest-xdist, covCore, glibcLocales }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "dyn"; pname = "dyn";
@ -14,9 +14,9 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
pytest pytest
pytestcov 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.

View file

@ -5,7 +5,7 @@
, net-snmp , net-snmp
, openssl , openssl
, pytest , pytest
, pytestcov , pytest-cov
, pytest-flake8 , pytest-flake8
, pytest-sugar , pytest-sugar
, termcolor , termcolor
@ -27,7 +27,7 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
pytest pytest
pytestcov pytest-cov
pytest-flake8 pytest-flake8
pytest-sugar pytest-sugar
termcolor termcolor

View file

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchFromGitHub, pytestrunner, pytest, scipy, pytestCheckHook }: { lib, buildPythonPackage, fetchFromGitHub, pytest-runner, pytest, scipy, pytestCheckHook }:
buildPythonPackage { buildPythonPackage {
pname = "fastpair"; pname = "fastpair";
@ -11,7 +11,7 @@ buildPythonPackage {
sha256 = "1l8zgr8awg27lhlkpa2dsvghrb7b12jl1bkgpzg5q7pg8nizl9mx"; sha256 = "1l8zgr8awg27lhlkpa2dsvghrb7b12jl1bkgpzg5q7pg8nizl9mx";
}; };
nativeBuildInputs = [ pytestrunner ]; nativeBuildInputs = [ pytest-runner ];
checkInputs = [ pytest pytestCheckHook ]; checkInputs = [ pytest pytestCheckHook ];

View file

@ -5,7 +5,7 @@
, numba , numba
, numpy , numpy
, pandas , pandas
, pytestrunner , pytest-runner
, cramjam , cramjam
, fsspec , fsspec
, thrift , thrift
@ -23,7 +23,7 @@ buildPythonPackage rec {
hash = "sha256-wSJ6PqW7c8DJCsGuPhXaVGM2s/1dZhLjG4C0JWPcjhY="; hash = "sha256-wSJ6PqW7c8DJCsGuPhXaVGM2s/1dZhLjG4C0JWPcjhY=";
}; };
nativeBuildInputs = [ pytestrunner ]; nativeBuildInputs = [ pytest-runner ];
propagatedBuildInputs = [ cramjam fsspec numba numpy pandas thrift ]; propagatedBuildInputs = [ cramjam fsspec numba numpy pandas thrift ];
checkInputs = [ pytestCheckHook ]; checkInputs = [ pytestCheckHook ];

View file

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi, requests, beautifulsoup4, pytest, requests-mock, { lib, buildPythonPackage, fetchPypi, requests, beautifulsoup4, pytest, requests-mock,
pytestrunner }: pytest-runner }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "favicon"; pname = "favicon";
@ -10,7 +10,7 @@ buildPythonPackage rec {
sha256 = "6d6b5a78de2a0d0084589f687f384b2ecd6a6527093fec564403b1a30605d7a8"; sha256 = "6d6b5a78de2a0d0084589f687f384b2ecd6a6527093fec564403b1a30605d7a8";
}; };
buildInputs = [ pytestrunner ]; buildInputs = [ pytest-runner ];
checkInputs = [ pytest requests-mock ]; checkInputs = [ pytest requests-mock ];
propagatedBuildInputs = [ requests beautifulsoup4 ]; propagatedBuildInputs = [ requests beautifulsoup4 ];

View file

@ -5,7 +5,7 @@
, pytestCheckHook , pytestCheckHook
, ffmpeg , ffmpeg
, future , future
, pytestrunner , pytest-runner
, pytest-mock , pytest-mock
}: }:
@ -27,7 +27,7 @@ buildPythonPackage rec {
}) })
]; ];
buildInputs = [ pytestrunner ]; buildInputs = [ pytest-runner ];
propagatedBuildInputs = [ future ]; propagatedBuildInputs = [ future ];
checkInputs = [ pytestCheckHook pytest-mock ]; checkInputs = [ pytestCheckHook pytest-mock ];

View file

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi, pythonOlder { lib, buildPythonPackage, fetchPypi, pythonOlder
, mock, pytest, pytestrunner , mock, pytest, pytest-runner
, configparser, enum34, mccabe, pycodestyle, pyflakes, functools32, typing ? null, importlib-metadata , configparser, enum34, mccabe, pycodestyle, pyflakes, functools32, typing ? null, importlib-metadata
}: }:
@ -12,7 +12,7 @@ buildPythonPackage rec {
sha256 = "07528381786f2a6237b061f6e96610a4167b226cb926e2aa2b6b1d78057c576b"; sha256 = "07528381786f2a6237b061f6e96610a4167b226cb926e2aa2b6b1d78057c576b";
}; };
checkInputs = [ pytest mock pytestrunner ]; checkInputs = [ pytest mock pytest-runner ];
propagatedBuildInputs = [ pyflakes pycodestyle mccabe ] propagatedBuildInputs = [ pyflakes pycodestyle mccabe ]
++ lib.optionals (pythonOlder "3.2") [ configparser functools32 ] ++ lib.optionals (pythonOlder "3.2") [ configparser functools32 ]
++ lib.optionals (pythonOlder "3.4") [ enum34 ] ++ lib.optionals (pythonOlder "3.4") [ enum34 ]

View file

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, isPy27, flask, pytestCheckHook, pytestcov, pytest-xprocess, pytestcache }: { lib, buildPythonPackage, fetchPypi, isPy27, flask, pytestCheckHook, pytest-cov, pytest-xprocess, pytestcache }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "Flask-Caching"; pname = "Flask-Caching";
@ -12,7 +12,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ flask ]; propagatedBuildInputs = [ flask ];
checkInputs = [ pytestCheckHook pytestcov pytest-xprocess pytestcache ]; checkInputs = [ pytestCheckHook pytest-cov pytest-xprocess pytestcache ];
disabledTests = [ disabledTests = [
# backend_cache relies on pytest-cache, which is a stale package from 2013 # backend_cache relies on pytest-cache, which is a stale package from 2013

View file

@ -2,11 +2,11 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, requests , requests
, requests_toolbelt , requests-toolbelt
, requests_oauthlib , requests_oauthlib
, pytest , pytest
, pytestrunner , pytest-runner
, pytestcov , pytest-cov
, responses , responses
}: }:
@ -19,9 +19,9 @@ buildPythonPackage rec {
sha256 = "03g2z21k6nhxgwysjrgnxj9m1yg25mnnkr10gpyfhfkd9w77pcpz"; sha256 = "03g2z21k6nhxgwysjrgnxj9m1yg25mnnkr10gpyfhfkd9w77pcpz";
}; };
propagatedBuildInputs = [ requests requests_toolbelt requests_oauthlib ]; propagatedBuildInputs = [ requests requests-toolbelt requests_oauthlib ];
checkInputs = [ pytest pytestrunner pytestcov responses ]; checkInputs = [ pytest pytest-runner pytest-cov responses ];
doCheck = false; # Otherwise: doCheck = false; # Otherwise:
# ========================= no tests ran in 0.01 seconds ========================= # ========================= no tests ran in 0.01 seconds =========================
# builder for '/nix/store/c8a58v6aa18zci08q2l53s12ywn8jqhq-python3.6-flickrapi-2.4.0.drv' failed with exit code 5 # builder for '/nix/store/c8a58v6aa18zci08q2l53s12ywn8jqhq-python3.6-flickrapi-2.4.0.drv' failed with exit code 5

View file

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook { lib, buildPythonPackage, fetchPypi, pytestCheckHook
, atpublic, psutil, pytestcov, sybil , atpublic, psutil, pytest-cov, sybil
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -12,7 +12,7 @@ buildPythonPackage rec {
}; };
propagatedBuildInputs = [ atpublic psutil ]; propagatedBuildInputs = [ atpublic psutil ];
checkInputs = [ pytestCheckHook pytestcov sybil ]; checkInputs = [ pytestCheckHook pytest-cov sybil ];
# disable code coverage checks for all OS. Upstream does not enforce these # disable code coverage checks for all OS. Upstream does not enforce these
# checks on Darwin, and code coverage cannot be improved downstream nor is it # checks on Darwin, and code coverage cannot be improved downstream nor is it

View file

@ -1,6 +1,6 @@
{ lib, buildPythonPackage, fetchPypi, isPy27 { lib, buildPythonPackage, fetchPypi, isPy27
, fonttools, setuptools-scm , fonttools, setuptools-scm
, pytest, pytestrunner , pytest, pytest-runner
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -17,7 +17,7 @@ buildPythonPackage rec {
nativeBuildInputs = [ setuptools-scm ]; nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ fonttools ]; propagatedBuildInputs = [ fonttools ];
checkInputs = [ pytest pytestrunner ]; checkInputs = [ pytest pytest-runner ];
meta = with lib; { meta = with lib; {
description = "A collection of objects that implement fast font, glyph, etc. math"; description = "A collection of objects that implement fast font, glyph, etc. math";

View file

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k { lib, buildPythonPackage, fetchPypi, isPy3k
, cached-property, frozendict, pystache, pyyaml, pytest, pytestrunner , cached-property, frozendict, pystache, pyyaml, pytest, pytest-runner
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -12,7 +12,7 @@ buildPythonPackage rec {
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
pytestrunner pytest-runner
cached-property cached-property
frozendict frozendict
pystache pystache

View file

@ -3,7 +3,7 @@
, fetchPypi , fetchPypi
, pythonOlder , pythonOlder
, setuptools , setuptools
, pytestrunner , pytest-runner
, pytest , pytest
, pytest-asyncio , pytest-asyncio
, twisted , twisted
@ -25,7 +25,7 @@ buildPythonPackage rec {
sha256 = "3efbd6998600254ec7a2869318bd3ffde38edc3a0d37be0c14bc46b45947b682"; sha256 = "3efbd6998600254ec7a2869318bd3ffde38edc3a0d37be0c14bc46b45947b682";
}; };
nativeBuildInputs = [ setuptools pytestrunner ]; nativeBuildInputs = [ setuptools pytest-runner ];
checkInputs = [ pytest pytest-asyncio twisted treq tornado aiohttp ]; checkInputs = [ pytest pytest-asyncio twisted treq tornado aiohttp ];
propagatedBuildInputs = [ propagatedBuildInputs = [
uritemplate uritemplate

View file

@ -15,7 +15,7 @@
, pyopenssl , pyopenssl
, pyyaml , pyyaml
, requests , requests
, requests_toolbelt , requests-toolbelt
, terminaltables , terminaltables
, websocket-client , websocket-client
}: }:
@ -53,7 +53,7 @@ buildPythonPackage rec {
pyopenssl pyopenssl
pyyaml pyyaml
requests requests
requests_toolbelt requests-toolbelt
terminaltables terminaltables
websocket-client websocket-client
]; ];

View file

@ -4,7 +4,7 @@
, pyparsing , pyparsing
, future , future
, pytest , pytest
, pytestrunner , pytest-runner
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -24,7 +24,7 @@ buildPythonPackage rec {
future future
]; ];
checkInputs = [ pytest pytestrunner ]; checkInputs = [ pytest pytest-runner ];
patches = [ ./no-setup-requires-pytestrunner.patch ]; patches = [ ./no-setup-requires-pytestrunner.patch ];

View file

@ -3,7 +3,7 @@
, isPy27 , isPy27
, fetchFromGitHub , fetchFromGitHub
, pytestCheckHook , pytestCheckHook
, pytestcov , pytest-cov
, hyppo , hyppo
, matplotlib , matplotlib
, networkx , networkx
@ -36,7 +36,7 @@ buildPythonPackage rec {
seaborn seaborn
]; ];
checkInputs = [ pytestCheckHook pytestcov ]; checkInputs = [ pytestCheckHook pytest-cov ];
pytestFlagsArray = [ "tests" "--ignore=docs" "--ignore=tests/test_sklearn.py" ]; pytestFlagsArray = [ "tests" "--ignore=docs" "--ignore=tests/test_sklearn.py" ];
disabledTests = [ "gridplot_outputs" ]; disabledTests = [ "gridplot_outputs" ];

View file

@ -1,7 +1,7 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pytestrunner , pytest-runner
, python-dateutil , python-dateutil
, babelfish , babelfish
, rebulk , rebulk
@ -18,7 +18,7 @@ buildPythonPackage rec {
# Tests require more packages. # Tests require more packages.
doCheck = false; doCheck = false;
buildInputs = [ pytestrunner ]; buildInputs = [ pytest-runner ];
propagatedBuildInputs = [ propagatedBuildInputs = [
python-dateutil babelfish rebulk python-dateutil babelfish rebulk
]; ];

View file

@ -2,7 +2,7 @@
, coverage , coverage
, mock , mock
, pytest , pytest
, pytestcov , pytest-cov
, setuptools , setuptools
}: }:
@ -17,7 +17,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ setuptools ]; propagatedBuildInputs = [ setuptools ];
checkInputs = [ pytest mock pytestcov coverage ]; checkInputs = [ pytest mock pytest-cov coverage ];
prePatch = '' prePatch = ''
substituteInPlace requirements_test.txt --replace "==" ">=" \ substituteInPlace requirements_test.txt --replace "==" ">=" \

View file

@ -2,7 +2,7 @@
, coverage , coverage
, mock , mock
, pytest , pytest
, pytestcov , pytest-cov
, setuptools , setuptools
}: }:
@ -18,7 +18,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ setuptools ]; propagatedBuildInputs = [ setuptools ];
checkInputs = [ pytest mock pytestcov coverage ]; checkInputs = [ pytest mock pytest-cov coverage ];
prePatch = '' prePatch = ''
substituteInPlace requirements_test.txt --replace "==" ">=" \ substituteInPlace requirements_test.txt --replace "==" ">=" \

View file

@ -9,8 +9,8 @@
, pandas , pandas
, codecov , codecov
, pytest , pytest
, pytestcov , pytest-cov
, pytestrunner , pytest-runner
, coveralls , coveralls
, twine , twine
, check-manifest , check-manifest
@ -36,7 +36,7 @@ buildPythonPackage rec {
doCheck = false; # incompatible with latest astropy doCheck = false; # incompatible with latest astropy
checkInputs = [ checkInputs = [
pytest pytestcov pytestrunner coveralls scipy pandas astropy twine check-manifest codecov pytest pytest-cov pytest-runner coveralls scipy pandas astropy twine check-manifest codecov
]; ];
pythonImportsCheck = [ "hickle" ]; pythonImportsCheck = [ "hickle" ];

View file

@ -8,7 +8,7 @@
, pproxy , pproxy
, pytest-asyncio , pytest-asyncio
, pytestCheckHook , pytestCheckHook
, pytestcov , pytest-cov
, sniffio , sniffio
, trio , trio
, trustme , trustme
@ -38,7 +38,7 @@ buildPythonPackage rec {
pproxy pproxy
pytest-asyncio pytest-asyncio
pytestCheckHook pytestCheckHook
pytestcov pytest-cov
trio trio
trustme trustme
uvicorn uvicorn

View file

@ -11,7 +11,7 @@
, pytestCheckHook , pytestCheckHook
, pytest-asyncio , pytest-asyncio
, pytest-trio , pytest-trio
, pytestcov , pytest-cov
, trustme , trustme
, uvicorn , uvicorn
}: }:
@ -41,7 +41,7 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
pytest-asyncio pytest-asyncio
pytest-trio pytest-trio
pytestcov pytest-cov
trustme trustme
uvicorn uvicorn
]; ];

View file

@ -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 = ''

View file

@ -2,7 +2,7 @@
, buildPythonPackage , buildPythonPackage
, isPy27 , isPy27
, fetchFromGitHub , fetchFromGitHub
, pytestCheckHook , pytestcov , numba , pytestCheckHook , pytest-cov , numba
, numpy , numpy
, scikit-learn , scikit-learn
, scipy , scipy
@ -30,7 +30,7 @@ buildPythonPackage rec {
scipy scipy
]; ];
checkInputs = [ pytestCheckHook pytestcov matplotlib seaborn ]; checkInputs = [ pytestCheckHook pytest-cov matplotlib seaborn ];
disabledTestPaths = [ disabledTestPaths = [
"docs" "docs"
"benchmarks" "benchmarks"

View file

@ -5,7 +5,7 @@
, pyjwt , pyjwt
, pylint , pylint
, pytestCheckHook , pytestCheckHook
, pytestcov , pytest-cov
, python-dateutil , python-dateutil
, requests , requests
, responses , responses
@ -25,7 +25,7 @@ buildPythonPackage rec {
codecov codecov
pylint pylint
pytestCheckHook pytestCheckHook
pytestcov pytest-cov
responses responses
tox tox
]; ];

View file

@ -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.

View file

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchFromGitHub, pytestrunner, scikitimage }: { lib, buildPythonPackage, fetchFromGitHub, pytest-runner, scikitimage }:
buildPythonPackage { buildPythonPackage {
pname = "image-match"; pname = "image-match";
@ -11,7 +11,7 @@ buildPythonPackage {
sha256 = "0vlmpidmhkpgdzw2k03x5layhijcrjpmyfd93yv2ls77ihz00ix5"; sha256 = "0vlmpidmhkpgdzw2k03x5layhijcrjpmyfd93yv2ls77ihz00ix5";
}; };
buildInputs = [ pytestrunner ]; buildInputs = [ pytest-runner ];
propagatedBuildInputs = [ propagatedBuildInputs = [
scikitimage scikitimage

View file

@ -3,7 +3,7 @@
, six , six
, hypothesis , hypothesis
, pytest , pytest
, pytestrunner , pytest-runner
, pytestCheckHook , pytestCheckHook
}: }:
@ -18,7 +18,7 @@ buildPythonPackage rec {
sha256 = "114cyff00j9r7qm2ld4w1a4kklr5gx570vk67p56gpr2553dkmly"; sha256 = "114cyff00j9r7qm2ld4w1a4kklr5gx570vk67p56gpr2553dkmly";
}; };
nativeBuildInputs = [ pytestrunner ]; nativeBuildInputs = [ pytest-runner ];
propagatedBuildInputs = [ arrow six ]; propagatedBuildInputs = [ arrow six ];
checkInputs = [ pytest hypothesis ]; checkInputs = [ pytest hypothesis ];

View file

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchFromGitHub, python-editor, readchar, blessed, pytest, pytestcov, pexpect, pytest-mock }: { lib, buildPythonPackage, fetchFromGitHub, python-editor, readchar, blessed, pytest, pytest-cov, pexpect, pytest-mock }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "inquirer"; pname = "inquirer";
@ -20,7 +20,7 @@ buildPythonPackage rec {
--replace "readchar==2.0.1" "readchar>=2.0.0" --replace "readchar==2.0.1" "readchar>=2.0.0"
''; '';
checkInputs = [ pytest pytestcov pexpect pytest-mock ]; checkInputs = [ pytest pytest-cov pexpect pytest-mock ];
checkPhase = '' checkPhase = ''
pytest --cov-report=term-missing --cov inquirer --no-cov-on-fail tests/unit tests/integration pytest --cov-report=term-missing --cov inquirer --no-cov-on-fail tests/unit tests/integration

View file

@ -3,7 +3,7 @@
, fetchPypi , fetchPypi
, flexmock , flexmock
, pytest , pytest
, pytestcov , pytest-cov
, six , six
}: }:
@ -19,7 +19,7 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
flexmock flexmock
pytest pytest
pytestcov pytest-cov
six six
]; ];

View file

@ -3,7 +3,7 @@
, fetchPypi , fetchPypi
, isPy27 , isPy27
, pytest , pytest
, pytestcov , pytest-cov
, nbval , nbval
, ipywidgets , ipywidgets
, numpy , numpy
@ -29,7 +29,7 @@ buildPythonPackage rec {
traittypes traittypes
]; ];
checkInputs = [ pytest pytestcov nbval ]; checkInputs = [ pytest pytest-cov nbval ];
checkPhase = "pytest ipydatawidgets/tests"; checkPhase = "pytest ipydatawidgets/tests";

View file

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchFromGitHub, fetchPypi, pytest, glibcLocales, tox, pytestcov, parso }: { lib, buildPythonPackage, fetchFromGitHub, fetchPypi, pytest, glibcLocales, tox, pytest-cov, parso }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "jedi"; pname = "jedi";
@ -14,7 +14,7 @@ buildPythonPackage rec {
fetchSubmodules = true; fetchSubmodules = true;
}; };
checkInputs = [ pytest glibcLocales tox pytestcov ]; checkInputs = [ pytest glibcLocales tox pytest-cov ];
propagatedBuildInputs = [ parso ]; propagatedBuildInputs = [ parso ];

View file

@ -1,6 +1,6 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k { lib, buildPythonPackage, fetchPypi, isPy3k
, pytest, pytestrunner, pbr, glibcLocales , pytestcov , pytest, pytest-runner, pbr, glibcLocales , pytest-cov
, requests, requests_oauthlib, requests_toolbelt, defusedxml , requests, requests_oauthlib, requests-toolbelt, defusedxml
, ipython , ipython
}: }:
@ -15,8 +15,8 @@ buildPythonPackage rec {
sha256 = "e2a94adff98e45b29ded030adc76103eab34fa7d4d57303f211f572bedba0e93"; sha256 = "e2a94adff98e45b29ded030adc76103eab34fa7d4d57303f211f572bedba0e93";
}; };
buildInputs = [ glibcLocales pytest pytestcov pytestrunner pbr ]; buildInputs = [ glibcLocales pytest pytest-cov pytest-runner pbr ];
propagatedBuildInputs = [ requests requests_oauthlib requests_toolbelt defusedxml pbr ipython ]; propagatedBuildInputs = [ requests requests_oauthlib requests-toolbelt defusedxml pbr ipython ];
# impure tests because of connectivity attempts to jira servers # impure tests because of connectivity attempts to jira servers
doCheck = false; doCheck = false;

View file

@ -1,5 +1,5 @@
{ lib, fetchFromGitHub, buildPythonPackage, six { lib, fetchFromGitHub, buildPythonPackage, six
, flake8, pep8-naming, pytest, pytestcov }: , flake8, pep8-naming, pytest, pytest-cov }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "jsonlines"; pname = "jsonlines";
@ -14,7 +14,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ six ]; propagatedBuildInputs = [ six ];
checkInputs = [ flake8 pep8-naming pytest pytestcov ]; checkInputs = [ flake8 pep8-naming pytest pytest-cov ];
checkPhase = '' checkPhase = ''
pytest pytest
''; '';

View file

@ -10,7 +10,7 @@
, jupyter_server , jupyter_server
, openapi-core , openapi-core
, pytest-tornasync , pytest-tornasync
, pytestcov , pytest-cov
, ruamel-yaml , ruamel-yaml
, strict-rfc3339 , strict-rfc3339
}: }:

View file

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi { lib, buildPythonPackage, fetchPypi
, pytest, pytestcov, 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
}: }:
@ -15,8 +15,8 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
pytest pytest
pytestcov pytest-cov
pytest_xdist pytest-xdist
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [

Some files were not shown because too many files have changed in this diff Show more