Merge pull request #130925 from SuperSandro2000/python-aliases
This commit is contained in:
commit
d06f7e07a6
269 changed files with 545 additions and 552 deletions
|
@ -18,7 +18,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||
|
||||
nativeBuildInputs = [ wrapGAppsHook gettext ];
|
||||
|
||||
checkInputs = [ gdk-pixbuf hicolor-icon-theme ] ++ (with python3.pkgs; [ pytest pytest_xdist polib xvfb-run dbus.daemon glibcLocales ]);
|
||||
checkInputs = [ gdk-pixbuf hicolor-icon-theme ] ++ (with python3.pkgs; [ pytest pytest-xdist polib xvfb-run dbus.daemon glibcLocales ]);
|
||||
|
||||
buildInputs = [ gnome.adwaita-icon-theme libsoup glib glib-networking gtk3 webkitgtk gdk-pixbuf keybinder3 gtksourceview libmodplug libappindicator-gtk3 kakasi gobject-introspection ]
|
||||
++ (if xineBackend then [ xine-lib ] else with gst_all_1;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -18,7 +18,7 @@ in pythonPackages.buildPythonApplication rec {
|
|||
|
||||
buildInputs = with pythonPackages; [ glibcLocales ];
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [ attrs beautifulsoup4 ConfigArgParse keyring pyasn1 requests six urllib3 ];
|
||||
propagatedBuildInputs = with pythonPackages; [ attrs beautifulsoup4 configargparse keyring pyasn1 requests six urllib3 ];
|
||||
|
||||
checkInputs = with pythonPackages; [ pytest mock ];
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ with python3.pkgs; buildPythonApplication rec {
|
|||
pkgs.vdirsyncer
|
||||
pytz
|
||||
pyxdg
|
||||
requests_toolbelt
|
||||
requests-toolbelt
|
||||
tzlocal
|
||||
urwid
|
||||
pkginfo
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, pytestrunner, pytest }:
|
||||
{ lib, buildPythonPackage, fetchPypi, pytest-runner, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Cerberus";
|
||||
|
@ -9,7 +9,7 @@ buildPythonPackage rec {
|
|||
sha256 = "1pxzr8sfm2hc5s96m9k044i44nwkva70n0ypr6a35v73zn891cx5";
|
||||
};
|
||||
|
||||
checkInputs = [ pytestrunner pytest ];
|
||||
checkInputs = [ pytest-runner pytest ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://python-cerberus.org/";
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
, waylandSupport ? true
|
||||
, x11Support ? true
|
||||
|
||||
, ConfigArgParse
|
||||
, configargparse
|
||||
, rofi
|
||||
, wl-clipboard
|
||||
, wtype
|
||||
|
@ -26,7 +26,7 @@ buildPythonApplication rec {
|
|||
|
||||
# `rofi` and the `waylandSupport` and `x11Support` dependencies
|
||||
# contain binaries needed at runtime.
|
||||
propagatedBuildInputs = with lib; [ ConfigArgParse rofi ]
|
||||
propagatedBuildInputs = with lib; [ configargparse rofi ]
|
||||
++ optionals waylandSupport [ wl-clipboard wtype ]
|
||||
++ optionals x11Support [ xdotool xsel ];
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ python3Packages.buildPythonApplication rec {
|
|||
substituteInPlace setup.py --replace "bottle==" "bottle>="
|
||||
'';
|
||||
|
||||
nativeBuildInputs = with python3Packages; [ pytestrunner ];
|
||||
nativeBuildInputs = with python3Packages; [ pytest-runner ];
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
daemonocle
|
||||
dnspython
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ lib, fetchgit
|
||||
, buildPythonApplication, buildPythonPackage
|
||||
, pygobject3, pytestrunner, requests, responses, pytest, python-olm
|
||||
, pygobject3, pytest-runner, requests, responses, pytest, python-olm
|
||||
, canonicaljson, olm
|
||||
}:
|
||||
let
|
||||
|
@ -20,7 +20,7 @@ let
|
|||
|
||||
propagatedBuildInputs = [
|
||||
requests responses olm python-olm canonicaljson
|
||||
pytestrunner pytest
|
||||
pytest-runner pytest
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
|
|
@ -36,7 +36,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||
glibcLocales
|
||||
] ++ (with python3.pkgs; [
|
||||
pytestCheckHook
|
||||
pytestcov
|
||||
pytest-cov
|
||||
pytest-mock
|
||||
]);
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, fetchFromGitHub, buildPythonApplication, fuse
|
||||
, appdirs, colorama, python-dateutil, requests, requests_toolbelt
|
||||
, appdirs, colorama, python-dateutil, requests, requests-toolbelt
|
||||
, fusepy, sqlalchemy, setuptools }:
|
||||
|
||||
buildPythonApplication rec {
|
||||
|
@ -16,7 +16,7 @@ buildPythonApplication rec {
|
|||
};
|
||||
|
||||
propagatedBuildInputs = [ appdirs colorama python-dateutil fusepy requests
|
||||
requests_toolbelt setuptools sqlalchemy ];
|
||||
requests-toolbelt setuptools sqlalchemy ];
|
||||
|
||||
makeWrapperArgs = [ "--prefix LIBFUSE_PATH : ${fuse}/lib/libfuse.so" ];
|
||||
|
||||
|
|
|
@ -148,7 +148,7 @@ let
|
|||
pytest
|
||||
pytest-django
|
||||
pytest-env
|
||||
pytest_xdist
|
||||
pytest-xdist
|
||||
];
|
||||
|
||||
pyocrWithUserTesseract = pyPkgs:
|
||||
|
|
|
@ -44,8 +44,8 @@ buildPythonApplication rec {
|
|||
freezegun
|
||||
hypothesis
|
||||
pytest
|
||||
pytestrunner
|
||||
pytestcov
|
||||
pytest-runner
|
||||
pytest-cov
|
||||
glibcLocales
|
||||
];
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ python3Packages.buildPythonApplication rec {
|
|||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
appdirs
|
||||
ConfigArgParse
|
||||
configargparse
|
||||
connection-pool
|
||||
datrie
|
||||
docutils
|
||||
|
|
|
@ -27,7 +27,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||
intltool
|
||||
gobject-introspection
|
||||
wrapGAppsHook
|
||||
python3.pkgs.pytestrunner
|
||||
python3.pkgs.pytest-runner
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
|
|
@ -9,7 +9,7 @@ buildPythonApplication rec {
|
|||
# application, it would mess up the Python environment. Thus, don't add it
|
||||
# here, instead add it to PATH when running unit tests
|
||||
checkInputs = [ pytest pytest-flake8 git ];
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
nativeBuildInputs = [ pytest-runner ];
|
||||
propagatedBuildInputs = [ ipython nbformat ];
|
||||
|
||||
src = fetchPypi {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, writeText, asttokens
|
||||
, pycryptodome, pytest_xdist, pytestcov, recommonmark, semantic-version, sphinx
|
||||
, sphinx_rtd_theme, pytestrunner }:
|
||||
, pycryptodome, pytest-xdist, pytest-cov, recommonmark, semantic-version, sphinx
|
||||
, sphinx_rtd_theme, pytest-runner }:
|
||||
|
||||
let
|
||||
sample-contract = writeText "example.vy" ''
|
||||
|
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
|||
sha256 = "e763561a161c35c03b92a0c176096dd9b4c78ab003c2f08324d443f459b3de84";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
nativeBuildInputs = [ pytest-runner ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -43,7 +43,7 @@ python27Packages.buildPythonApplication {
|
|||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
propagatedBuildInputs = [ deps.oildev python27Packages.ConfigArgParse ];
|
||||
propagatedBuildInputs = [ deps.oildev python27Packages.configargparse ];
|
||||
|
||||
patchPhase = ''
|
||||
for file in resholve; do
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, pytest
|
||||
, pytest-asyncio
|
||||
, contextvars
|
||||
|
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
|||
};
|
||||
|
||||
buildInputs = [
|
||||
pytestrunner
|
||||
pytest-runner
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
|
|
|
@ -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
|
||||
, pytest-runner, 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
|
||||
pytest-runner coverage flake8 mock pytestCheckHook pytest-cov tox gntp sleekxmpp
|
||||
];
|
||||
|
||||
disabledTests = [ "test_apprise_cli_nux_env" ];
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
, importlib-metadata
|
||||
, pexpect
|
||||
, prettytable
|
||||
, requests_toolbelt
|
||||
, requests-toolbelt
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "argcomplete";
|
||||
|
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
|||
importlib-metadata
|
||||
pexpect
|
||||
prettytable
|
||||
requests_toolbelt
|
||||
requests-toolbelt
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "argcomplete" ];
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, glibcLocales
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
|
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
|||
LC_ALL = "en_US.UTF-8";
|
||||
buildInputs = [ glibcLocales ];
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
nativeBuildInputs = [ pytest-runner ];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
|
|
|
@ -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 = ''
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, numpy
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
|
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
|||
sha256 = "039pxzgll2yz8xpr6bw788ymvgvqgna5kgl9m6d9mzi4yhbjsjpx";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
nativeBuildInputs = [ pytest-runner ];
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
|
||||
|
|
|
@ -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,5 +1,5 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, fetchFromGitHub
|
||||
, wheel, pytestCheckHook, pytestrunner, pythonAtLeast }:
|
||||
, wheel, pytestCheckHook, pytest-runner, pythonAtLeast }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.18.4";
|
||||
|
@ -16,7 +16,7 @@ buildPythonPackage rec {
|
|||
propagatedBuildInputs = [ wheel ];
|
||||
|
||||
# Using pytes instead of setuptools check hook allows disabling specific tests
|
||||
checkInputs = [ pytestCheckHook pytestrunner ];
|
||||
checkInputs = [ pytestCheckHook pytest-runner ];
|
||||
dontUseSetuptoolsCheck = true;
|
||||
disabledTests = [
|
||||
# Test fails with a an error: AssertionError: assert 30 == 31
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, buildPythonPackage, fetchPypi
|
||||
, betamax, requests_toolbelt }:
|
||||
, betamax, requests-toolbelt }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "betamax-matchers";
|
||||
|
@ -10,7 +10,7 @@ buildPythonPackage rec {
|
|||
sha256 = "07qpwjyq2i2aqhz5iwghnj4pqr2ys5n45v1vmpcfx9r5mhwrsq43";
|
||||
};
|
||||
|
||||
buildInputs = [ betamax requests_toolbelt ];
|
||||
buildInputs = [ betamax requests-toolbelt ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/sigmavirus24/betamax_matchers";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, six
|
||||
, html5lib
|
||||
, setuptools
|
||||
|
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
|||
sha256 = "sha256-mLMXBznl6D3Z3BljPwdHJ62EjL7bYCZwjIrC07aXpDM=";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest pytestrunner ];
|
||||
checkInputs = [ pytest pytest-runner ];
|
||||
propagatedBuildInputs = [ packaging six html5lib setuptools ];
|
||||
|
||||
# Disable network tests
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
, makeFontsConf
|
||||
, freefont_ttf
|
||||
, pytest
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, glibcLocales
|
||||
, cairo
|
||||
, cffi
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
, makeFontsConf
|
||||
, freefont_ttf
|
||||
, pytest
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, glibcLocales
|
||||
, cairo
|
||||
, cffi
|
||||
|
|
|
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
|||
fontDirectories = [ freefont_ttf ];
|
||||
};
|
||||
|
||||
checkInputs = [ numpy pytest pytestrunner glibcLocales ];
|
||||
checkInputs = [ numpy pytest pytest-runner glibcLocales ];
|
||||
propagatedBuildInputs = [ cairo cffi ] ++ lib.optional withXcffib xcffib;
|
||||
|
||||
checkPhase = ''
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, lib, buildPythonPackage, fetchFromGitHub, humanfriendly, pytestCheckHook, pytestcov }:
|
||||
{ stdenv, lib, buildPythonPackage, fetchFromGitHub, humanfriendly, pytestCheckHook, pytest-cov }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "capturer";
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
, buildPythonPackage
|
||||
, python, runCommand
|
||||
, fetchFromGitHub
|
||||
, ConfigArgParse, acme, configobj, cryptography, distro, josepy, parsedatetime, pyRFC3339, pyopenssl, pytz, requests, six, zope_component, zope_interface
|
||||
, configargparse, acme, configobj, cryptography, distro, josepy, parsedatetime, pyRFC3339, pyopenssl, pytz, requests, six, zope_component, zope_interface
|
||||
, dialog, gnureadline
|
||||
, pytest_xdist, pytestCheckHook, python-dateutil
|
||||
, pytest-xdist, pytestCheckHook, python-dateutil
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
|||
sourceRoot = "source/${pname}";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
ConfigArgParse
|
||||
configargparse
|
||||
acme
|
||||
configobj
|
||||
cryptography
|
||||
|
@ -42,7 +42,7 @@ buildPythonPackage rec {
|
|||
checkInputs = [
|
||||
python-dateutil
|
||||
pytestCheckHook
|
||||
pytest_xdist
|
||||
pytest-xdist
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
# pythonPackages
|
||||
, click
|
||||
, pytest
|
||||
, pytestcov
|
||||
, pytestrunner
|
||||
, pytest-cov
|
||||
, pytest-runner
|
||||
, pyyaml
|
||||
, six
|
||||
}:
|
||||
|
@ -30,8 +30,8 @@ buildPythonPackage rec {
|
|||
|
||||
checkInputs = [
|
||||
pytest
|
||||
pytestcov
|
||||
pytestrunner
|
||||
pytest-cov
|
||||
pytest-runner
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
|
|
|
@ -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 = [
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, fetchpatch
|
||||
, pytest, pytestrunner, hypothesis }:
|
||||
, pytest, pytest-runner, hypothesis }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "chardet";
|
||||
|
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
|||
})
|
||||
];
|
||||
|
||||
checkInputs = [ pytest pytestrunner hypothesis ];
|
||||
checkInputs = [ pytest pytest-runner hypothesis ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/chardet/chardet";
|
||||
|
|
|
@ -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,5 +1,5 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, isPy27
|
||||
, pytest, pytestrunner, pytestCheckHook }:
|
||||
, pytest, pytest-runner, pytestCheckHook }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.0.0";
|
||||
|
@ -12,7 +12,7 @@ buildPythonPackage rec {
|
|||
sha256 = "12ax07n81vxbyayhwzi1q6x7gfmwmvrvwm1n4ii6qa6fqlp9pzj7";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ]; # pytest-runner included in setup-requires
|
||||
nativeBuildInputs = [ pytest-runner ]; # pytest-runner included in setup-requires
|
||||
checkInputs = [ pytest pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "ci" ];
|
||||
|
|
|
@ -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
|
||||
];
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
, isPy27
|
||||
, mock
|
||||
, pytest
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, sh
|
||||
, coverage
|
||||
, docopt
|
||||
|
@ -33,7 +33,7 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
buildInputs = [
|
||||
pytestrunner
|
||||
pytest-runner
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
, fetchPypi
|
||||
, tinycss2
|
||||
, pytest
|
||||
, pytestrunner
|
||||
, pytestcov
|
||||
, pytest-runner
|
||||
, pytest-cov
|
||||
, pytest-flake8
|
||||
, pytest-isort
|
||||
}:
|
||||
|
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [ tinycss2 ];
|
||||
|
||||
checkInputs = [ pytest pytestrunner pytestcov pytest-flake8 pytest-isort ];
|
||||
checkInputs = [ pytest pytest-runner pytest-cov pytest-flake8 pytest-isort ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "CSS selectors for Python ElementTree";
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, stdenv, buildPythonPackage, isPy3k, fetchFromGitHub
|
||||
, asgiref, autobahn, twisted, pytestrunner
|
||||
, asgiref, autobahn, twisted, pytest-runner
|
||||
, hypothesis, pytest, pytest-asyncio, service-identity, pyopenssl
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
|
@ -15,7 +15,7 @@ buildPythonPackage rec {
|
|||
sha256 = "sha256-KWkMV4L7bA2Eo/u4GGif6lmDNrZAzvYyDiyzyWt9LeI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
nativeBuildInputs = [ pytest-runner ];
|
||||
|
||||
propagatedBuildInputs = [ asgiref autobahn twisted service-identity pyopenssl ];
|
||||
|
||||
|
|
|
@ -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
|
||||
];
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
, flask
|
||||
, psutil
|
||||
, pytest-timeout
|
||||
, pytest_xdist
|
||||
, pytest-xdist
|
||||
, pytestCheckHook
|
||||
, requests
|
||||
, isPy27
|
||||
|
@ -75,7 +75,7 @@ buildPythonPackage rec {
|
|||
flask
|
||||
psutil
|
||||
pytest-timeout
|
||||
pytest_xdist
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
requests
|
||||
] ++ lib.optionals (!isPy27) [
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, pythonOlder
|
||||
, fonttools, setuptools-scm
|
||||
, pytest, pytestrunner, lxml, fs, unicodedata2, fontpens
|
||||
, pytest, pytest-runner, lxml, fs, unicodedata2, fontpens
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -25,7 +25,7 @@ buildPythonPackage rec {
|
|||
|
||||
checkInputs = [
|
||||
pytest
|
||||
pytestrunner
|
||||
pytest-runner
|
||||
lxml
|
||||
fs
|
||||
unicodedata2
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, buildPythonPackage, fetchPypi
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, setuptools
|
||||
, coverage, pytest
|
||||
}:
|
||||
|
@ -13,7 +13,7 @@ buildPythonPackage rec {
|
|||
sha256 = "0klb0ysybzlh2wihvir82hgq62v0jjmlcqklwajyms7c0p529yby";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
nativeBuildInputs = [ pytest-runner ];
|
||||
|
||||
propagatedBuildInputs = [ setuptools ];
|
||||
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pytestcov
|
||||
, pytest_xdist
|
||||
, pytest-cov
|
||||
, pytest-xdist
|
||||
, pytest-django
|
||||
, mock
|
||||
}:
|
||||
|
@ -22,8 +22,8 @@ buildPythonPackage rec {
|
|||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
pytestcov
|
||||
pytest_xdist
|
||||
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,6 +1,6 @@
|
|||
{ lib, buildPythonPackage, fetchPypi
|
||||
, django_environ, mock, django
|
||||
, pytest, pytestrunner, pytest-django
|
||||
, pytest, pytest-runner, pytest-django
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "django-guardian";
|
||||
|
@ -11,7 +11,7 @@ buildPythonPackage rec {
|
|||
sha256 = "c58a68ae76922d33e6bdc0e69af1892097838de56e93e78a8361090bcd9f89a0";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest pytestrunner pytest-django django_environ mock ];
|
||||
checkInputs = [ pytest pytest-runner pytest-django django_environ mock ];
|
||||
propagatedBuildInputs = [ django ];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -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,5 +1,5 @@
|
|||
{ lib, buildPythonPackage, fetchPypi
|
||||
, pytestrunner, requests, urllib3, mock, setuptools, stone }:
|
||||
, pytest-runner, requests, urllib3, mock, setuptools, stone }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dropbox";
|
||||
|
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
|||
# Set DROPBOX_TOKEN environment variable to a valid token.
|
||||
doCheck = false;
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
nativeBuildInputs = [ pytest-runner ];
|
||||
propagatedBuildInputs = [ requests urllib3 mock setuptools stone ];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, pytest, pytestcov, mock
|
||||
, pytest_xdist, covCore, glibcLocales }:
|
||||
{ lib, buildPythonPackage, fetchPypi, pytest, pytest-cov, mock
|
||||
, pytest-xdist, covCore, glibcLocales }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dyn";
|
||||
|
@ -14,9 +14,9 @@ buildPythonPackage rec {
|
|||
|
||||
checkInputs = [
|
||||
pytest
|
||||
pytestcov
|
||||
pytest-cov
|
||||
mock
|
||||
pytest_xdist
|
||||
pytest-xdist
|
||||
covCore
|
||||
];
|
||||
# Disable checks because they are not stateless and require internet access.
|
||||
|
|
|
@ -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, fetchFromGitHub, pytestrunner, pytest, scipy, pytestCheckHook }:
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, pytest-runner, pytest, scipy, pytestCheckHook }:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "fastpair";
|
||||
|
@ -11,7 +11,7 @@ buildPythonPackage {
|
|||
sha256 = "1l8zgr8awg27lhlkpa2dsvghrb7b12jl1bkgpzg5q7pg8nizl9mx";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
nativeBuildInputs = [ pytest-runner ];
|
||||
|
||||
checkInputs = [ pytest pytestCheckHook ];
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
, numba
|
||||
, numpy
|
||||
, pandas
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, cramjam
|
||||
, fsspec
|
||||
, thrift
|
||||
|
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
|||
hash = "sha256-wSJ6PqW7c8DJCsGuPhXaVGM2s/1dZhLjG4C0JWPcjhY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
nativeBuildInputs = [ pytest-runner ];
|
||||
propagatedBuildInputs = [ cramjam fsspec numba numpy pandas thrift ];
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, requests, beautifulsoup4, pytest, requests-mock,
|
||||
pytestrunner }:
|
||||
pytest-runner }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "favicon";
|
||||
|
@ -10,7 +10,7 @@ buildPythonPackage rec {
|
|||
sha256 = "6d6b5a78de2a0d0084589f687f384b2ecd6a6527093fec564403b1a30605d7a8";
|
||||
};
|
||||
|
||||
buildInputs = [ pytestrunner ];
|
||||
buildInputs = [ pytest-runner ];
|
||||
checkInputs = [ pytest requests-mock ];
|
||||
propagatedBuildInputs = [ requests beautifulsoup4 ];
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
, pytestCheckHook
|
||||
, ffmpeg
|
||||
, future
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, pytest-mock
|
||||
}:
|
||||
|
||||
|
@ -27,7 +27,7 @@ buildPythonPackage rec {
|
|||
})
|
||||
];
|
||||
|
||||
buildInputs = [ pytestrunner ];
|
||||
buildInputs = [ pytest-runner ];
|
||||
propagatedBuildInputs = [ future ];
|
||||
checkInputs = [ pytestCheckHook pytest-mock ];
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, pythonOlder
|
||||
, mock, pytest, pytestrunner
|
||||
, mock, pytest, pytest-runner
|
||||
, configparser, enum34, mccabe, pycodestyle, pyflakes, functools32, typing ? null, importlib-metadata
|
||||
}:
|
||||
|
||||
|
@ -12,7 +12,7 @@ buildPythonPackage rec {
|
|||
sha256 = "07528381786f2a6237b061f6e96610a4167b226cb926e2aa2b6b1d78057c576b";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest mock pytestrunner ];
|
||||
checkInputs = [ pytest mock pytest-runner ];
|
||||
propagatedBuildInputs = [ pyflakes pycodestyle mccabe ]
|
||||
++ lib.optionals (pythonOlder "3.2") [ configparser functools32 ]
|
||||
++ lib.optionals (pythonOlder "3.4") [ enum34 ]
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, requests
|
||||
, requests_toolbelt
|
||||
, requests-toolbelt
|
||||
, requests_oauthlib
|
||||
, pytest
|
||||
, pytestrunner
|
||||
, pytestcov
|
||||
, pytest-runner
|
||||
, pytest-cov
|
||||
, responses
|
||||
}:
|
||||
|
||||
|
@ -19,9 +19,9 @@ buildPythonPackage rec {
|
|||
sha256 = "03g2z21k6nhxgwysjrgnxj9m1yg25mnnkr10gpyfhfkd9w77pcpz";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests requests_toolbelt requests_oauthlib ];
|
||||
propagatedBuildInputs = [ requests requests-toolbelt requests_oauthlib ];
|
||||
|
||||
checkInputs = [ pytest pytestrunner pytestcov responses ];
|
||||
checkInputs = [ pytest pytest-runner pytest-cov responses ];
|
||||
doCheck = false; # Otherwise:
|
||||
# ========================= 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
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, isPy27
|
||||
, fonttools, setuptools-scm
|
||||
, pytest, pytestrunner
|
||||
, pytest, pytest-runner
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
|||
nativeBuildInputs = [ setuptools-scm ];
|
||||
|
||||
propagatedBuildInputs = [ fonttools ];
|
||||
checkInputs = [ pytest pytestrunner ];
|
||||
checkInputs = [ pytest pytest-runner ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A collection of objects that implement fast font, glyph, etc. math";
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, isPy3k
|
||||
, cached-property, frozendict, pystache, pyyaml, pytest, pytestrunner
|
||||
, cached-property, frozendict, pystache, pyyaml, pytest, pytest-runner
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -12,7 +12,7 @@ buildPythonPackage rec {
|
|||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pytestrunner
|
||||
pytest-runner
|
||||
cached-property
|
||||
frozendict
|
||||
pystache
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
, fetchPypi
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, pytest
|
||||
, pytest-asyncio
|
||||
, twisted
|
||||
|
@ -25,7 +25,7 @@ buildPythonPackage rec {
|
|||
sha256 = "3efbd6998600254ec7a2869318bd3ffde38edc3a0d37be0c14bc46b45947b682";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools pytestrunner ];
|
||||
nativeBuildInputs = [ setuptools pytest-runner ];
|
||||
checkInputs = [ pytest pytest-asyncio twisted treq tornado aiohttp ];
|
||||
propagatedBuildInputs = [
|
||||
uritemplate
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
, pyopenssl
|
||||
, pyyaml
|
||||
, requests
|
||||
, requests_toolbelt
|
||||
, requests-toolbelt
|
||||
, terminaltables
|
||||
, websocket-client
|
||||
}:
|
||||
|
@ -53,7 +53,7 @@ buildPythonPackage rec {
|
|||
pyopenssl
|
||||
pyyaml
|
||||
requests
|
||||
requests_toolbelt
|
||||
requests-toolbelt
|
||||
terminaltables
|
||||
websocket-client
|
||||
];
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
, pyparsing
|
||||
, future
|
||||
, pytest
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
|||
future
|
||||
];
|
||||
|
||||
checkInputs = [ pytest pytestrunner ];
|
||||
checkInputs = [ pytest pytest-runner ];
|
||||
|
||||
patches = [ ./no-setup-requires-pytestrunner.patch ];
|
||||
|
||||
|
|
|
@ -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" ];
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, python-dateutil
|
||||
, babelfish
|
||||
, rebulk
|
||||
|
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
|||
|
||||
# Tests require more packages.
|
||||
doCheck = false;
|
||||
buildInputs = [ pytestrunner ];
|
||||
buildInputs = [ pytest-runner ];
|
||||
propagatedBuildInputs = [
|
||||
python-dateutil babelfish rebulk
|
||||
];
|
||||
|
|
|
@ -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,8 +9,8 @@
|
|||
, pandas
|
||||
, codecov
|
||||
, pytest
|
||||
, pytestcov
|
||||
, pytestrunner
|
||||
, pytest-cov
|
||||
, pytest-runner
|
||||
, coveralls
|
||||
, twine
|
||||
, check-manifest
|
||||
|
@ -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 pytest-runner 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
|
||||
];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub
|
||||
, isPy3k, attrs, coverage, enum34, pexpect
|
||||
, doCheck ? true, pytest, pytest_xdist, flaky, mock
|
||||
, doCheck ? true, pytest, pytest-xdist, flaky, mock
|
||||
, sortedcontainers
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
|
@ -29,7 +29,7 @@ buildPythonPackage rec {
|
|||
sortedcontainers
|
||||
] ++ lib.optional (!isPy3k) enum34;
|
||||
|
||||
checkInputs = [ pytest pytest_xdist flaky mock pexpect ];
|
||||
checkInputs = [ pytest pytest-xdist flaky mock pexpect ];
|
||||
inherit doCheck;
|
||||
|
||||
checkPhase = ''
|
||||
|
|
|
@ -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
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pytest_xdist
|
||||
, pytest-xdist
|
||||
, pythonOlder
|
||||
, matplotlib
|
||||
, mock
|
||||
|
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
|||
sha256 = "057v8v5p2picmgiidr9lzjbh7nj54pv95m6lyya3y7dw4vzaamij";
|
||||
};
|
||||
|
||||
checkInputs = [ pytestCheckHook matplotlib mock pytest_xdist ];
|
||||
checkInputs = [ pytestCheckHook matplotlib mock pytest-xdist ];
|
||||
propagatedBuildInputs = [ pytorch scikit-learn tqdm pynvml ];
|
||||
|
||||
# runs succesfully in 3.9, however, async isn't correctly closed so it will fail after test suite.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, pytestrunner, scikitimage }:
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, pytest-runner, scikitimage }:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "image-match";
|
||||
|
@ -11,7 +11,7 @@ buildPythonPackage {
|
|||
sha256 = "0vlmpidmhkpgdzw2k03x5layhijcrjpmyfd93yv2ls77ihz00ix5";
|
||||
};
|
||||
|
||||
buildInputs = [ pytestrunner ];
|
||||
buildInputs = [ pytest-runner ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
scikitimage
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
, six
|
||||
, hypothesis
|
||||
, pytest
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
|
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
|||
sha256 = "114cyff00j9r7qm2ld4w1a4kklr5gx570vk67p56gpr2553dkmly";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
nativeBuildInputs = [ pytest-runner ];
|
||||
propagatedBuildInputs = [ arrow six ];
|
||||
|
||||
checkInputs = [ pytest hypothesis ];
|
||||
|
|
|
@ -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,6 +1,6 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, isPy3k
|
||||
, pytest, pytestrunner, pbr, glibcLocales , pytestcov
|
||||
, requests, requests_oauthlib, requests_toolbelt, defusedxml
|
||||
, pytest, pytest-runner, pbr, glibcLocales , pytest-cov
|
||||
, requests, requests_oauthlib, requests-toolbelt, defusedxml
|
||||
, ipython
|
||||
}:
|
||||
|
||||
|
@ -15,8 +15,8 @@ buildPythonPackage rec {
|
|||
sha256 = "e2a94adff98e45b29ded030adc76103eab34fa7d4d57303f211f572bedba0e93";
|
||||
};
|
||||
|
||||
buildInputs = [ glibcLocales pytest pytestcov pytestrunner pbr ];
|
||||
propagatedBuildInputs = [ requests requests_oauthlib requests_toolbelt defusedxml pbr ipython ];
|
||||
buildInputs = [ glibcLocales pytest pytest-cov pytest-runner pbr ];
|
||||
propagatedBuildInputs = [ requests requests_oauthlib requests-toolbelt defusedxml pbr ipython ];
|
||||
|
||||
# impure tests because of connectivity attempts to jira servers
|
||||
doCheck = false;
|
||||
|
|
|
@ -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,8 +15,8 @@ buildPythonPackage rec {
|
|||
|
||||
checkInputs = [
|
||||
pytest
|
||||
pytestcov
|
||||
pytest_xdist
|
||||
pytest-cov
|
||||
pytest-xdist
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue