pythonPackages: deprecate pytestcov alias
This commit is contained in:
parent
d863d4b43e
commit
4209fed914
143 changed files with 268 additions and 268 deletions
|
@ -41,7 +41,7 @@ mkDerivationWith python3Packages.buildPythonApplication rec {
|
|||
pytest
|
||||
pytest-xvfb
|
||||
pytest-mock
|
||||
pytestcov
|
||||
pytest-cov
|
||||
pytest-repeat
|
||||
pytest-qt
|
||||
];
|
||||
|
|
|
@ -12,7 +12,7 @@ with python3.pkgs; buildPythonApplication rec {
|
|||
};
|
||||
|
||||
checkInputs = [
|
||||
pytestcov
|
||||
pytest-cov
|
||||
hypothesis
|
||||
pytest
|
||||
pylint
|
||||
|
|
|
@ -36,7 +36,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||
glibcLocales
|
||||
] ++ (with python3.pkgs; [
|
||||
pytestCheckHook
|
||||
pytestcov
|
||||
pytest-cov
|
||||
pytest-mock
|
||||
]);
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ buildPythonApplication rec {
|
|||
hypothesis
|
||||
pytest
|
||||
pytestrunner
|
||||
pytestcov
|
||||
pytest-cov
|
||||
glibcLocales
|
||||
];
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ 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 }:
|
||||
|
||||
let
|
||||
|
|
|
@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
|
|||
pythonPackages.pytest
|
||||
];
|
||||
|
||||
checkInputs = lib.optional enablePython [ pythonPackages.scipy pythonPackages.pytestcov ];
|
||||
checkInputs = lib.optional enablePython [ pythonPackages.scipy pythonPackages.pytest-cov ];
|
||||
|
||||
preConfigure = ''
|
||||
mkdir -p build/external/src
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
, pytest-tornado
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, sqlalchemy
|
||||
, tornado
|
||||
, twisted
|
||||
|
@ -38,7 +38,7 @@ buildPythonPackage rec {
|
|||
pytest-asyncio
|
||||
pytest-tornado
|
||||
pytestCheckHook
|
||||
pytestcov
|
||||
pytest-cov
|
||||
sqlalchemy
|
||||
tornado
|
||||
twisted
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
, isPy27
|
||||
, pytest
|
||||
, pytest-asyncio
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, trustme
|
||||
, async-timeout
|
||||
}:
|
||||
|
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
|||
checkInputs = [
|
||||
pytest
|
||||
pytest-asyncio
|
||||
pytestcov
|
||||
pytest-cov
|
||||
trustme
|
||||
async-timeout
|
||||
];
|
||||
|
|
|
@ -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 {
|
||||
pname = "aiohttp-jinja2";
|
||||
|
@ -11,7 +11,7 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [ aiohttp jinja2 ];
|
||||
|
||||
checkInputs = [ pytest pytest-aiohttp pytestcov ];
|
||||
checkInputs = [ pytest pytest-aiohttp pytest-cov ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest -W ignore::DeprecationWarning
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, fetchpatch, buildPythonPackage, fetchPypi
|
||||
, aiohttp, pytest, pytestcov, pytest-aiohttp
|
||||
, aiohttp, pytest, pytest-cov, pytest-aiohttp
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -13,7 +13,7 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [ aiohttp ];
|
||||
|
||||
checkInputs = [ pytest pytestcov pytest-aiohttp ];
|
||||
checkInputs = [ pytest pytest-cov pytest-aiohttp ];
|
||||
checkPhase = ''
|
||||
python -m pytest
|
||||
'';
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, pytest-asyncio
|
||||
}:
|
||||
|
||||
|
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
|||
sha256 = "1r3x9qwl08yscmzvhafc6gsmq84lr17s6p7a1qxr49cmdvjzsc13";
|
||||
};
|
||||
|
||||
checkInputs = [ pytestCheckHook pytestcov pytest-asyncio ];
|
||||
checkInputs = [ pytestCheckHook pytest-cov pytest-asyncio ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Generator-based operators for asynchronous iteration";
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, buildPythonPackage, fetchPypi
|
||||
, pytest, pytestcov, mock, coverage, setuptools
|
||||
, pytest, pytest-cov, mock, coverage, setuptools
|
||||
, Mako, sqlalchemy, python-editor, python-dateutil
|
||||
}:
|
||||
|
||||
|
@ -12,7 +12,7 @@ buildPythonPackage rec {
|
|||
sha256 = "a21fedebb3fb8f6bbbba51a11114f08c78709377051384c9c5ead5705ee93a51";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest pytestcov mock coverage ];
|
||||
buildInputs = [ pytest pytest-cov mock coverage ];
|
||||
propagatedBuildInputs = [ Mako sqlalchemy python-editor python-dateutil setuptools ];
|
||||
|
||||
# no traditional test suite
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, installShellFiles
|
||||
, 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 {
|
||||
|
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
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" ];
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ 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
|
||||
}:
|
||||
|
||||
|
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
|||
export HOME=$TMPDIR
|
||||
'';
|
||||
|
||||
checkInputs = [ aria2 responses pytest pytestcov pytest_xdist ];
|
||||
checkInputs = [ aria2 responses pytest pytest-cov pytest_xdist ];
|
||||
|
||||
# Tests are not all stable/deterministic,
|
||||
# they rely on actually running an aria2c daemon and communicating with it,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, isPy27
|
||||
, 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
|
||||
}:
|
||||
|
||||
|
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
|||
checkInputs = [
|
||||
dateparser
|
||||
pytestCheckHook
|
||||
pytestcov
|
||||
pytest-cov
|
||||
pytest-mock
|
||||
pytz
|
||||
simplejson
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ lib, isPy3k, pythonOlder, fetchPypi, buildPythonPackage
|
||||
, pytest
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, sybil
|
||||
, typing-extensions
|
||||
}:
|
||||
|
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest pytestcov sybil
|
||||
pytest pytest-cov sybil
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
, pytest
|
||||
, pytest-black
|
||||
, pytest-flake8
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
|||
|
||||
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
|
||||
checkPhase = ''
|
||||
rm backports/functools_lru_cache.py
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, lib, buildPythonPackage, fetchFromGitHub, humanfriendly, pytestCheckHook, pytestcov }:
|
||||
{ stdenv, lib, buildPythonPackage, fetchFromGitHub, humanfriendly, pytestCheckHook, pytest-cov }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "capturer";
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# pythonPackages
|
||||
, click
|
||||
, pytest
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, pytestrunner
|
||||
, pyyaml
|
||||
, six
|
||||
|
@ -30,7 +30,7 @@ buildPythonPackage rec {
|
|||
|
||||
checkInputs = [
|
||||
pytest
|
||||
pytestcov
|
||||
pytest-cov
|
||||
pytestrunner
|
||||
];
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, coveralls
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, cython
|
||||
, numpy
|
||||
, python
|
||||
|
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
|||
checkInputs = [
|
||||
pytestCheckHook
|
||||
coveralls
|
||||
pytestcov
|
||||
pytest-cov
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
, portend
|
||||
, pyopenssl
|
||||
, pytestCheckHook
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, pytest-mock
|
||||
, requests
|
||||
, requests-toolbelt
|
||||
|
@ -46,7 +46,7 @@ buildPythonPackage rec {
|
|||
portend
|
||||
pyopenssl
|
||||
pytestCheckHook
|
||||
pytestcov
|
||||
pytest-cov
|
||||
pytest-mock
|
||||
requests
|
||||
requests-toolbelt
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ lib, stdenv, buildPythonPackage, fetchPypi
|
||||
, setuptools-scm
|
||||
, 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 {
|
||||
|
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
|||
nativeBuildInputs = [ setuptools-scm ];
|
||||
|
||||
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 = ''
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
, setuptools-scm
|
||||
, cheroot, portend, more-itertools, zc_lockfile, routes
|
||||
, jaraco_collections
|
||||
, objgraph, pytest, pytestcov, pathpy, requests_toolbelt, pytest-services
|
||||
, objgraph, pytest, pytest-cov, pathpy, requests_toolbelt, pytest-services
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
|
@ -47,7 +47,7 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
checkInputs = [
|
||||
objgraph pytest pytestcov pathpy requests_toolbelt pytest-services
|
||||
objgraph pytest pytest-cov pathpy requests_toolbelt pytest-services
|
||||
];
|
||||
|
||||
# Keyboard interrupt ends test suite run
|
||||
|
|
|
@ -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 {
|
||||
pname = "clickclick";
|
||||
|
@ -11,7 +11,7 @@ buildPythonPackage rec {
|
|||
sha256 = "1rij9ws9nhsmagiy1vclzliiqfkxi006rf65qvrw1k3sm2s8p5g0";
|
||||
};
|
||||
|
||||
checkInputs = [ pytestCheckHook pytestcov ];
|
||||
checkInputs = [ pytestCheckHook pytest-cov ];
|
||||
propagatedBuildInputs = [ flake8 click pyyaml six ];
|
||||
|
||||
# test_cli asserts on exact quoting style of output
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, isPyPy
|
||||
, pytest, pytestcov, pytest-mock, freezegun
|
||||
, pytest, pytest-cov, pytest-mock, freezegun
|
||||
, jinja2, future, binaryornot, click, whichcraft, poyo, jinja2_time, requests
|
||||
, python-slugify }:
|
||||
|
||||
|
@ -15,7 +15,7 @@ buildPythonPackage rec {
|
|||
sha256 = "sha256-a5pNcoguJDvgd6c5fQ8fdv5mzz35HzEV27UzDiFPpFc=";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest pytestcov pytest-mock freezegun ];
|
||||
checkInputs = [ pytest pytest-cov pytest-mock freezegun ];
|
||||
propagatedBuildInputs = [
|
||||
jinja2 future binaryornot click whichcraft poyo jinja2_time requests python-slugify
|
||||
];
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
, tinycss2
|
||||
, pytest
|
||||
, pytestrunner
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, pytest-flake8
|
||||
, pytest-isort
|
||||
}:
|
||||
|
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [ tinycss2 ];
|
||||
|
||||
checkInputs = [ pytest pytestrunner pytestcov pytest-flake8 pytest-isort ];
|
||||
checkInputs = [ pytest pytestrunner pytest-cov pytest-flake8 pytest-isort ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "CSS selectors for Python ElementTree";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, python
|
||||
, dbus, dbus-python, pytest, pytestcov, pytest-asyncio, pytest-timeout
|
||||
, dbus, dbus-python, pytest, pytest-cov, pytest-asyncio, pytest-timeout
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
|||
dbus
|
||||
dbus-python
|
||||
pytest
|
||||
pytestcov
|
||||
pytest-cov
|
||||
pytest-asyncio
|
||||
pytest-timeout
|
||||
];
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, pytest_xdist
|
||||
, pytest-django
|
||||
, mock
|
||||
|
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
|||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
pytestcov
|
||||
pytest-cov
|
||||
pytest_xdist
|
||||
pytest-django
|
||||
mock
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
, mock
|
||||
, pygments
|
||||
, pytest
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, pytest-django
|
||||
, python-dateutil
|
||||
, shortuuid
|
||||
|
@ -40,7 +40,7 @@ buildPythonPackage rec {
|
|||
mock
|
||||
pygments # not explicitly declared in setup.py, but some tests require it
|
||||
pytest
|
||||
pytestcov
|
||||
pytest-cov
|
||||
pytest-django
|
||||
python-dateutil
|
||||
shortuuid
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, six, pytestcov, pytest }:
|
||||
{ lib, buildPythonPackage, fetchPypi, six, pytest-cov, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.2.0";
|
||||
|
@ -15,7 +15,7 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
checkInputs = [ pytestcov pytest ];
|
||||
checkInputs = [ pytest-cov pytest ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for parsing Dockerfile files";
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
, fetchPypi
|
||||
, pythonOlder
|
||||
, pytest
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, mock
|
||||
, Mako
|
||||
, decorator
|
||||
|
@ -33,7 +33,7 @@ buildPythonPackage rec {
|
|||
pytest
|
||||
'';
|
||||
|
||||
checkInputs = [ pytest pytestcov mock Mako ];
|
||||
checkInputs = [ pytest pytest-cov mock Mako ];
|
||||
|
||||
propagatedBuildInputs = [ decorator stevedore ];
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, pytest, pytestcov, mock
|
||||
{ lib, buildPythonPackage, fetchPypi, pytest, pytest-cov, mock
|
||||
, pytest_xdist, covCore, glibcLocales }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -14,7 +14,7 @@ buildPythonPackage rec {
|
|||
|
||||
checkInputs = [
|
||||
pytest
|
||||
pytestcov
|
||||
pytest-cov
|
||||
mock
|
||||
pytest_xdist
|
||||
covCore
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
, net-snmp
|
||||
, openssl
|
||||
, pytest
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, pytest-flake8
|
||||
, pytest-sugar
|
||||
, termcolor
|
||||
|
@ -27,7 +27,7 @@ buildPythonPackage rec {
|
|||
|
||||
checkInputs = [
|
||||
pytest
|
||||
pytestcov
|
||||
pytest-cov
|
||||
pytest-flake8
|
||||
pytest-sugar
|
||||
termcolor
|
||||
|
|
|
@ -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 {
|
||||
pname = "Flask-Caching";
|
||||
|
@ -12,7 +12,7 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [ flask ];
|
||||
|
||||
checkInputs = [ pytestCheckHook pytestcov pytest-xprocess pytestcache ];
|
||||
checkInputs = [ pytestCheckHook pytest-cov pytest-xprocess pytestcache ];
|
||||
|
||||
disabledTests = [
|
||||
# backend_cache relies on pytest-cache, which is a stale package from 2013
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
, requests_oauthlib
|
||||
, pytest
|
||||
, pytestrunner
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, responses
|
||||
}:
|
||||
|
||||
|
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [ requests requests_toolbelt requests_oauthlib ];
|
||||
|
||||
checkInputs = [ pytest pytestrunner pytestcov responses ];
|
||||
checkInputs = [ pytest pytestrunner pytest-cov responses ];
|
||||
doCheck = false; # Otherwise:
|
||||
# ========================= no tests ran in 0.01 seconds =========================
|
||||
# builder for '/nix/store/c8a58v6aa18zci08q2l53s12ywn8jqhq-python3.6-flickrapi-2.4.0.drv' failed with exit code 5
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook
|
||||
, atpublic, psutil, pytestcov, sybil
|
||||
, atpublic, psutil, pytest-cov, sybil
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -12,7 +12,7 @@ buildPythonPackage rec {
|
|||
};
|
||||
|
||||
propagatedBuildInputs = [ atpublic psutil ];
|
||||
checkInputs = [ pytestCheckHook pytestcov sybil ];
|
||||
checkInputs = [ pytestCheckHook pytest-cov sybil ];
|
||||
|
||||
# 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
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
, isPy27
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, hyppo
|
||||
, matplotlib
|
||||
, networkx
|
||||
|
@ -36,7 +36,7 @@ buildPythonPackage rec {
|
|||
seaborn
|
||||
];
|
||||
|
||||
checkInputs = [ pytestCheckHook pytestcov ];
|
||||
checkInputs = [ pytestCheckHook pytest-cov ];
|
||||
pytestFlagsArray = [ "tests" "--ignore=docs" "--ignore=tests/test_sklearn.py" ];
|
||||
disabledTests = [ "gridplot_outputs" ];
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
, coverage
|
||||
, mock
|
||||
, pytest
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
|
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [ setuptools ];
|
||||
|
||||
checkInputs = [ pytest mock pytestcov coverage ];
|
||||
checkInputs = [ pytest mock pytest-cov coverage ];
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace requirements_test.txt --replace "==" ">=" \
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
, coverage
|
||||
, mock
|
||||
, pytest
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
|
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [ setuptools ];
|
||||
|
||||
checkInputs = [ pytest mock pytestcov coverage ];
|
||||
checkInputs = [ pytest mock pytest-cov coverage ];
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace requirements_test.txt --replace "==" ">=" \
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
, pandas
|
||||
, codecov
|
||||
, pytest
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, pytestrunner
|
||||
, coveralls
|
||||
, twine
|
||||
|
@ -36,7 +36,7 @@ buildPythonPackage rec {
|
|||
|
||||
doCheck = false; # incompatible with latest astropy
|
||||
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" ];
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
, pproxy
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, sniffio
|
||||
, trio
|
||||
, trustme
|
||||
|
@ -38,7 +38,7 @@ buildPythonPackage rec {
|
|||
pproxy
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
pytestcov
|
||||
pytest-cov
|
||||
trio
|
||||
trustme
|
||||
uvicorn
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
, pytest-trio
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, trustme
|
||||
, uvicorn
|
||||
}:
|
||||
|
@ -41,7 +41,7 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
pytest-trio
|
||||
pytestcov
|
||||
pytest-cov
|
||||
trustme
|
||||
uvicorn
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
, buildPythonPackage
|
||||
, isPy27
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook , pytestcov , numba
|
||||
, pytestCheckHook , pytest-cov , numba
|
||||
, numpy
|
||||
, scikit-learn
|
||||
, scipy
|
||||
|
@ -30,7 +30,7 @@ buildPythonPackage rec {
|
|||
scipy
|
||||
];
|
||||
|
||||
checkInputs = [ pytestCheckHook pytestcov matplotlib seaborn ];
|
||||
checkInputs = [ pytestCheckHook pytest-cov matplotlib seaborn ];
|
||||
disabledTestPaths = [
|
||||
"docs"
|
||||
"benchmarks"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
, pyjwt
|
||||
, pylint
|
||||
, pytestCheckHook
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, python-dateutil
|
||||
, requests
|
||||
, responses
|
||||
|
@ -25,7 +25,7 @@ buildPythonPackage rec {
|
|||
codecov
|
||||
pylint
|
||||
pytestCheckHook
|
||||
pytestcov
|
||||
pytest-cov
|
||||
responses
|
||||
tox
|
||||
];
|
||||
|
|
|
@ -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 {
|
||||
pname = "inquirer";
|
||||
|
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
|||
--replace "readchar==2.0.1" "readchar>=2.0.0"
|
||||
'';
|
||||
|
||||
checkInputs = [ pytest pytestcov pexpect pytest-mock ];
|
||||
checkInputs = [ pytest pytest-cov pexpect pytest-mock ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest --cov-report=term-missing --cov inquirer --no-cov-on-fail tests/unit tests/integration
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
, fetchPypi
|
||||
, flexmock
|
||||
, pytest
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, six
|
||||
}:
|
||||
|
||||
|
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
|||
checkInputs = [
|
||||
flexmock
|
||||
pytest
|
||||
pytestcov
|
||||
pytest-cov
|
||||
six
|
||||
];
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
, fetchPypi
|
||||
, isPy27
|
||||
, pytest
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, nbval
|
||||
, ipywidgets
|
||||
, numpy
|
||||
|
@ -29,7 +29,7 @@ buildPythonPackage rec {
|
|||
traittypes
|
||||
];
|
||||
|
||||
checkInputs = [ pytest pytestcov nbval ];
|
||||
checkInputs = [ pytest pytest-cov nbval ];
|
||||
|
||||
checkPhase = "pytest ipydatawidgets/tests";
|
||||
|
||||
|
|
|
@ -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 {
|
||||
pname = "jedi";
|
||||
|
@ -14,7 +14,7 @@ buildPythonPackage rec {
|
|||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
checkInputs = [ pytest glibcLocales tox pytestcov ];
|
||||
checkInputs = [ pytest glibcLocales tox pytest-cov ];
|
||||
|
||||
propagatedBuildInputs = [ parso ];
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, isPy3k
|
||||
, pytest, pytestrunner, pbr, glibcLocales , pytestcov
|
||||
, pytest, pytestrunner, pbr, glibcLocales , pytest-cov
|
||||
, requests, requests_oauthlib, requests_toolbelt, defusedxml
|
||||
, ipython
|
||||
}:
|
||||
|
@ -15,7 +15,7 @@ buildPythonPackage rec {
|
|||
sha256 = "e2a94adff98e45b29ded030adc76103eab34fa7d4d57303f211f572bedba0e93";
|
||||
};
|
||||
|
||||
buildInputs = [ glibcLocales pytest pytestcov pytestrunner pbr ];
|
||||
buildInputs = [ glibcLocales pytest pytest-cov pytestrunner pbr ];
|
||||
propagatedBuildInputs = [ requests requests_oauthlib requests_toolbelt defusedxml pbr ipython ];
|
||||
|
||||
# impure tests because of connectivity attempts to jira servers
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, fetchFromGitHub, buildPythonPackage, six
|
||||
, flake8, pep8-naming, pytest, pytestcov }:
|
||||
, flake8, pep8-naming, pytest, pytest-cov }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jsonlines";
|
||||
|
@ -14,7 +14,7 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
checkInputs = [ flake8 pep8-naming pytest pytestcov ];
|
||||
checkInputs = [ flake8 pep8-naming pytest pytest-cov ];
|
||||
checkPhase = ''
|
||||
pytest
|
||||
'';
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
, jupyter_server
|
||||
, openapi-core
|
||||
, pytest-tornasync
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, ruamel-yaml
|
||||
, strict-rfc3339
|
||||
}:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, buildPythonPackage, fetchPypi
|
||||
, pytest, pytestcov, pytest_xdist
|
||||
, pytest, pytest-cov, pytest_xdist
|
||||
, six, numpy, scipy, pyyaml, h5py
|
||||
, keras-applications, keras-preprocessing
|
||||
}:
|
||||
|
@ -15,7 +15,7 @@ buildPythonPackage rec {
|
|||
|
||||
checkInputs = [
|
||||
pytest
|
||||
pytestcov
|
||||
pytest-cov
|
||||
pytest_xdist
|
||||
];
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, buildPythonPackage, fetchPypi,
|
||||
six, pytest, pytestrunner, pytestcov, coverage
|
||||
six, pytest, pytestrunner, pytest-cov, coverage
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "libais";
|
||||
|
@ -13,7 +13,7 @@ buildPythonPackage rec {
|
|||
# data files missing
|
||||
doCheck = false;
|
||||
|
||||
checkInputs = [ pytest pytestrunner pytestcov coverage ];
|
||||
checkInputs = [ pytest pytestrunner pytest-cov coverage ];
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -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 {
|
||||
pname = "m3u8";
|
||||
|
@ -11,7 +11,7 @@ buildPythonPackage rec {
|
|||
sha256 = "0cmg993icpsa1b19kljxvjwhs167bsqrs0ad4wnwsi8qq6na5d4p";
|
||||
};
|
||||
|
||||
checkInputs = [ bottle pytest pytestcov ];
|
||||
checkInputs = [ bottle pytest pytest-cov ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest tests/test_{parser,model,variant_m3u8}.py
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, markdown,
|
||||
pytest, pytestrunner, pytestcov, coverage }:
|
||||
pytest, pytestrunner, pytest-cov, coverage }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "MarkdownSuperscript";
|
||||
|
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
|||
sed 's/=.*//' -i requirements/*.txt
|
||||
'';
|
||||
|
||||
checkInputs = [ pytest pytestrunner pytestcov coverage ];
|
||||
checkInputs = [ pytest pytestrunner pytest-cov coverage ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An extension to the Python Markdown package enabling superscript text";
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
, marshmallow
|
||||
# Check Inputs
|
||||
, pytestCheckHook
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
# setuptools check can run, but won't find tests
|
||||
checkInputs = [ pytestCheckHook pytestcov ];
|
||||
checkInputs = [ pytestCheckHook pytest-cov ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An unofficial extension to Marshmallow to allow for polymorphic fields";
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
, numpy
|
||||
, scipy
|
||||
, pytestCheckHook
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, pytest-timeout
|
||||
, h5py
|
||||
, matplotlib
|
||||
|
@ -34,7 +34,7 @@ buildPythonPackage rec {
|
|||
doCheck = false;
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
pytestcov
|
||||
pytest-cov
|
||||
pytest-timeout
|
||||
h5py
|
||||
matplotlib
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, pytestCheckHook, pytestrunner, pytestcov
|
||||
, pytestCheckHook, pytestrunner, pytest-cov
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
|
@ -14,7 +14,7 @@ buildPythonPackage rec {
|
|||
sha256 = "25b4e5f22d3a37ddf3effc0710ba692cfc792c2b9edfb9c05aefe823256e84d5";
|
||||
};
|
||||
|
||||
checkInputs = [ pytestCheckHook pytestrunner pytestcov ];
|
||||
checkInputs = [ pytestCheckHook pytestrunner pytest-cov ];
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub
|
||||
, requests, requests_oauthlib, six
|
||||
, pytest, pytestcache, pytestcov, responses, mock
|
||||
, pytest, pytestcache, pytest-cov, responses, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -14,7 +14,7 @@ buildPythonPackage rec {
|
|||
sha256 = "120snnsh9n5svfwkyj1w9jrxf99jnqm0jk282yypd3lpyca1l9hj";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest pytestcache pytestcov responses mock ];
|
||||
checkInputs = [ pytest pytestcache pytest-cov responses mock ];
|
||||
|
||||
propagatedBuildInputs = [ requests requests_oauthlib six ];
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
, pythonOlder
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, pytest-mock
|
||||
, hypothesis
|
||||
, glibcLocales
|
||||
|
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
|||
|
||||
checkInputs = [
|
||||
pytest
|
||||
pytestcov
|
||||
pytest-cov
|
||||
pytest-mock
|
||||
hypothesis
|
||||
glibcLocales
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
, attrs
|
||||
, py
|
||||
, setuptools
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, pytest-timeout
|
||||
, pytest-tornado
|
||||
, mock
|
||||
|
@ -34,7 +34,7 @@ buildPythonPackage rec {
|
|||
|
||||
checkInputs = [
|
||||
hypothesis
|
||||
pytestcov
|
||||
pytest-cov
|
||||
pytest-timeout
|
||||
pytest-tornado
|
||||
jsonschema
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
, glibcLocales
|
||||
, matplotlib
|
||||
, sympy
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -27,7 +27,7 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
matplotlib
|
||||
sympy
|
||||
pytestcov
|
||||
pytest-cov
|
||||
];
|
||||
|
||||
buildInputs = [ glibcLocales ];
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
, simplejson
|
||||
, traits
|
||||
, xvfbwrapper
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, codecov
|
||||
, sphinx
|
||||
# other dependencies
|
||||
|
@ -94,7 +94,7 @@ buildPythonPackage rec {
|
|||
pytest
|
||||
pytest-forked
|
||||
pytest_xdist
|
||||
pytestcov
|
||||
pytest-cov
|
||||
which
|
||||
];
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
, effect
|
||||
, git
|
||||
, pytestCheckHook
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
|
@ -29,7 +29,7 @@ buildPythonPackage rec {
|
|||
effect
|
||||
];
|
||||
|
||||
checkInputs = [ pytestCheckHook pytestcov git ];
|
||||
checkInputs = [ pytestCheckHook pytest-cov git ];
|
||||
|
||||
# ignore tests which are impure
|
||||
disabledTests = [ "network" "requires_nix_build" ];
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ 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 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -31,7 +31,7 @@ buildPythonPackage rec {
|
|||
mock
|
||||
pytest
|
||||
webtest
|
||||
pytestcov
|
||||
pytest-cov
|
||||
pytest-django
|
||||
pytest-pythonpath
|
||||
flake8
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
, isodate
|
||||
, jsonschema
|
||||
, pytest-flake8
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, rfc3339-validator
|
||||
, six
|
||||
, strict-rfc3339
|
||||
|
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [ isodate jsonschema six strict-rfc3339 rfc3339-validator ];
|
||||
|
||||
checkInputs = [ pytestCheckHook pytestcov pytest-flake8 ];
|
||||
checkInputs = [ pytestCheckHook pytest-cov pytest-flake8 ];
|
||||
pythonImportsCheck = [ "openapi_schema_validator" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ lib, buildPythonPackage, isPy27, fetchPypi
|
||||
, jsonschema, openapi-schema-validator, pyyaml, six, pathlib
|
||||
, mock, pytest, pytestcov, pytest-flake8, tox, setuptools }:
|
||||
, mock, pytest, pytest-cov, pytest-flake8, tox, setuptools }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "openapi-spec-validator";
|
||||
|
@ -14,7 +14,7 @@ buildPythonPackage rec {
|
|||
propagatedBuildInputs = [ jsonschema openapi-schema-validator pyyaml six setuptools ]
|
||||
++ (lib.optionals (isPy27) [ pathlib ]);
|
||||
|
||||
checkInputs = [ mock pytest pytestcov pytest-flake8 tox ];
|
||||
checkInputs = [ mock pytest pytest-cov pytest-flake8 tox ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/p1c2u/openapi-spec-validator";
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
, typesystem
|
||||
, aiosqlite
|
||||
, pytestCheckHook
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, typing-extensions
|
||||
}:
|
||||
|
||||
|
@ -28,7 +28,7 @@ buildPythonPackage rec {
|
|||
checkInputs = [
|
||||
aiosqlite
|
||||
pytestCheckHook
|
||||
pytestcov
|
||||
pytest-cov
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
, backports_tempfile
|
||||
, isPy27
|
||||
, pytest
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, pytest-mock
|
||||
}:
|
||||
|
||||
|
@ -54,7 +54,7 @@ buildPythonPackage rec {
|
|||
|
||||
checkInputs = [
|
||||
pytest
|
||||
pytestcov
|
||||
pytest-cov
|
||||
pytest-mock
|
||||
];
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
, pyyaml, chardet, beautifulsoup4, colorama, bibtexparser
|
||||
, click, python-slugify, habanero, isbnlib, typing-extensions
|
||||
, prompt_toolkit, pygments, stevedore, tqdm, lxml
|
||||
, python-doi, isPy3k, pytestcov
|
||||
, python-doi, isPy3k, pytest-cov
|
||||
#, optional, dependencies
|
||||
, whoosh, pytest
|
||||
, stdenv
|
||||
|
@ -43,7 +43,7 @@ buildPythonPackage rec {
|
|||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
checkInputs = ([
|
||||
pytest pytestcov
|
||||
pytest pytest-cov
|
||||
]) ++ [
|
||||
xdg-utils
|
||||
];
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{lib, fetchPypi, buildPythonPackage, numpy, pyparsing, pytestcov, pytestCheckHook }:
|
||||
{lib, fetchPypi, buildPythonPackage, numpy, pyparsing, pytest-cov, pytestCheckHook }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "periodictable";
|
||||
|
@ -11,7 +11,7 @@ buildPythonPackage rec {
|
|||
sha256 = "52e925220005c20e97601e7b04ad6cebc271680947ab9adcbb1a796ddbaa0f23";
|
||||
};
|
||||
|
||||
checkInputs = [ pytestcov pytestCheckHook ];
|
||||
checkInputs = [ pytest-cov pytestCheckHook ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.reflectometry.org/danse/software.html";
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
, fetchFromGitHub
|
||||
, isPy3k
|
||||
, setuptools
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, pytest
|
||||
}:
|
||||
|
||||
|
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [ setuptools ];
|
||||
|
||||
checkInputs = [ pytest pytestcov ];
|
||||
checkInputs = [ pytest pytest-cov ];
|
||||
|
||||
pythonImportsCheck = [ "pglast" ];
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
, attrs
|
||||
, espeak-ng
|
||||
, pytestCheckHook
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
|
@ -45,7 +45,7 @@ buildPythonApplication rec {
|
|||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
pytestcov
|
||||
pytest-cov
|
||||
];
|
||||
|
||||
# We tried to package festvial, but were unable to get the backend running,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ buildPythonPackage, fetchPypi, fetchpatch
|
||||
, plaster, PasteDeploy
|
||||
, pytest, pytestcov
|
||||
, pytest, pytest-cov
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -26,5 +26,5 @@ buildPythonPackage rec {
|
|||
'';
|
||||
|
||||
propagatedBuildInputs = [ plaster PasteDeploy ];
|
||||
checkInputs = [ pytest pytestcov ];
|
||||
checkInputs = [ pytest pytest-cov ];
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ buildPythonPackage, fetchPypi
|
||||
, pytest, pytestcov
|
||||
, pytest, pytest-cov
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -15,5 +15,5 @@ buildPythonPackage rec {
|
|||
py.test
|
||||
'';
|
||||
|
||||
checkInputs = [ pytest pytestcov ];
|
||||
checkInputs = [ pytest pytest-cov ];
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
, pkginfo
|
||||
, poetry-core
|
||||
, pytestCheckHook
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, pytest-mock
|
||||
, requests
|
||||
, requests-toolbelt
|
||||
|
@ -71,7 +71,7 @@ buildPythonPackage rec {
|
|||
"$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";
|
||||
disabledTests = [
|
||||
# touches network
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ lib, buildPythonPackage, fetchPypi
|
||||
, pytestCheckHook
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, pytest-flake8
|
||||
, pytest-mypy
|
||||
, redis
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, buildPythonPackage, fetchPypi
|
||||
, pytest, setuptools-scm, tempora, pytest-black, pytestcov }:
|
||||
, pytest, setuptools-scm, tempora, pytest-black, pytest-cov }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "portend";
|
||||
|
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [ tempora ];
|
||||
|
||||
checkInputs = [ pytest pytest-black pytestcov ];
|
||||
checkInputs = [ pytest pytest-black pytest-cov ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test --deselect=test_portend.py::TestChecker::test_check_port_listening
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
, six
|
||||
, semver
|
||||
, pytestCheckHook
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, pytestrunner
|
||||
, openapi-spec-validator
|
||||
}:
|
||||
|
@ -35,7 +35,7 @@ buildPythonPackage rec {
|
|||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
pytestcov
|
||||
pytest-cov
|
||||
openapi-spec-validator
|
||||
];
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, humanfriendly, verboselogs, coloredlogs, pytest, pytestcov }:
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, humanfriendly, verboselogs, coloredlogs, pytest, pytest-cov }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "property-manager";
|
||||
|
@ -12,7 +12,7 @@ buildPythonPackage rec {
|
|||
};
|
||||
|
||||
propagatedBuildInputs = [ coloredlogs humanfriendly verboselogs ];
|
||||
checkInputs = [ pytest pytestcov ];
|
||||
checkInputs = [ pytest pytest-cov ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Useful property variants for Python programming";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
, fonttools
|
||||
, lxml, fs # for fonttools extras
|
||||
, setuptools-scm
|
||||
, pytestCheckHook, pytestcov, pytest_xdist
|
||||
, pytestCheckHook, pytest-cov, pytest_xdist
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -31,7 +31,7 @@ buildPythonPackage rec {
|
|||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
pytestcov
|
||||
pytest-cov
|
||||
pytest_xdist
|
||||
];
|
||||
disabledTests = [
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ 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 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -13,7 +13,7 @@ buildPythonPackage rec {
|
|||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
checkInputs = [ pytestCheckHook pytestcov pytestrunner ];
|
||||
checkInputs = [ pytestCheckHook pytest-cov pytestrunner ];
|
||||
propagatedBuildInputs = [ flask prometheus_client py-air-control ];
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) py-air-control; };
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ buildPythonPackage
|
||||
, callPackage
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, fetchPypi
|
||||
, lib
|
||||
, pytest
|
||||
|
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
|||
# and shouldn't be used in production code
|
||||
propagatedBuildInputs = [ (callPackage ./infix.nix { }) ];
|
||||
|
||||
checkInputs = [ pytest pytestcov ];
|
||||
checkInputs = [ pytest pytest-cov ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://gitlab.com/danielhones/pycategories";
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, isPy27
|
||||
, future, python-language-server, mypy, configparser
|
||||
, pytestCheckHook, mock, pytestcov, coverage
|
||||
, pytestCheckHook, mock, pytest-cov, coverage
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
|
@ -34,7 +34,7 @@ buildPythonPackage rec {
|
|||
})
|
||||
];
|
||||
|
||||
checkInputs = [ mock pytestcov coverage pytestCheckHook ];
|
||||
checkInputs = [ mock pytest-cov coverage pytestCheckHook ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
mypy python-language-server configparser
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
, pyflakes
|
||||
, pytest
|
||||
, pytestcache
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, covCore
|
||||
, pytest-flakes
|
||||
, sphinx
|
||||
|
@ -33,7 +33,7 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [ httplib2 oauth oauth2 semantic-version ];
|
||||
checkInputs = [
|
||||
flask httpretty oauthlib pyflakes pytest pytestcache pytestcov covCore
|
||||
flask httpretty oauthlib pyflakes pytest pytestcache pytest-cov covCore
|
||||
pytest-flakes sphinx mock chalice
|
||||
];
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
, fetchPypi
|
||||
, fetchpatch
|
||||
, pytest
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, pytestCheckHook
|
||||
, numpy
|
||||
, astropy
|
||||
|
@ -37,7 +37,7 @@ buildPythonPackage rec {
|
|||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
pytestcov
|
||||
pytest-cov
|
||||
numpy
|
||||
scipy
|
||||
h5py
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
, pytest
|
||||
, pytestcache
|
||||
, pytestCheckHook
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -32,7 +32,7 @@ buildPythonPackage rec {
|
|||
mock
|
||||
pytestCheckHook
|
||||
pytestcache
|
||||
pytestcov
|
||||
pytest-cov
|
||||
];
|
||||
|
||||
pytestFlagsArray = [ "--ignore=docs" ];
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, pytest-doctestplus
|
||||
, pytestCheckHook
|
||||
, setuptools-scm
|
||||
|
@ -25,7 +25,7 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [
|
||||
pytest-doctestplus
|
||||
pytestcov
|
||||
pytest-cov
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ 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 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -13,7 +13,7 @@ buildPythonPackage rec {
|
|||
|
||||
buildInputs = [ 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 = ''
|
||||
py.test ${lib.optionalString isPyPy "-k'not (test_run or test_run_integration)'"}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
, pytest
|
||||
, pytestCheckHook
|
||||
, pexpect
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
|||
|
||||
buildInputs = [ pytest ];
|
||||
|
||||
checkInputs = [ pytestCheckHook pexpect pytestcov ];
|
||||
checkInputs = [ pytestCheckHook pexpect pytest-cov ];
|
||||
|
||||
disabledTests = [
|
||||
"test_suppresses_timeout_when_pdb_is_entered"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ 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 {
|
||||
pname = "pytest-virtualenv";
|
||||
|
@ -10,7 +10,7 @@ buildPythonPackage rec {
|
|||
sha256 = "03w2zz3crblj1p6i8nq17946hbn3zqp9z7cfnifw47hi4a4fww12";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest pytestcov mock cmdline ];
|
||||
checkInputs = [ pytest pytest-cov mock cmdline ];
|
||||
propagatedBuildInputs = [ pytest-fixture-config pytest-shutil virtualenv ];
|
||||
checkPhase = "py.test tests/unit ";
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, pyyaml, pytest, pytestcov }:
|
||||
{ lib, buildPythonPackage, fetchPypi, pyyaml, pytest, pytest-cov }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-hosts";
|
||||
|
@ -15,7 +15,7 @@ buildPythonPackage rec {
|
|||
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
|
||||
checkPhase = ''
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
|
||||
, pytestCheckHook, mock, pytestcov, coverage
|
||||
, pytestCheckHook, mock, pytest-cov, coverage
|
||||
, future, futures ? null, ujson, isPy38
|
||||
}:
|
||||
|
||||
|
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
|||
'';
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook mock pytestcov coverage
|
||||
pytestCheckHook mock pytest-cov coverage
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ future ujson ]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, pythonAtLeast, pythonOlder, isPy27
|
||||
, 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"].
|
||||
providers ? ["*"]
|
||||
# The following packages are optional and
|
||||
|
@ -55,7 +55,7 @@ buildPythonPackage rec {
|
|||
doCheck = providers == ["*"];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook mock pytestcov coverage flaky
|
||||
pytestCheckHook mock pytest-cov coverage flaky
|
||||
# Do not propagate flake8 or it will enable pyflakes implicitly
|
||||
flake8
|
||||
# rope is technically a dependency, but we don't add it by default since we
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
, pkgconfig
|
||||
, psutil
|
||||
, pytest
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, pytestrunner
|
||||
, setuptools-scm
|
||||
}:
|
||||
|
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
|||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm pkgconfig pytestrunner ];
|
||||
checkInputs = [ pytest pytestcov psutil ];
|
||||
checkInputs = [ pytest pytest-cov psutil ];
|
||||
propagatedBuildInputs = lib.optionals (!isPy3k) [ future ];
|
||||
|
||||
# give a hint to setuptools-scm on package version
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, pytestcov
|
||||
, pytest-cov
|
||||
, mock
|
||||
, pyyaml
|
||||
, six
|
||||
|
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
|||
|
||||
checkInputs = [
|
||||
pytest
|
||||
pytestcov
|
||||
pytest-cov
|
||||
mock
|
||||
pyyaml
|
||||
];
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{ buildPythonPackage, lib, fetchPypi, numpy
|
||||
, pydantic, pint, networkx, pytestrunner, pytestcov, pytest
|
||||
, pydantic, pint, networkx, pytestrunner, pytest-cov, pytest
|
||||
} :
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "qcelemental";
|
||||
version = "0.21.0";
|
||||
|
||||
checkInputs = [ pytestrunner pytestcov pytest ];
|
||||
checkInputs = [ pytestrunner pytest-cov pytest ];
|
||||
propagatedBuildInputs = [ numpy pydantic pint networkx ];
|
||||
|
||||
src = fetchPypi {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ buildPythonPackage, lib, fetchPypi, pyyaml, qcelemental, pydantic
|
||||
, py-cpuinfo, psutil, pytestrunner, pytest, pytestcov
|
||||
, py-cpuinfo, psutil, pytestrunner, pytest, pytest-cov
|
||||
} :
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -8,7 +8,7 @@ buildPythonPackage rec {
|
|||
|
||||
checkInputs = [
|
||||
pytestrunner
|
||||
pytestcov
|
||||
pytest-cov
|
||||
pytest
|
||||
];
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ buildPythonPackage, lib, fetchFromGitHub, isPy3k
|
||||
, cython, setuptools
|
||||
, numpy, affine, attrs, cligj, click-plugins, snuggs, gdal
|
||||
, pytest, pytestcov, packaging, hypothesis, boto3, mock
|
||||
, pytest, pytest-cov, packaging, hypothesis, boto3, mock
|
||||
, certifi, shapely
|
||||
}:
|
||||
|
||||
|
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
|||
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 ];
|
||||
propagatedBuildInputs = [ certifi gdal numpy attrs affine cligj click-plugins snuggs setuptools ];
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, flake8, pytest, pytestcov, pexpect }:
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, flake8, pytest, pytest-cov, pexpect }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "readchar";
|
||||
|
@ -13,7 +13,7 @@ buildPythonPackage rec {
|
|||
};
|
||||
|
||||
nativeBuildInputs = [ flake8 ];
|
||||
checkInputs = [ pytest pytestcov pexpect ];
|
||||
checkInputs = [ pytest pytest-cov pexpect ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/magmax/python-readchar";
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue