pythonPackages: deprecate pytestcov alias

This commit is contained in:
Sandro Jäckel 2021-07-20 22:42:24 +02:00
parent d863d4b43e
commit 4209fed914
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5
143 changed files with 268 additions and 268 deletions

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

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

@ -45,7 +45,7 @@ buildPythonApplication rec {
hypothesis hypothesis
pytest pytest
pytestrunner pytestrunner
pytestcov pytest-cov
glibcLocales glibcLocales
]; ];

View file

@ -1,5 +1,5 @@
{ 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, pytestrunner }:
let let

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

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

@ -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 , pytestrunner, 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 pytestrunner coverage flake8 mock pytestCheckHook pytest-cov tox gntp sleekxmpp
]; ];
disabledTests = [ "test_apprise_cli_nux_env" ]; disabledTests = [ "test_apprise_cli_nux_env" ];

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

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

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

@ -5,7 +5,7 @@
# pythonPackages # pythonPackages
, click , click
, pytest , pytest
, pytestcov , pytest-cov
, pytestrunner , pytestrunner
, pyyaml , pyyaml
, six , six
@ -30,7 +30,7 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
pytest pytest
pytestcov pytest-cov
pytestrunner pytestrunner
]; ];

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

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

@ -5,7 +5,7 @@
, tinycss2 , tinycss2
, pytest , pytest
, pytestrunner , pytestrunner
, 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 pytestrunner 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

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

@ -3,7 +3,7 @@
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, pytestCheckHook , pytestCheckHook
, pytestcov , pytest-cov
, pytest_xdist , pytest_xdist
, pytest-django , pytest-django
, mock , mock
@ -22,7 +22,7 @@ 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,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,4 +1,4 @@
{ 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 {
@ -14,7 +14,7 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
pytest pytest
pytestcov pytest-cov
mock mock
pytest_xdist pytest_xdist
covCore covCore

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, 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

@ -6,7 +6,7 @@
, requests_oauthlib , requests_oauthlib
, pytest , pytest
, pytestrunner , pytestrunner
, pytestcov , pytest-cov
, responses , responses
}: }:
@ -21,7 +21,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ requests requests_toolbelt requests_oauthlib ]; propagatedBuildInputs = [ requests requests_toolbelt requests_oauthlib ];
checkInputs = [ pytest pytestrunner pytestcov responses ]; checkInputs = [ pytest pytestrunner 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

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

@ -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,7 +9,7 @@
, pandas , pandas
, codecov , codecov
, pytest , pytest
, pytestcov , pytest-cov
, pytestrunner , pytestrunner
, coveralls , coveralls
, twine , twine
@ -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 pytestrunner 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

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

@ -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,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k { lib, buildPythonPackage, fetchPypi, isPy3k
, pytest, pytestrunner, pbr, glibcLocales , pytestcov , pytest, pytestrunner, pbr, glibcLocales , pytest-cov
, requests, requests_oauthlib, requests_toolbelt, defusedxml , requests, requests_oauthlib, requests_toolbelt, defusedxml
, ipython , ipython
}: }:
@ -15,7 +15,7 @@ buildPythonPackage rec {
sha256 = "e2a94adff98e45b29ded030adc76103eab34fa7d4d57303f211f572bedba0e93"; sha256 = "e2a94adff98e45b29ded030adc76103eab34fa7d4d57303f211f572bedba0e93";
}; };
buildInputs = [ glibcLocales pytest pytestcov pytestrunner pbr ]; buildInputs = [ glibcLocales pytest pytest-cov pytestrunner 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

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,7 +15,7 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
pytest pytest
pytestcov pytest-cov
pytest_xdist pytest_xdist
]; ];

