Skip to content

Commit

Permalink
pythonPackages.pytest: use pytest_30
Browse files Browse the repository at this point in the history
  • Loading branch information
lsix committed Jan 30, 2017
1 parent c6c2137 commit ef5f376
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,7 @@ in {
sha256 = "1ybywzkd840v1qvb1p2bs08js260vq1jscjg8182hv7bmwacqy0k";
};

buildInputs = with self; [ pytest_30 case ];
buildInputs = with self; [ pytest case ];
propagatedBuildInputs = with self; [ vine ];

meta = {
Expand Down Expand Up @@ -2650,7 +2650,7 @@ in {
sha256 = "1anw68rkja1dbgvndxz5mq6f89hmxwaha0fjcdnsl5j1wj7imc1y";
};

buildInputs = with self; [ pytest_30 case ];
buildInputs = with self; [ pytest case ];

meta = {
homepage = https://github.com/celery/billiard;
Expand Down Expand Up @@ -3566,7 +3566,7 @@ in {
sha256 = "0kgmbs3fl9879n48p4m79nxy9by2yhvxq1jdvlnqzzvkdb2sdmg3";
};

buildInputs = with self; [ pytest_30 case ];
buildInputs = with self; [ pytest case ];
propagatedBuildInputs = with self; [ kombu billiard pytz anyjson amqp eventlet ];

meta = {
Expand Down Expand Up @@ -4944,15 +4944,21 @@ in {
};
};

pytest = self.pytest_29;
pytest = self.pytest_30;

pytest_27 = callPackage ../development/python-modules/pytest/2_7.nix {};

pytest_28 = callPackage ../development/python-modules/pytest/2_8.nix {};

pytest_29 = callPackage ../development/python-modules/pytest/2_9.nix {};

pytest_30 = callPackage ../development/python-modules/pytest {};
pytest_30 = callPackage ../development/python-modules/pytest{
hypothesis = self.hypothesis.override {
# hypothesis requires pytest that causes dependency cycle
doCheck = false;
pytest = null;
};
};

pytestcache = buildPythonPackage rec {
name = "pytest-cache-1.0";
Expand All @@ -4978,9 +4984,7 @@ in {
};
};

pytestdjango = callPackage ../development/python-modules/pytestdjango.nix {
pytest = self.pytest_30;
};
pytestdjango = callPackage ../development/python-modules/pytestdjango.nix { };

pytest-fixture-config = buildPythonPackage rec {
name = "${pname}-${version}";
Expand Down Expand Up @@ -10306,9 +10310,7 @@ in {
};
};

django_guardian = callPackage ../development/python-modules/django_guardian.nix {
pytest = self.pytest_30;
};
django_guardian = callPackage ../development/python-modules/django_guardian.nix { };

django_tagging = buildPythonPackage rec {
name = "django-tagging-0.4.5";
Expand Down Expand Up @@ -13485,7 +13487,7 @@ in {
sha256 = "18hiricdnbnlz6hx3hbaa4dni6npv8rbid4dhf7k02k16qm6zz6h";
};

buildInputs = with self; [ pytest_30 case pytz ];
buildInputs = with self; [ pytest case pytz ];

propagatedBuildInputs = with self; [ amqp ];

Expand Down Expand Up @@ -31792,7 +31794,7 @@ EOF
sha256 = "0h94x9mc9bspg23lb1f73h7smdzc39ps7z7sm0q38ds9jahmvfc7";
};

buildInputs = with self; [ case pytest_30 ];
buildInputs = with self; [ case pytest ];

meta = {
homepage = https://github.com/celery/vine;
Expand Down

0 comments on commit ef5f376

Please sign in to comment.