mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-30 23:34:12 +03:00
pythonPackages: deprecate pytestrunner alias
This commit is contained in:
parent
4209fed914
commit
9bfdf57e13
@ -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/";
|
||||
|
@ -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;
|
||||
|
@ -44,7 +44,7 @@ buildPythonApplication rec {
|
||||
freezegun
|
||||
hypothesis
|
||||
pytest
|
||||
pytestrunner
|
||||
pytest-runner
|
||||
pytest-cov
|
||||
glibcLocales
|
||||
];
|
||||
|
@ -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, pytest-cov, recommonmark, semantic-version, sphinx
|
||||
, sphinx_rtd_theme, pytestrunner }:
|
||||
, 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 \
|
||||
|
@ -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 = [
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, installShellFiles
|
||||
, Babel, requests, requests_oauthlib, six, click, markdown, pyyaml, cryptography
|
||||
, pytestrunner, coverage, flake8, mock, pytestCheckHook, pytest-cov, 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 pytest-cov tox gntp sleekxmpp
|
||||
pytest-runner coverage flake8 mock pytestCheckHook pytest-cov tox gntp sleekxmpp
|
||||
];
|
||||
|
||||
disabledTests = [ "test_apprise_cli_nux_env" ];
|
||||
|
@ -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 ];
|
||||
|
||||
|
@ -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 ];
|
||||
|
||||
|
@ -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
|
||||
|
@ -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 = ''
|
||||
|
@ -6,7 +6,7 @@
|
||||
, click
|
||||
, pytest
|
||||
, pytest-cov
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, pyyaml
|
||||
, six
|
||||
}:
|
||||
@ -31,7 +31,7 @@ buildPythonPackage rec {
|
||||
checkInputs = [
|
||||
pytest
|
||||
pytest-cov
|
||||
pytestrunner
|
||||
pytest-runner
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
|
@ -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";
|
||||
|
@ -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" ];
|
||||
|
@ -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,7 +4,7 @@
|
||||
, fetchPypi
|
||||
, tinycss2
|
||||
, pytest
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, pytest-cov
|
||||
, pytest-flake8
|
||||
, pytest-isort
|
||||
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [ tinycss2 ];
|
||||
|
||||
checkInputs = [ pytest pytestrunner pytest-cov 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 ];
|
||||
|
||||
|
@ -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 ];
|
||||
|
||||
|
@ -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,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,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 ]
|
||||
|
@ -5,7 +5,7 @@
|
||||
, requests_toolbelt
|
||||
, requests_oauthlib
|
||||
, pytest
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, pytest-cov
|
||||
, responses
|
||||
}:
|
||||
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [ requests requests_toolbelt requests_oauthlib ];
|
||||
|
||||
checkInputs = [ pytest pytestrunner pytest-cov 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,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
|
||||
|
@ -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 ];
|
||||
|
||||
|
@ -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
|
||||
];
|
||||
|
@ -10,7 +10,7 @@
|
||||
, codecov
|
||||
, pytest
|
||||
, pytest-cov
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, coveralls
|
||||
, twine
|
||||
, check-manifest
|
||||
@ -36,7 +36,7 @@ buildPythonPackage rec {
|
||||
|
||||
doCheck = false; # incompatible with latest astropy
|
||||
checkInputs = [
|
||||
pytest pytest-cov pytestrunner coveralls scipy pandas astropy twine check-manifest codecov
|
||||
pytest pytest-cov pytest-runner coveralls scipy pandas astropy twine check-manifest codecov
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "hickle" ];
|
||||
|
@ -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,5 +1,5 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy3k
|
||||
, pytest, pytestrunner, pbr, glibcLocales , pytest-cov
|
||||
, pytest, pytest-runner, pbr, glibcLocales , pytest-cov
|
||||
, requests, requests_oauthlib, requests_toolbelt, defusedxml
|
||||
, ipython
|
||||
}:
|
||||
@ -15,7 +15,7 @@ buildPythonPackage rec {
|
||||
sha256 = "e2a94adff98e45b29ded030adc76103eab34fa7d4d57303f211f572bedba0e93";
|
||||
};
|
||||
|
||||
buildInputs = [ glibcLocales pytest pytest-cov pytestrunner pbr ];
|
||||
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
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, keyutils, pytestrunner, pytest }:
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, keyutils, pytest-runner, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "keyutils";
|
||||
@ -13,7 +13,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
buildInputs = [ keyutils ];
|
||||
checkInputs = [ pytest pytestrunner ];
|
||||
checkInputs = [ pytest pytest-runner ];
|
||||
|
||||
meta = {
|
||||
description = "A set of python bindings for keyutils";
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ lib, buildPythonPackage, fetchPypi,
|
||||
six, pytest, pytestrunner, pytest-cov, coverage
|
||||
six, pytest, pytest-runner, pytest-cov, coverage
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "libais";
|
||||
@ -13,7 +13,7 @@ buildPythonPackage rec {
|
||||
# data files missing
|
||||
doCheck = false;
|
||||
|
||||
checkInputs = [ pytest pytestrunner pytest-cov coverage ];
|
||||
checkInputs = [ pytest pytest-runner pytest-cov coverage ];
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -5,7 +5,7 @@
|
||||
, mock
|
||||
, pycrypto
|
||||
, requests
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, pytest
|
||||
, requests-mock
|
||||
, typing
|
||||
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
sha256 = "70096690b24a7832cc5abdfda1954b49fddc1c09a348a1e6caa781ac867ed4c6";
|
||||
};
|
||||
|
||||
checkInputs = [ mock pytest pytestrunner requests-mock ];
|
||||
checkInputs = [ mock pytest pytest-runner requests-mock ];
|
||||
propagatedBuildInputs = [ pycrypto requests ]
|
||||
++ lib.optionals isPy27 [ typing backports_ssl_match_hostname ];
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
, mock
|
||||
, pycrypto
|
||||
, requests
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, pytest
|
||||
, requests-mock
|
||||
, typing
|
||||
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||
sha256 = "d7450453eaf5904eb4fb4f74cf9f37dc83721a719bce34f5abb336b1a1ab974d";
|
||||
};
|
||||
|
||||
checkInputs = [ mock pytest pytestrunner requests-mock ];
|
||||
checkInputs = [ mock pytest pytest-runner requests-mock ];
|
||||
propagatedBuildInputs = [ pycrypto requests ] ++ lib.optionals isPy27 [ typing ];
|
||||
|
||||
preConfigure = "cp libcloud/test/secrets.py-dist libcloud/test/secrets.py";
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ buildPythonPackage, freezegun, fetchFromGitHub, lib, pytestCheckHook
|
||||
, pytest-mock, pytestrunner, six, tornado_4 }:
|
||||
, pytest-mock, pytest-runner, six, tornado_4 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "lomond";
|
||||
@ -12,7 +12,7 @@ buildPythonPackage rec {
|
||||
sha256 = "0lydq0imala08wxdyg2iwhqa6gcdrn24ah14h91h2zcxjhjk4gv8";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
nativeBuildInputs = [ pytest-runner ];
|
||||
propagatedBuildInputs = [ six ];
|
||||
checkInputs = [ pytestCheckHook freezegun pytest-mock tornado_4 ];
|
||||
# Makes HTTP requests
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, fetchPypi, buildPythonPackage, pytestrunner, six, beautifulsoup4, requests, }:
|
||||
{ lib, fetchPypi, buildPythonPackage, pytest-runner, six, beautifulsoup4, requests, }:
|
||||
buildPythonPackage rec {
|
||||
pname = "lyricwikia";
|
||||
version = "0.1.11";
|
||||
@ -8,7 +8,7 @@ buildPythonPackage rec {
|
||||
sha256 = "0l5lkvr3299x79i7skdiggp67rzgax3s00psd1zqkxfysq27jvc8";
|
||||
};
|
||||
|
||||
buildInputs = [ pytestrunner ];
|
||||
buildInputs = [ pytest-runner ];
|
||||
propagatedBuildInputs = [ six beautifulsoup4 requests ];
|
||||
# upstream has no code tests
|
||||
doCheck = false;
|
||||
|
@ -2,7 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, cython
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, pytestCheckHook
|
||||
, hypothesis
|
||||
}:
|
||||
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
pytestrunner
|
||||
pytest-runner
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, markdown,
|
||||
pytest, pytestrunner, pytest-cov, coverage }:
|
||||
pytest, pytest-runner, pytest-cov, coverage }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "MarkdownSuperscript";
|
||||
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||
sed 's/=.*//' -i requirements/*.txt
|
||||
'';
|
||||
|
||||
checkInputs = [ pytest pytestrunner pytest-cov coverage ];
|
||||
checkInputs = [ pytest pytest-runner pytest-cov coverage ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An extension to the Python Markdown package enabling superscript text";
|
||||
|
@ -5,7 +5,7 @@
|
||||
, hopcroftkarp
|
||||
, multiset
|
||||
, pytest
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, hypothesis
|
||||
, setuptools-scm
|
||||
, isPy27
|
||||
@ -36,7 +36,7 @@ buildPythonPackage rec {
|
||||
--replace "pytest>=3.0,<4.0" "pytest"
|
||||
'';
|
||||
|
||||
buildInputs = [ setuptools-scm pytestrunner ];
|
||||
buildInputs = [ setuptools-scm pytest-runner ];
|
||||
checkInputs = [ pytest hypothesis ];
|
||||
propagatedBuildInputs = [ hopcroftkarp multiset ];
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, requests
|
||||
, pytest, pytestrunner, responses
|
||||
, pytest, pytest-runner, responses
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -14,7 +14,7 @@ buildPythonPackage rec {
|
||||
sha256 = "1mgjd0ymf9mvqjkvgx3xjhxap7rzdmpa21wfy0cxbw2xcswcrqyw";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest pytestrunner responses ];
|
||||
checkInputs = [ pytest pytest-runner responses ];
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, pytest, pytestrunner }:
|
||||
{ lib, buildPythonPackage, fetchPypi, pytest, pytest-runner }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mccabe";
|
||||
@ -9,7 +9,7 @@ buildPythonPackage rec {
|
||||
sha256 = "07w3p1qm44hgxf3vvwz84kswpsx6s7kvaibzrsx5dzm0hli1i3fx";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest pytestrunner ];
|
||||
buildInputs = [ pytest pytest-runner ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "McCabe checker, plugin for flake8";
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ lib, fetchFromGitHub, buildPythonPackage, isPy3k
|
||||
, sympy, pytest, pytestrunner, sphinx, setuptools-scm }:
|
||||
, sympy, pytest, pytest-runner, sphinx, setuptools-scm }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "measurement";
|
||||
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||
sed -i 's|use_scm_version=True|version="${version}"|' setup.py
|
||||
'';
|
||||
|
||||
checkInputs = [ pytest pytestrunner ];
|
||||
checkInputs = [ pytest pytest-runner ];
|
||||
nativeBuildInputs = [ sphinx setuptools-scm ];
|
||||
propagatedBuildInputs = [ sympy ];
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, pytestCheckHook, pytestrunner, pytest-cov
|
||||
, pytestCheckHook, pytest-runner, pytest-cov
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
@ -14,7 +14,7 @@ buildPythonPackage rec {
|
||||
sha256 = "25b4e5f22d3a37ddf3effc0710ba692cfc792c2b9edfb9c05aefe823256e84d5";
|
||||
};
|
||||
|
||||
checkInputs = [ pytestCheckHook pytestrunner pytest-cov ];
|
||||
checkInputs = [ pytestCheckHook pytest-runner pytest-cov ];
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools-scm
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, pytest
|
||||
}:
|
||||
|
||||
@ -15,7 +15,7 @@ buildPythonPackage rec {
|
||||
sha256 = "4801569c08bfcecfe7b0927b17f079c90f8607aca8fecaf42ded92b737162bc7";
|
||||
};
|
||||
|
||||
buildInputs = [ setuptools-scm pytestrunner ];
|
||||
buildInputs = [ setuptools-scm pytest-runner ];
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -2,7 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
pytestrunner
|
||||
pytest-runner
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, watchdog, flake8
|
||||
, pytest, pytestrunner, coverage, sphinx, twine }:
|
||||
, pytest, pytest-runner, coverage, sphinx, twine }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ndjson";
|
||||
@ -10,7 +10,7 @@ buildPythonPackage rec {
|
||||
sha256 = "v5dGy2uxy1PRcs2n8VTAfHhtZl/yg0Hk5om3lrIp5dY=";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest pytestrunner flake8 twine sphinx coverage watchdog ];
|
||||
checkInputs = [ pytest pytest-runner flake8 twine sphinx coverage watchdog ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/rhgrant10/ndjson";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, cython, numpy, nine, pytest, pytestrunner, python-utils, enum34 }:
|
||||
{ lib, buildPythonPackage, fetchPypi, cython, numpy, nine, pytest, pytest-runner, python-utils, enum34 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "numpy-stl";
|
||||
@ -9,7 +9,7 @@ buildPythonPackage rec {
|
||||
sha256 = "411c633d2a03c295d98fb26023a6e7f574ceead04015d06e80cdab20b630a742";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest pytestrunner ];
|
||||
checkInputs = [ pytest pytest-runner ];
|
||||
|
||||
checkPhase = "py.test";
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
|
||||
, pytest, pytestrunner, pyyaml, six, pathlib2, isPy27 }:
|
||||
, pytest, pytest-runner, pyyaml, six, pathlib2, isPy27 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "omegaconf";
|
||||
@ -13,7 +13,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
buildInputs = [ pytestrunner ];
|
||||
buildInputs = [ pytest-runner ];
|
||||
propagatedBuildInputs = [ pyyaml six ] ++ lib.optional isPy27 pathlib2;
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
# For tests/setup.py
|
||||
, pytest
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, requests-mock
|
||||
}:
|
||||
|
||||
@ -17,11 +17,11 @@ buildPythonPackage rec {
|
||||
inherit pname version;
|
||||
sha256 = "4af12f2fbcc9713878ab4ed571e9fda028bc68add34cde0e7226af4d833a4d38";
|
||||
};
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
nativeBuildInputs = [ pytest-runner ];
|
||||
propagatedBuildInputs = [ requests ];
|
||||
checkInputs = [
|
||||
pytest
|
||||
pytestrunner
|
||||
pytest-runner
|
||||
requests-mock
|
||||
];
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k
|
||||
, stdenv, pytestrunner, pytest, mock }:
|
||||
, stdenv, pytest-runner, pytest, mock }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "paho-mqtt";
|
||||
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||
substituteInPlace setup.cfg --replace "--pylama" ""
|
||||
'';
|
||||
|
||||
checkInputs = [ pytestrunner pytest ] ++ lib.optional (!isPy3k) mock;
|
||||
checkInputs = [ pytest-runner pytest ] ++ lib.optional (!isPy3k) mock;
|
||||
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib, fetchPypi
|
||||
, buildPythonPackage, pythonOlder
|
||||
, pytest, pytestrunner
|
||||
, pytest, pytest-runner
|
||||
, parse, six, enum34
|
||||
}:
|
||||
|
||||
@ -13,7 +13,7 @@ buildPythonPackage rec {
|
||||
sha256 = "02wclgiqky06y36b3q07b7ngpks5j0gmgl6n71ac2j2hscc0nsbz";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest pytestrunner ];
|
||||
checkInputs = [ pytest pytest-runner ];
|
||||
propagatedBuildInputs = [ parse six ] ++ lib.optional (pythonOlder "3.4") enum34;
|
||||
|
||||
checkPhase = ''
|
||||
|
@ -3,7 +3,7 @@
|
||||
, fetchPypi
|
||||
, isPy27
|
||||
, pytest
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, future
|
||||
}:
|
||||
|
||||
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
sha256 = "4cb368fbb18a0b7231f4d76119165451c8d2e35951455dfee97c62a87b04d455";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest pytestrunner ];
|
||||
buildInputs = [ pytest pytest-runner ];
|
||||
propagatedBuildInputs = [ future ];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -2,7 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, six
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, pytest
|
||||
}:
|
||||
|
||||
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
checkInputs = [ pytestrunner pytest ];
|
||||
checkInputs = [ pytest-runner pytest ];
|
||||
|
||||
# Certain tests require network
|
||||
checkPhase = ''
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, pytest
|
||||
}:
|
||||
|
||||
@ -14,7 +14,7 @@ buildPythonPackage rec {
|
||||
sha256 = "6dead6ab9823a85d585ef27f878bc647f787edb9ca8da0716aa9f1261b464817";
|
||||
};
|
||||
|
||||
buildInputs = [ pytestrunner ];
|
||||
buildInputs = [ pytest-runner ];
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
, semver
|
||||
, pytestCheckHook
|
||||
, pytest-cov
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, openapi-spec-validator
|
||||
}:
|
||||
|
||||
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
pytestrunner
|
||||
pytest-runner
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -4,7 +4,7 @@
|
||||
, betamax-matchers
|
||||
, mock
|
||||
, six
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, prawcore
|
||||
, pytest
|
||||
, requests-toolbelt
|
||||
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pytestrunner
|
||||
pytest-runner
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ buildPythonPackage, fetchPypi, flask, isPy27, lib, nixosTests
|
||||
, prometheus_client, py-air-control, pytestCheckHook, pytest-cov, pytestrunner
|
||||
, prometheus_client, py-air-control, pytestCheckHook, pytest-cov, pytest-runner
|
||||
, setuptools-scm }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -13,7 +13,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
checkInputs = [ pytestCheckHook pytest-cov pytestrunner ];
|
||||
checkInputs = [ pytestCheckHook pytest-cov pytest-runner ];
|
||||
propagatedBuildInputs = [ flask prometheus_client py-air-control ];
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) py-air-control; };
|
||||
|
@ -4,7 +4,7 @@
|
||||
, lib
|
||||
, morphys
|
||||
, pytest
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, python-baseconv
|
||||
, six
|
||||
}:
|
||||
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
pytestrunner
|
||||
pytest-runner
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -5,7 +5,7 @@
|
||||
, lib
|
||||
, pytest
|
||||
, pythonOlder
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||
sha256 = "bd70ecb5e94e7659e564ea153f0c7673291dc37c526c246800fc08d6c5378099";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
nativeBuildInputs = [ pytest-runner ];
|
||||
|
||||
# Is private because the author states it's unmaintained
|
||||
# and shouldn't be used in production code
|
||||
|
@ -3,7 +3,7 @@
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, isPy27
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, pytestCheckHook
|
||||
, numpy
|
||||
, pillow
|
||||
@ -36,7 +36,7 @@ buildPythonPackage {
|
||||
|
||||
propagatedBuildInputs = [ numpy pillow ];
|
||||
|
||||
checkInputs = [ pytestrunner pytestCheckHook ];
|
||||
checkInputs = [ pytest-runner pytestCheckHook ];
|
||||
|
||||
# Setting $HOME to prevent pytest to try to create a folder inside
|
||||
# /homeless-shelter which is read-only.
|
||||
|
@ -2,7 +2,7 @@
|
||||
, fetchPypi
|
||||
, lib
|
||||
, vcversioner
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, mock
|
||||
, pytest
|
||||
, pytest-asyncio
|
||||
@ -35,7 +35,7 @@ buildPythonPackage rec {
|
||||
pytest
|
||||
pytest-asyncio
|
||||
pytest-trio
|
||||
pytestrunner
|
||||
pytest-runner
|
||||
twisted
|
||||
] ++ lib.optional isPy27 [
|
||||
attrs
|
||||
|
@ -6,7 +6,7 @@
|
||||
, flask
|
||||
, pyquery
|
||||
, pytest
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, cairosvg
|
||||
, tinycss
|
||||
, cssselect
|
||||
@ -38,7 +38,7 @@ buildPythonPackage rec {
|
||||
|
||||
# Should be a check input, but upstream lists it under "setup_requires".
|
||||
# https://github.com/Kozea/pygal/issues/430
|
||||
pytestrunner
|
||||
pytest-runner
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ stdenv, lib, buildPythonPackage, fetchPypi, astroid, six, isort,
|
||||
mccabe, configparser, backports_functools_lru_cache, singledispatch,
|
||||
pytest, pytestrunner, setuptools }:
|
||||
pytest, pytest-runner, setuptools }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pylint";
|
||||
@ -11,7 +11,7 @@ buildPythonPackage rec {
|
||||
sha256 = "004kfapkqxqy2s85pmddqv0fabxdxywxrlbi549p0v237pr2v94p";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest pytestrunner ];
|
||||
checkInputs = [ pytest pytest-runner ];
|
||||
|
||||
propagatedBuildInputs = [ astroid six isort mccabe configparser backports_functools_lru_cache singledispatch setuptools ];
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
, fetchurl
|
||||
, buildPythonPackage
|
||||
, pymatgen
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, pytestCheckHook
|
||||
, isPy3k
|
||||
}:
|
||||
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
sha256 = "0shldl8is3195jmji7dr3zsh1bzxlahaqrmpr28niks7nnfj80fx";
|
||||
};
|
||||
|
||||
buildInputs = [ pytestrunner ];
|
||||
buildInputs = [ pytest-runner ];
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
propagatedBuildInputs = [ pymatgen ];
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
, greenlet
|
||||
, pythonOlder
|
||||
, isPyPy
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pytestrunner
|
||||
pytest-runner
|
||||
];
|
||||
|
||||
# Tests require pkgs.neovim,
|
||||
|
@ -2,7 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, isPy27
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, requests
|
||||
}:
|
||||
|
||||
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
preBuild = "export HOME=$TMP";
|
||||
buildInputs = [ pytestrunner ]; # required via `setup_requires`
|
||||
buildInputs = [ pytest-runner ]; # required via `setup_requires`
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
||||
doCheck = false; # requires network access
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, numpy
|
||||
, pyyaml
|
||||
}:
|
||||
@ -15,7 +15,7 @@ buildPythonPackage rec {
|
||||
sha256 = "ada088f73f7e1a3bf085206e81e0f83ed89c1d0b23a789ecd0ba0a250724aee8";
|
||||
};
|
||||
|
||||
buildInputs = [ pytestrunner ];
|
||||
buildInputs = [ pytest-runner ];
|
||||
propagatedBuildInputs = [ numpy pyyaml ];
|
||||
|
||||
# Tests require git lfs download of repository
|
||||
|
@ -5,7 +5,7 @@
|
||||
, pytest
|
||||
, pylint
|
||||
, six
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, toml
|
||||
}:
|
||||
|
||||
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||
sha256 = "790c7a8019fab08e59bd3812db1657a01995a975af8b1c6ce95b9aa39d61da27";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
nativeBuildInputs = [ pytest-runner ];
|
||||
|
||||
buildInputs = [ pytest ];
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
, psutil
|
||||
, pytest
|
||||
, pytest-cov
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, setuptools-scm
|
||||
}:
|
||||
|
||||
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||
sha256 = "009c4rbyj4cjb8fznccfpr5wrzdmi56wq990yjh22n0z2qqylmkf";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm pkgconfig pytestrunner ];
|
||||
nativeBuildInputs = [ setuptools-scm pkgconfig pytest-runner ];
|
||||
checkInputs = [ pytest pytest-cov psutil ];
|
||||
propagatedBuildInputs = lib.optionals (!isPy3k) [ future ];
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, future
|
||||
, requests
|
||||
, responses
|
||||
@ -31,7 +31,7 @@ buildPythonPackage rec {
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
nativeBuildInputs = [ pytest-runner ];
|
||||
propagatedBuildInputs = [ future requests requests_oauthlib ];
|
||||
checkInputs = [ pytest responses hypothesis ];
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
, python
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, ply
|
||||
, networkx
|
||||
, decorator
|
||||
@ -39,7 +39,7 @@ in buildPythonPackage rec {
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pytestrunner
|
||||
pytest-runner
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ buildPythonPackage, fetchPypi, pytestrunner, pytestCheckHook, glib, vips, cffi
|
||||
{ buildPythonPackage, fetchPypi, pytest-runner, pytestCheckHook, glib, vips, cffi
|
||||
, pkg-config, pkgconfig, lib }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -10,7 +10,7 @@ buildPythonPackage rec {
|
||||
sha256 = "244e79c625be65237677c79424d4476de6c406805910015d4adbd0186c64a6a2";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pytestrunner pkgconfig pkg-config ];
|
||||
nativeBuildInputs = [ pytest-runner pkgconfig pkg-config ];
|
||||
|
||||
buildInputs = [ glib vips ];
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
{ buildPythonPackage, lib, fetchPypi, numpy
|
||||
, pydantic, pint, networkx, pytestrunner, pytest-cov, pytest
|
||||
, pydantic, pint, networkx, pytest-runner, pytest-cov, pytest
|
||||
} :
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "qcelemental";
|
||||
version = "0.21.0";
|
||||
|
||||
checkInputs = [ pytestrunner pytest-cov pytest ];
|
||||
checkInputs = [ pytest-runner 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, pytest-cov
|
||||
, py-cpuinfo, psutil, pytest-runner, pytest, pytest-cov
|
||||
} :
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -7,7 +7,7 @@ buildPythonPackage rec {
|
||||
version = "0.19.0";
|
||||
|
||||
checkInputs = [
|
||||
pytestrunner
|
||||
pytest-runner
|
||||
pytest-cov
|
||||
pytest
|
||||
];
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, pytest, pytestrunner, six, regex}:
|
||||
{ lib, buildPythonPackage, fetchPypi, pytest, pytest-runner, six, regex}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rebulk";
|
||||
@ -11,7 +11,7 @@ buildPythonPackage rec {
|
||||
|
||||
# Some kind of trickery with imports that doesn't work.
|
||||
doCheck = false;
|
||||
buildInputs = [ pytest pytestrunner ];
|
||||
buildInputs = [ pytest pytest-runner ];
|
||||
propagatedBuildInputs = [ six regex ];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -3,7 +3,7 @@
|
||||
, fetchPypi
|
||||
, lib
|
||||
, pytestCheckHook
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -15,7 +15,7 @@ buildPythonPackage rec {
|
||||
sha256 = "sha256-ySU1gtskQTv9cDq/wbKkneePMbSQcjnyhumhkpoebjo=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cffi pytestrunner ];
|
||||
propagatedBuildInputs = [ cffi pytest-runner ];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
, pytest
|
||||
, pytest-cov
|
||||
, pytest-mock
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, pytest-virtualenv
|
||||
, requests
|
||||
, six
|
||||
@ -50,7 +50,7 @@ buildPythonPackage rec {
|
||||
pytest
|
||||
pytest-cov
|
||||
pytest-mock
|
||||
pytestrunner
|
||||
pytest-runner
|
||||
pytest-virtualenv
|
||||
requests
|
||||
six
|
||||
|
@ -3,7 +3,7 @@
|
||||
, fetchPypi
|
||||
, pkg-config
|
||||
, pytest
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, cffi
|
||||
, secp256k1
|
||||
}:
|
||||
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
checkInputs = [ pytest pytestrunner ];
|
||||
checkInputs = [ pytest pytest-runner ];
|
||||
propagatedBuildInputs = [ cffi secp256k1 ];
|
||||
|
||||
# Tests are not included in archive
|
||||
|
@ -3,7 +3,7 @@
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, virtualenv
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, pytest-virtualenv
|
||||
, twisted
|
||||
, pathlib2
|
||||
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||
sha256 = "14220f8f761c48ba1e2526f087195077cf54fad7098b382ce220422f0ff59b12";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest virtualenv pytestrunner pytest-virtualenv ];
|
||||
buildInputs = [ pytest virtualenv pytest-runner pytest-virtualenv ];
|
||||
propagatedBuildInputs = [ twisted pathlib2 ];
|
||||
|
||||
postPatch = ''
|
||||
|
@ -10,7 +10,7 @@
|
||||
, pytest-cov
|
||||
, pytest-mock
|
||||
, pytestCheckHook
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, requests
|
||||
, responses
|
||||
, six
|
||||
@ -45,7 +45,7 @@ buildPythonPackage rec {
|
||||
pytest-cov
|
||||
pytest-mock
|
||||
pytestCheckHook
|
||||
pytestrunner
|
||||
pytest-runner
|
||||
responses
|
||||
];
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
, sqlite-fts4
|
||||
, tabulate
|
||||
, pytestCheckHook
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, black
|
||||
, hypothesis
|
||||
, sqlite
|
||||
@ -32,7 +32,7 @@ buildPythonPackage rec {
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
pytestrunner
|
||||
pytest-runner
|
||||
black
|
||||
hypothesis
|
||||
];
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, six, pytest, pytestrunner }:
|
||||
{ lib, buildPythonPackage, fetchPypi, six, pytest, pytest-runner }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "srptools";
|
||||
@ -11,7 +11,7 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
checkInputs = [ pytest pytestrunner ];
|
||||
checkInputs = [ pytest pytest-runner ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python-Tools to implement Secure Remote Password (SRP) authentication";
|
||||
|
@ -5,7 +5,7 @@
|
||||
, cffi
|
||||
, six
|
||||
, pytest
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
sha256 = "0px8k4fjbkjb717bg2v7rjhm4iclrxzq7sh0hfqs55f4ddqi0m8v";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgs.ssdeep pytestrunner ];
|
||||
buildInputs = [ pkgs.ssdeep pytest-runner ];
|
||||
checkInputs = [ pytest ];
|
||||
propagatedBuildInputs = [ cffi six ];
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy27
|
||||
, requests, six
|
||||
, backports_unittest-mock, pytestCheckHook, pytestrunner }:
|
||||
, backports_unittest-mock, pytestCheckHook, pytest-runner }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sseclient";
|
||||
@ -15,7 +15,7 @@ buildPythonPackage rec {
|
||||
|
||||
# some tests use python3 strings
|
||||
doCheck = !isPy27;
|
||||
checkInputs = [ backports_unittest-mock pytestCheckHook pytestrunner ];
|
||||
checkInputs = [ backports_unittest-mock pytestCheckHook pytest-runner ];
|
||||
|
||||
# tries to open connection to wikipedia
|
||||
disabledTests = [ "event_stream" ];
|
||||
|
@ -2,7 +2,7 @@
|
||||
, coverage
|
||||
, mock
|
||||
, ply
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
, pytestCheckHook
|
||||
, six
|
||||
}:
|
||||
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||
--replace "coverage==5.3" "coverage"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
nativeBuildInputs = [ pytest-runner ];
|
||||
|
||||
propagatedBuildInputs = [ ply six ];
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
, pytest
|
||||
, pytest-flakes
|
||||
, pytest-cov
|
||||
, pytestrunner
|
||||
, pytest-runner
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -40,7 +40,7 @@ buildPythonPackage rec {
|
||||
|
||||
checkInputs = [
|
||||
sympy vcrpy pytest pytest-flakes
|
||||
pytest-cov pytestrunner
|
||||
pytest-cov pytest-runner
|
||||
];
|
||||
|
||||
# https://github.com/Diaoul/subliminal/pull/963
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
|
||||
, colorama, regex
|
||||
, pytestrunner, pytestCheckHook, pytest-mypy
|
||||
, pytest-runner, pytestCheckHook, pytest-mypy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
nativeBuildInputs = [ pytest-runner ];
|
||||
propagatedBuildInputs = [ colorama regex ];
|
||||
checkInputs = [ pytestCheckHook pytest-mypy ];
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user