View file

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi, { lib, buildPythonPackage, fetchPypi,
six, pytest, pytestrunner, pytestcov, coverage six, pytest, pytestrunner, pytest-cov, coverage
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "libais"; pname = "libais";
@ -13,7 +13,7 @@ buildPythonPackage rec {
# data files missing # data files missing
doCheck = false; doCheck = false;
checkInputs = [ pytest pytestrunner pytestcov coverage ]; checkInputs = [ pytest pytestrunner pytest-cov coverage ];
propagatedBuildInputs = [ six ]; propagatedBuildInputs = [ six ];
meta = with lib; { meta = with lib; {

View file

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, python, fetchFromGitHub, requests, iso8601, bottle, pytest, pytestcov }: { lib, buildPythonPackage, python, fetchFromGitHub, requests, iso8601, bottle, pytest, pytest-cov }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "m3u8"; pname = "m3u8";
@ -11,7 +11,7 @@ buildPythonPackage rec {
sha256 = "0cmg993icpsa1b19kljxvjwhs167bsqrs0ad4wnwsi8qq6na5d4p"; sha256 = "0cmg993icpsa1b19kljxvjwhs167bsqrs0ad4wnwsi8qq6na5d4p";
}; };
checkInputs = [ bottle pytest pytestcov ]; checkInputs = [ bottle pytest pytest-cov ];
checkPhase = '' checkPhase = ''
pytest tests/test_{parser,model,variant_m3u8}.py pytest tests/test_{parser,model,variant_m3u8}.py

View file

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi, markdown, { lib, buildPythonPackage, fetchPypi, markdown,
pytest, pytestrunner, pytestcov, coverage }: pytest, pytestrunner, pytest-cov, coverage }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "MarkdownSuperscript"; pname = "MarkdownSuperscript";
@ -20,7 +20,7 @@ buildPythonPackage rec {
sed 's/=.*//' -i requirements/*.txt sed 's/=.*//' -i requirements/*.txt
''; '';
checkInputs = [ pytest pytestrunner pytestcov coverage ]; checkInputs = [ pytest pytestrunner pytest-cov coverage ];
meta = with lib; { meta = with lib; {
description = "An extension to the Python Markdown package enabling superscript text"; description = "An extension to the Python Markdown package enabling superscript text";

View file

@ -4,7 +4,7 @@
, marshmallow , marshmallow
# Check Inputs # Check Inputs
, pytestCheckHook , pytestCheckHook
, pytestcov , pytest-cov
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -23,7 +23,7 @@ buildPythonPackage rec {
]; ];
# setuptools check can run, but won't find tests # setuptools check can run, but won't find tests
checkInputs = [ pytestCheckHook pytestcov ]; checkInputs = [ pytestCheckHook pytest-cov ];
meta = with lib; { meta = with lib; {
description = "An unofficial extension to Marshmallow to allow for polymorphic fields"; description = "An unofficial extension to Marshmallow to allow for polymorphic fields";

View file

@ -5,7 +5,7 @@
, numpy , numpy
, scipy , scipy
, pytestCheckHook , pytestCheckHook
, pytestcov , pytest-cov
, pytest-timeout , pytest-timeout
, h5py , h5py
, matplotlib , matplotlib
@ -34,7 +34,7 @@ buildPythonPackage rec {
doCheck = false; doCheck = false;
checkInputs = [ checkInputs = [
pytestCheckHook pytestCheckHook
pytestcov pytest-cov
pytest-timeout pytest-timeout
h5py h5py
matplotlib matplotlib

View file

@ -1,7 +1,7 @@
{ lib { lib
, fetchPypi , fetchPypi
, buildPythonPackage , buildPythonPackage
, pytestCheckHook, pytestrunner, pytestcov , pytestCheckHook, pytestrunner, pytest-cov
, isPy3k , isPy3k
}: }:
@ -14,7 +14,7 @@ buildPythonPackage rec {
sha256 = "25b4e5f22d3a37ddf3effc0710ba692cfc792c2b9edfb9c05aefe823256e84d5"; sha256 = "25b4e5f22d3a37ddf3effc0710ba692cfc792c2b9edfb9c05aefe823256e84d5";
}; };
checkInputs = [ pytestCheckHook pytestrunner pytestcov ]; checkInputs = [ pytestCheckHook pytestrunner pytest-cov ];
disabled = !isPy3k; disabled = !isPy3k;

View file

@ -1,6 +1,6 @@
{ lib, buildPythonPackage, fetchFromGitHub { lib, buildPythonPackage, fetchFromGitHub
, requests, requests_oauthlib, six , requests, requests_oauthlib, six
, pytest, pytestcache, pytestcov, responses, mock , pytest, pytestcache, pytest-cov, responses, mock
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -14,7 +14,7 @@ buildPythonPackage rec {
sha256 = "120snnsh9n5svfwkyj1w9jrxf99jnqm0jk282yypd3lpyca1l9hj"; sha256 = "120snnsh9n5svfwkyj1w9jrxf99jnqm0jk282yypd3lpyca1l9hj";
}; };
checkInputs = [ pytest pytestcache pytestcov responses mock ]; checkInputs = [ pytest pytestcache pytest-cov responses mock ];
propagatedBuildInputs = [ requests requests_oauthlib six ]; propagatedBuildInputs = [ requests requests_oauthlib six ];

View file

@ -3,7 +3,7 @@
, pythonOlder , pythonOlder
, fetchPypi , fetchPypi
, pytest , pytest
, pytestcov , pytest-cov
, pytest-mock , pytest-mock
, hypothesis , hypothesis
, glibcLocales , glibcLocales
@ -17,7 +17,7 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
pytest pytest
pytestcov pytest-cov
pytest-mock pytest-mock
hypothesis hypothesis
glibcLocales glibcLocales

View file

@ -5,7 +5,7 @@
, attrs , attrs
, py , py
, setuptools , setuptools
, pytestcov , pytest-cov
, pytest-timeout , pytest-timeout
, pytest-tornado , pytest-tornado
, mock , mock
@ -34,7 +34,7 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
hypothesis hypothesis
pytestcov pytest-cov
pytest-timeout pytest-timeout
pytest-tornado pytest-tornado
jsonschema jsonschema

View file

@ -11,7 +11,7 @@
, glibcLocales , glibcLocales
, matplotlib , matplotlib
, sympy , sympy
, pytestcov , pytest-cov
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -27,7 +27,7 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
matplotlib matplotlib
sympy sympy
pytestcov pytest-cov
]; ];
buildInputs = [ glibcLocales ]; buildInputs = [ glibcLocales ];

View file

@ -26,7 +26,7 @@
, simplejson , simplejson
, traits , traits
, xvfbwrapper , xvfbwrapper
, pytestcov , pytest-cov
, codecov , codecov
, sphinx , sphinx
# other dependencies # other dependencies
@ -94,7 +94,7 @@ buildPythonPackage rec {
pytest pytest
pytest-forked pytest-forked
pytest_xdist pytest_xdist
pytestcov pytest-cov
which which
]; ];

View file

@ -6,7 +6,7 @@
, effect , effect
, git , git
, pytestCheckHook , pytestCheckHook
, pytestcov , pytest-cov
, pythonOlder , pythonOlder
}: }:
@ -29,7 +29,7 @@ buildPythonPackage rec {
effect effect
]; ];
checkInputs = [ pytestCheckHook pytestcov git ]; checkInputs = [ pytestCheckHook pytest-cov git ];
# ignore tests which are impure # ignore tests which are impure
disabledTests = [ "network" "requires_nix_build" ]; disabledTests = [ "network" "requires_nix_build" ];

View file

@ -1,5 +1,5 @@
{ blinker, buildPythonPackage, fetchFromGitHub, lib, isPy27, six, mock, pytest { blinker, buildPythonPackage, fetchFromGitHub, lib, isPy27, six, mock, pytest
, webtest, pytestcov, pytest-django, pytest-pythonpath, flake8, sqlalchemy , webtest, pytest-cov, pytest-django, pytest-pythonpath, flake8, sqlalchemy
, flask_sqlalchemy, peewee }: , flask_sqlalchemy, peewee }:
buildPythonPackage rec { buildPythonPackage rec {
@ -31,7 +31,7 @@ buildPythonPackage rec {
mock mock
pytest pytest
webtest webtest
pytestcov pytest-cov
pytest-django pytest-django
pytest-pythonpath pytest-pythonpath
flake8 flake8

View file

@ -5,7 +5,7 @@
, isodate , isodate
, jsonschema , jsonschema
, pytest-flake8 , pytest-flake8
, pytestcov , pytest-cov
, rfc3339-validator , rfc3339-validator
, six , six
, strict-rfc3339 , strict-rfc3339
@ -22,7 +22,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ isodate jsonschema six strict-rfc3339 rfc3339-validator ]; propagatedBuildInputs = [ isodate jsonschema six strict-rfc3339 rfc3339-validator ];
checkInputs = [ pytestCheckHook pytestcov pytest-flake8 ]; checkInputs = [ pytestCheckHook pytest-cov pytest-flake8 ];
pythonImportsCheck = [ "openapi_schema_validator" ]; pythonImportsCheck = [ "openapi_schema_validator" ];
meta = with lib; { meta = with lib; {

View file

@ -1,6 +1,6 @@
{ lib, buildPythonPackage, isPy27, fetchPypi { lib, buildPythonPackage, isPy27, fetchPypi
, jsonschema, openapi-schema-validator, pyyaml, six, pathlib , jsonschema, openapi-schema-validator, pyyaml, six, pathlib
, mock, pytest, pytestcov, pytest-flake8, tox, setuptools }: , mock, pytest, pytest-cov, pytest-flake8, tox, setuptools }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "openapi-spec-validator"; pname = "openapi-spec-validator";
@ -14,7 +14,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ jsonschema openapi-schema-validator pyyaml six setuptools ] propagatedBuildInputs = [ jsonschema openapi-schema-validator pyyaml six setuptools ]
++ (lib.optionals (isPy27) [ pathlib ]); ++ (lib.optionals (isPy27) [ pathlib ]);
checkInputs = [ mock pytest pytestcov pytest-flake8 tox ]; checkInputs = [ mock pytest pytest-cov pytest-flake8 tox ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/p1c2u/openapi-spec-validator"; homepage = "https://github.com/p1c2u/openapi-spec-validator";

View file

@ -5,7 +5,7 @@
, typesystem , typesystem
, aiosqlite , aiosqlite
, pytestCheckHook , pytestCheckHook
, pytestcov , pytest-cov
, typing-extensions , typing-extensions
}: }:
@ -28,7 +28,7 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
aiosqlite aiosqlite
pytestCheckHook pytestCheckHook
pytestcov pytest-cov
typing-extensions typing-extensions
]; ];

View file

@ -19,7 +19,7 @@
, backports_tempfile , backports_tempfile
, isPy27 , isPy27
, pytest , pytest
, pytestcov , pytest-cov
, pytest-mock , pytest-mock
}: }:
@ -54,7 +54,7 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
pytest pytest
pytestcov pytest-cov
pytest-mock pytest-mock
]; ];

