python.pkgs.pytest_30: keep this version
This commit is contained in:
parent
63b66bf960
commit
5c46301744
27
pkgs/development/python-modules/pytest/3_0.nix
Normal file
27
pkgs/development/python-modules/pytest/3_0.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchPypi, isPy26, argparse, hypothesis, py
|
||||||
|
, setuptools_scm
|
||||||
|
}:
|
||||||
|
buildPythonPackage rec {
|
||||||
|
version = "3.0.7";
|
||||||
|
pname = "pytest";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
# don't test bash builtins
|
||||||
|
rm testing/test_argcomplete.py
|
||||||
|
'';
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "b70696ebd1a5e6b627e7e3ac1365a4bc60aaf3495e843c1e70448966c5224cab";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ hypothesis setuptools_scm ];
|
||||||
|
propagatedBuildInputs = [ py ]
|
||||||
|
++ (stdenv.lib.optional isPy26 argparse);
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
maintainers = with maintainers; [ domenkozar lovek323 madjar lsix ];
|
||||||
|
platforms = platforms.unix;
|
||||||
|
};
|
||||||
|
}
|
@ -4137,6 +4137,13 @@ in {
|
|||||||
|
|
||||||
pytest_29 = callPackage ../development/python-modules/pytest/2_9.nix {};
|
pytest_29 = callPackage ../development/python-modules/pytest/2_9.nix {};
|
||||||
|
|
||||||
|
pytest_30 = callPackage ../development/python-modules/pytest/3_0.nix {
|
||||||
|
hypothesis = self.hypothesis.override {
|
||||||
|
# hypothesis requires pytest that causes dependency cycle
|
||||||
|
doCheck = false;
|
||||||
|
pytest = null;
|
||||||
|
};
|
||||||
|
};
|
||||||
pytest_32 = callPackage ../development/python-modules/pytest{
|
pytest_32 = callPackage ../development/python-modules/pytest{
|
||||||
hypothesis = self.hypothesis.override {
|
hypothesis = self.hypothesis.override {
|
||||||
# hypothesis requires pytest that causes dependency cycle
|
# hypothesis requires pytest that causes dependency cycle
|
||||||
|
Loading…
x
Reference in New Issue
Block a user