View file

@ -3,7 +3,7 @@
, pyyaml, chardet, beautifulsoup4, colorama, bibtexparser , pyyaml, chardet, beautifulsoup4, colorama, bibtexparser
, click, python-slugify, habanero, isbnlib, typing-extensions , click, python-slugify, habanero, isbnlib, typing-extensions
, prompt_toolkit, pygments, stevedore, tqdm, lxml , prompt_toolkit, pygments, stevedore, tqdm, lxml
, python-doi, isPy3k, pytestcov , python-doi, isPy3k, pytest-cov
#, optional, dependencies #, optional, dependencies
, whoosh, pytest , whoosh, pytest
, stdenv , stdenv
@ -43,7 +43,7 @@ buildPythonPackage rec {
doCheck = !stdenv.isDarwin; doCheck = !stdenv.isDarwin;
checkInputs = ([ checkInputs = ([
pytest pytestcov pytest pytest-cov
]) ++ [ ]) ++ [
xdg-utils xdg-utils
]; ];

View file

@ -1,4 +1,4 @@
{lib, fetchPypi, buildPythonPackage, numpy, pyparsing, pytestcov, pytestCheckHook }: {lib, fetchPypi, buildPythonPackage, numpy, pyparsing, pytest-cov, pytestCheckHook }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "periodictable"; pname = "periodictable";
@ -11,7 +11,7 @@ buildPythonPackage rec {
sha256 = "52e925220005c20e97601e7b04ad6cebc271680947ab9adcbb1a796ddbaa0f23"; sha256 = "52e925220005c20e97601e7b04ad6cebc271680947ab9adcbb1a796ddbaa0f23";
}; };
checkInputs = [ pytestcov pytestCheckHook ]; checkInputs = [ pytest-cov pytestCheckHook ];
meta = { meta = {
homepage = "https://www.reflectometry.org/danse/software.html"; homepage = "https://www.reflectometry.org/danse/software.html";

View file

@ -3,7 +3,7 @@
, fetchFromGitHub , fetchFromGitHub
, isPy3k , isPy3k
, setuptools , setuptools
, pytestcov , pytest-cov
, pytest , pytest
}: }:
@ -24,7 +24,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ setuptools ]; propagatedBuildInputs = [ setuptools ];
checkInputs = [ pytest pytestcov ]; checkInputs = [ pytest pytest-cov ];
pythonImportsCheck = [ "pglast" ]; pythonImportsCheck = [ "pglast" ];

View file

@ -7,7 +7,7 @@
, attrs , attrs
, espeak-ng , espeak-ng
, pytestCheckHook , pytestCheckHook
, pytestcov , pytest-cov
}: }:
buildPythonApplication rec { buildPythonApplication rec {
@ -45,7 +45,7 @@ buildPythonApplication rec {
checkInputs = [ checkInputs = [
pytestCheckHook pytestCheckHook
pytestcov pytest-cov
]; ];
# We tried to package festvial, but were unable to get the backend running, # We tried to package festvial, but were unable to get the backend running,

View file

@ -1,6 +1,6 @@
{ buildPythonPackage, fetchPypi, fetchpatch { buildPythonPackage, fetchPypi, fetchpatch
, plaster, PasteDeploy , plaster, PasteDeploy
, pytest, pytestcov , pytest, pytest-cov
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -26,5 +26,5 @@ buildPythonPackage rec {
''; '';
propagatedBuildInputs = [ plaster PasteDeploy ]; propagatedBuildInputs = [ plaster PasteDeploy ];
checkInputs = [ pytest pytestcov ]; checkInputs = [ pytest pytest-cov ];
} }

View file

@ -1,5 +1,5 @@
{ buildPythonPackage, fetchPypi { buildPythonPackage, fetchPypi
, pytest, pytestcov , pytest, pytest-cov
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -15,5 +15,5 @@ buildPythonPackage rec {
py.test py.test
''; '';
checkInputs = [ pytest pytestcov ]; checkInputs = [ pytest pytest-cov ];
} }

View file

@ -13,7 +13,7 @@
, pkginfo , pkginfo
, poetry-core , poetry-core
, pytestCheckHook , pytestCheckHook
, pytestcov , pytest-cov
, pytest-mock , pytest-mock
, requests , requests
, requests-toolbelt , requests-toolbelt
@ -71,7 +71,7 @@ buildPythonPackage rec {
"$out/bin/poetry" completions fish > "$out/share/fish/vendor_completions.d/poetry.fish" "$out/bin/poetry" completions fish > "$out/share/fish/vendor_completions.d/poetry.fish"
''; '';
checkInputs = [ pytestCheckHook httpretty pytest-mock pytestcov ]; checkInputs = [ pytestCheckHook httpretty pytest-mock pytest-cov ];
preCheck = "export HOME=$TMPDIR"; preCheck = "export HOME=$TMPDIR";
disabledTests = [ disabledTests = [
# touches network # touches network

View file

@ -1,6 +1,6 @@
{ lib, buildPythonPackage, fetchPypi { lib, buildPythonPackage, fetchPypi
, pytestCheckHook , pytestCheckHook
, pytestcov , pytest-cov
, pytest-flake8 , pytest-flake8
, pytest-mypy , pytest-mypy
, redis , redis

View file

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi { lib, buildPythonPackage, fetchPypi
, pytest, setuptools-scm, tempora, pytest-black, pytestcov }: , pytest, setuptools-scm, tempora, pytest-black, pytest-cov }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "portend"; pname = "portend";
@ -18,7 +18,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ tempora ]; propagatedBuildInputs = [ tempora ];
checkInputs = [ pytest pytest-black pytestcov ]; checkInputs = [ pytest pytest-black pytest-cov ];
checkPhase = '' checkPhase = ''
py.test --deselect=test_portend.py::TestChecker::test_check_port_listening py.test --deselect=test_portend.py::TestChecker::test_check_port_listening

View file

@ -7,7 +7,7 @@
, six , six
, semver , semver
, pytestCheckHook , pytestCheckHook
, pytestcov , pytest-cov
, pytestrunner , pytestrunner
, openapi-spec-validator , openapi-spec-validator
}: }:
@ -35,7 +35,7 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
pytestCheckHook pytestCheckHook
pytestcov pytest-cov
openapi-spec-validator openapi-spec-validator
]; ];

View file

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchFromGitHub, humanfriendly, verboselogs, coloredlogs, pytest, pytestcov }: { lib, buildPythonPackage, fetchFromGitHub, humanfriendly, verboselogs, coloredlogs, pytest, pytest-cov }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "property-manager"; pname = "property-manager";
@ -12,7 +12,7 @@ buildPythonPackage rec {
}; };
propagatedBuildInputs = [ coloredlogs humanfriendly verboselogs ]; propagatedBuildInputs = [ coloredlogs humanfriendly verboselogs ];
checkInputs = [ pytest pytestcov ]; checkInputs = [ pytest pytest-cov ];
meta = with lib; { meta = with lib; {
description = "Useful property variants for Python programming"; description = "Useful property variants for Python programming";

View file

@ -2,7 +2,7 @@
, fonttools , fonttools
, lxml, fs # for fonttools extras , lxml, fs # for fonttools extras
, setuptools-scm , setuptools-scm
, pytestCheckHook, pytestcov, pytest_xdist , pytestCheckHook, pytest-cov, pytest_xdist
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -31,7 +31,7 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
pytestCheckHook pytestCheckHook
pytestcov pytest-cov
pytest_xdist pytest_xdist
]; ];
disabledTests = [ disabledTests = [

View file

@ -1,5 +1,5 @@
{ buildPythonPackage, fetchPypi, flask, isPy27, lib, nixosTests { buildPythonPackage, fetchPypi, flask, isPy27, lib, nixosTests
, prometheus_client, py-air-control, pytestCheckHook, pytestcov, pytestrunner , prometheus_client, py-air-control, pytestCheckHook, pytest-cov, pytestrunner
, setuptools-scm }: , setuptools-scm }:
buildPythonPackage rec { buildPythonPackage rec {
@ -13,7 +13,7 @@ buildPythonPackage rec {
}; };
nativeBuildInputs = [ setuptools-scm ]; nativeBuildInputs = [ setuptools-scm ];
checkInputs = [ pytestCheckHook pytestcov pytestrunner ]; checkInputs = [ pytestCheckHook pytest-cov pytestrunner ];
propagatedBuildInputs = [ flask prometheus_client py-air-control ]; propagatedBuildInputs = [ flask prometheus_client py-air-control ];
passthru.tests = { inherit (nixosTests.prometheus-exporters) py-air-control; }; passthru.tests = { inherit (nixosTests.prometheus-exporters) py-air-control; };

View file

@ -1,6 +1,6 @@
{ buildPythonPackage { buildPythonPackage
, callPackage , callPackage
, pytestcov , pytest-cov
, fetchPypi , fetchPypi
, lib , lib
, pytest , pytest
@ -24,7 +24,7 @@ buildPythonPackage rec {
# and shouldn't be used in production code # and shouldn't be used in production code
propagatedBuildInputs = [ (callPackage ./infix.nix { }) ]; propagatedBuildInputs = [ (callPackage ./infix.nix { }) ];
checkInputs = [ pytest pytestcov ]; checkInputs = [ pytest pytest-cov ];
meta = with lib; { meta = with lib; {
homepage = "https://gitlab.com/danielhones/pycategories"; homepage = "https://gitlab.com/danielhones/pycategories";

View file

@ -1,6 +1,6 @@
{ lib, buildPythonPackage, fetchFromGitHub, isPy27 { lib, buildPythonPackage, fetchFromGitHub, isPy27
, future, python-language-server, mypy, configparser , future, python-language-server, mypy, configparser
, pytestCheckHook, mock, pytestcov, coverage , pytestCheckHook, mock, pytest-cov, coverage
, fetchpatch , fetchpatch
}: }:
@ -34,7 +34,7 @@ buildPythonPackage rec {
}) })
]; ];
checkInputs = [ mock pytestcov coverage pytestCheckHook ]; checkInputs = [ mock pytest-cov coverage pytestCheckHook ];
propagatedBuildInputs = [ propagatedBuildInputs = [
mypy python-language-server configparser mypy python-language-server configparser

View file

@ -11,7 +11,7 @@
, pyflakes , pyflakes
, pytest , pytest
, pytestcache , pytestcache
, pytestcov , pytest-cov
, covCore , covCore
, pytest-flakes , pytest-flakes
, sphinx , sphinx
@ -33,7 +33,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ httplib2 oauth oauth2 semantic-version ]; propagatedBuildInputs = [ httplib2 oauth oauth2 semantic-version ];
checkInputs = [ checkInputs = [
flask httpretty oauthlib pyflakes pytest pytestcache pytestcov covCore flask httpretty oauthlib pyflakes pytest pytestcache pytest-cov covCore
pytest-flakes sphinx mock chalice pytest-flakes sphinx mock chalice
]; ];

View file

@ -3,7 +3,7 @@
, fetchPypi , fetchPypi
, fetchpatch , fetchpatch
, pytest , pytest
, pytestcov , pytest-cov
, pytestCheckHook , pytestCheckHook
, numpy , numpy
, astropy , astropy
@ -37,7 +37,7 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
pytestCheckHook pytestCheckHook
pytestcov pytest-cov
numpy numpy
scipy scipy
h5py h5py

View file

@ -7,7 +7,7 @@
, pytest , pytest
, pytestcache , pytestcache
, pytestCheckHook , pytestCheckHook
, pytestcov , pytest-cov
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -32,7 +32,7 @@ buildPythonPackage rec {
mock mock
pytestCheckHook pytestCheckHook
pytestcache pytestcache
pytestcov pytest-cov
]; ];
pytestFlagsArray = [ "--ignore=docs" ]; pytestFlagsArray = [ "--ignore=docs" ];

View file

@ -2,7 +2,7 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pytest , pytest
, pytestcov , pytest-cov
, pytest-doctestplus , pytest-doctestplus
, pytestCheckHook , pytestCheckHook
, setuptools-scm , setuptools-scm
@ -25,7 +25,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ propagatedBuildInputs = [
pytest-doctestplus pytest-doctestplus
pytestcov pytest-cov
pytestCheckHook pytestCheckHook
]; ];

View file

@ -1,5 +1,5 @@
{ lib, isPyPy, buildPythonPackage, fetchPypi { lib, isPyPy, buildPythonPackage, fetchPypi
, pytest, cmdline, pytestcov, coverage, setuptools-git, mock, pathpy, execnet , pytest, cmdline, pytest-cov, coverage, setuptools-git, mock, pathpy, execnet
, contextlib2, termcolor }: , contextlib2, termcolor }:
buildPythonPackage rec { buildPythonPackage rec {
@ -13,7 +13,7 @@ buildPythonPackage rec {
buildInputs = [ pytest ]; buildInputs = [ pytest ];
checkInputs = [ cmdline pytest ]; checkInputs = [ cmdline pytest ];
propagatedBuildInputs = [ pytestcov coverage setuptools-git mock pathpy execnet contextlib2 termcolor ]; propagatedBuildInputs = [ pytest-cov coverage setuptools-git mock pathpy execnet contextlib2 termcolor ];
checkPhase = '' checkPhase = ''
py.test ${lib.optionalString isPyPy "-k'not (test_run or test_run_integration)'"} py.test ${lib.optionalString isPyPy "-k'not (test_run or test_run_integration)'"}

View file

@ -4,7 +4,7 @@
, pytest , pytest
, pytestCheckHook , pytestCheckHook
, pexpect , pexpect
, pytestcov , pytest-cov
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -18,7 +18,7 @@ buildPythonPackage rec {
buildInputs = [ pytest ]; buildInputs = [ pytest ];
checkInputs = [ pytestCheckHook pexpect pytestcov ]; checkInputs = [ pytestCheckHook pexpect pytest-cov ];
disabledTests = [ disabledTests = [
"test_suppresses_timeout_when_pdb_is_entered" "test_suppresses_timeout_when_pdb_is_entered"

View file

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi { lib, buildPythonPackage, fetchPypi
, pytest, pytestcov, mock, cmdline, pytest-fixture-config, pytest-shutil, virtualenv }: , pytest, pytest-cov, mock, cmdline, pytest-fixture-config, pytest-shutil, virtualenv }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pytest-virtualenv"; pname = "pytest-virtualenv";
@ -10,7 +10,7 @@ buildPythonPackage rec {
sha256 = "03w2zz3crblj1p6i8nq17946hbn3zqp9z7cfnifw47hi4a4fww12"; sha256 = "03w2zz3crblj1p6i8nq17946hbn3zqp9z7cfnifw47hi4a4fww12";
}; };
checkInputs = [ pytest pytestcov mock cmdline ]; checkInputs = [ pytest pytest-cov mock cmdline ];
propagatedBuildInputs = [ pytest-fixture-config pytest-shutil virtualenv ]; propagatedBuildInputs = [ pytest-fixture-config pytest-shutil virtualenv ];
checkPhase = "py.test tests/unit "; checkPhase = "py.test tests/unit ";

View file

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, pyyaml, pytest, pytestcov }: { lib, buildPythonPackage, fetchPypi, pyyaml, pytest, pytest-cov }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "python-hosts"; pname = "python-hosts";
@ -15,7 +15,7 @@ buildPythonPackage rec {
substituteInPlace python_hosts/utils.py --replace "import win_inet_pton" "" substituteInPlace python_hosts/utils.py --replace "import win_inet_pton" ""
''; '';
checkInputs = [ pyyaml pytest pytestcov ]; checkInputs = [ pyyaml pytest pytest-cov ];
# Removing 1 test file (it requires internet connection) and keeping the other two # Removing 1 test file (it requires internet connection) and keeping the other two
checkPhase = '' checkPhase = ''

View file

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder { lib, buildPythonPackage, fetchFromGitHub, pythonOlder
, pytestCheckHook, mock, pytestcov, coverage , pytestCheckHook, mock, pytest-cov, coverage
, future, futures ? null, ujson, isPy38 , future, futures ? null, ujson, isPy38
}: }:
@ -19,7 +19,7 @@ buildPythonPackage rec {
''; '';
checkInputs = [ checkInputs = [
pytestCheckHook mock pytestcov coverage pytestCheckHook mock pytest-cov coverage
]; ];
propagatedBuildInputs = [ future ujson ] propagatedBuildInputs = [ future ujson ]

View file

@ -1,6 +1,6 @@
{ lib, buildPythonPackage, fetchFromGitHub, pythonAtLeast, pythonOlder, isPy27 { lib, buildPythonPackage, fetchFromGitHub, pythonAtLeast, pythonOlder, isPy27
, backports_functools_lru_cache ? null, configparser ? null, futures ? null, future, jedi, pluggy, python-jsonrpc-server, flake8 , backports_functools_lru_cache ? null, configparser ? null, futures ? null, future, jedi, pluggy, python-jsonrpc-server, flake8
, pytestCheckHook, mock, pytestcov, coverage, setuptools, ujson, flaky , pytestCheckHook, mock, pytest-cov, coverage, setuptools, ujson, flaky
, # Allow building a limited set of providers, e.g. ["pycodestyle"]. , # Allow building a limited set of providers, e.g. ["pycodestyle"].
providers ? ["*"] providers ? ["*"]
# The following packages are optional and # The following packages are optional and
@ -55,7 +55,7 @@ buildPythonPackage rec {
doCheck = providers == ["*"]; doCheck = providers == ["*"];
checkInputs = [ checkInputs = [
pytestCheckHook mock pytestcov coverage flaky pytestCheckHook mock pytest-cov coverage flaky
# Do not propagate flake8 or it will enable pyflakes implicitly # Do not propagate flake8 or it will enable pyflakes implicitly
flake8 flake8
# rope is technically a dependency, but we don't add it by default since we # rope is technically a dependency, but we don't add it by default since we

View file

@ -6,7 +6,7 @@
, pkgconfig , pkgconfig
, psutil , psutil
, pytest , pytest
, pytestcov , pytest-cov
, pytestrunner , pytestrunner
, setuptools-scm , setuptools-scm
}: }:
@ -24,7 +24,7 @@ buildPythonPackage rec {
}; };
nativeBuildInputs = [ setuptools-scm pkgconfig pytestrunner ]; nativeBuildInputs = [ setuptools-scm pkgconfig pytestrunner ];
checkInputs = [ pytest pytestcov psutil ]; checkInputs = [ pytest pytest-cov psutil ];
propagatedBuildInputs = lib.optionals (!isPy3k) [ future ]; propagatedBuildInputs = lib.optionals (!isPy3k) [ future ];
# give a hint to setuptools-scm on package version # give a hint to setuptools-scm on package version

View file

@ -2,7 +2,7 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pytest , pytest
, pytestcov , pytest-cov
, mock , mock
, pyyaml , pyyaml
, six , six
@ -19,7 +19,7 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
pytest pytest
pytestcov pytest-cov
mock mock
pyyaml pyyaml
]; ];

View file

@ -1,12 +1,12 @@
{ buildPythonPackage, lib, fetchPypi, numpy { buildPythonPackage, lib, fetchPypi, numpy
, pydantic, pint, networkx, pytestrunner, pytestcov, pytest , pydantic, pint, networkx, pytestrunner, pytest-cov, pytest
} : } :
buildPythonPackage rec { buildPythonPackage rec {
pname = "qcelemental"; pname = "qcelemental";
version = "0.21.0"; version = "0.21.0";
checkInputs = [ pytestrunner pytestcov pytest ]; checkInputs = [ pytestrunner pytest-cov pytest ];
propagatedBuildInputs = [ numpy pydantic pint networkx ]; propagatedBuildInputs = [ numpy pydantic pint networkx ];
src = fetchPypi { src = fetchPypi {

View file

@ -1,5 +1,5 @@
{ buildPythonPackage, lib, fetchPypi, pyyaml, qcelemental, pydantic { buildPythonPackage, lib, fetchPypi, pyyaml, qcelemental, pydantic
, py-cpuinfo, psutil, pytestrunner, pytest, pytestcov , py-cpuinfo, psutil, pytestrunner, pytest, pytest-cov
} : } :
buildPythonPackage rec { buildPythonPackage rec {
@ -8,7 +8,7 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
pytestrunner pytestrunner
pytestcov pytest-cov
pytest pytest
]; ];

View file

@ -1,7 +1,7 @@
{ buildPythonPackage, lib, fetchFromGitHub, isPy3k { buildPythonPackage, lib, fetchFromGitHub, isPy3k
, cython, setuptools , cython, setuptools
, numpy, affine, attrs, cligj, click-plugins, snuggs, gdal , numpy, affine, attrs, cligj, click-plugins, snuggs, gdal
, pytest, pytestcov, packaging, hypothesis, boto3, mock , pytest, pytest-cov, packaging, hypothesis, boto3, mock
, certifi, shapely , certifi, shapely
}: }:
@ -17,7 +17,7 @@ buildPythonPackage rec {
sha256 = "sha256-rf2qdUhbS4Z2+mvlN1RzZvlgTgjqiBoQzry4z5QLSUc="; sha256 = "sha256-rf2qdUhbS4Z2+mvlN1RzZvlgTgjqiBoQzry4z5QLSUc=";
}; };
checkInputs = [ boto3 pytest pytestcov packaging hypothesis shapely ] ++ lib.optional (!isPy3k) mock; checkInputs = [ boto3 pytest pytest-cov packaging hypothesis shapely ] ++ lib.optional (!isPy3k) mock;
nativeBuildInputs = [ cython gdal ]; nativeBuildInputs = [ cython gdal ];
propagatedBuildInputs = [ certifi gdal numpy attrs affine cligj click-plugins snuggs setuptools ]; propagatedBuildInputs = [ certifi gdal numpy attrs affine cligj click-plugins snuggs setuptools ];

View file

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchFromGitHub, flake8, pytest, pytestcov, pexpect }: { lib, buildPythonPackage, fetchFromGitHub, flake8, pytest, pytest-cov, pexpect }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "readchar"; pname = "readchar";
@ -13,7 +13,7 @@ buildPythonPackage rec {
}; };
nativeBuildInputs = [ flake8 ]; nativeBuildInputs = [ flake8 ];
checkInputs = [ pytest pytestcov pexpect ]; checkInputs = [ pytest pytest-cov pexpect ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/magmax/python-readchar"; homepage = "https://github.com/magmax/python-readchar";

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