git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.pytest: use pytest_30
commit4cf8ae3a8c239eecef6c275f88e508370defbf08 authorLancelot SIX <lsix@lancelotsix.com> dateMon 30 Jan 2017, 21:17 (10 years ago) parentc6c2137
2 files changed+22−20
pkgs/tools/misc/tmuxp/default.nix+1−1 pkgs/top-level/python-packages.nix+21−19
pkgs/tools/misc/tmuxp/default.nix+1−1
@@ -16,7 +16,7 @@ pythonPackages.buildPythonApplication rec {
1616 '';
1717
1818 buildInputs = with pythonPackages; [
19− pytest
19+ pytest_29
2020 pytest-rerunfailures
2121 ];
2222
pkgs/top-level/python-packages.nix+21−19
@@ -895,7 +895,7 @@ in {
895895 sha256 = "1ybywzkd840v1qvb1p2bs08js260vq1jscjg8182hv7bmwacqy0k";
896896 };
897897
898− buildInputs = with self; [ pytest_30 case ];
898+ buildInputs = with self; [ pytest case ];
899899 propagatedBuildInputs = with self; [ vine ];
900900
901901 meta = {
@@ -2650,7 +2650,7 @@ in {
26502650 sha256 = "1anw68rkja1dbgvndxz5mq6f89hmxwaha0fjcdnsl5j1wj7imc1y";
26512651 };
26522652
2653− buildInputs = with self; [ pytest_30 case ];
2653+ buildInputs = with self; [ pytest case ];
26542654
26552655 meta = {
26562656 homepage = https://github.com/celery/billiard;
@@ -3566,7 +3566,7 @@ in {
35663566 sha256 = "0kgmbs3fl9879n48p4m79nxy9by2yhvxq1jdvlnqzzvkdb2sdmg3";
35673567 };
35683568
3569− buildInputs = with self; [ pytest_30 case ];
3569+ buildInputs = with self; [ pytest case ];
35703570 propagatedBuildInputs = with self; [ kombu billiard pytz anyjson amqp eventlet ];
35713571
35723572 meta = {
@@ -3812,7 +3812,7 @@ in {
38123812 sha256 = "400b0bb63d9096b6bf2806efaf742a1cc8b6c88e0484f0afe7d7a7f0e9870609";
38133813 };
38143814
3815− checkInputs = with self; [ pytest ];
3815+ checkInputs = with self; [ pytest_29 ];
38163816 propagatedBuildInputs = with self; [ click ] ++ optional (!isPy3k) futures;
38173817
38183818 checkPhase = ''
@@ -4672,7 +4672,7 @@ in {
46724672 sha256 = "0aw1zxmyvx6gfmmnixbqmdaah28jl7rmqkzhxv53091asc23iw9k";
46734673 };
46744674
4675− buildInputs = with self; [ pytest ];
4675+ buildInputs = with self; [ pytest_29 ];
46764676 propagatedBuildInputs = with self; [ future numpy ];
46774677
46784678 doCheck = true;
@@ -4944,7 +4944,7 @@ in {
49444944 };
49454945 };
49464946
4947− pytest = self.pytest_29;
4947+ pytest = self.pytest_30;
49484948
49494949 pytest_27 = callPackage ../development/python-modules/pytest/2_7.nix {};
49504950
@@ -4952,7 +4952,13 @@ in {
49524952
49534953 pytest_29 = callPackage ../development/python-modules/pytest/2_9.nix {};
49544954
4955− pytest_30 = callPackage ../development/python-modules/pytest {};
4955+ pytest_30 = callPackage ../development/python-modules/pytest{
4956+ hypothesis = self.hypothesis.override {
4957+ # hypothesis requires pytest that causes dependency cycle
4958+ doCheck = false;
4959+ pytest = null;
4960+ };
4961+ };
49564962
49574963 pytestcache = buildPythonPackage rec {
49584964 name = "pytest-cache-1.0";
@@ -4978,9 +4984,7 @@ in {
49784984 };
49794985 };
49804986
4981− pytestdjango = callPackage ../development/python-modules/pytestdjango.nix {
4982− pytest = self.pytest_30;
4983− };
4987+ pytestdjango = callPackage ../development/python-modules/pytestdjango.nix { };
49844988
49854989 pytest-fixture-config = buildPythonPackage rec {
49864990 name = "${pname}-${version}";
@@ -5568,7 +5572,7 @@ in {
55685572 sha256 = "117savw47c2givq9vxr5m02nyxmsk34l2ihxyy5axlaiqyxyf20s";
55695573 };
55705574
5571− buildInputs = with self; [ pytest ];
5575+ buildInputs = with self; [ pytest_29 ];
55725576 patchPhase = ''
55735577 sed -i 's/==.*$//' requirements/test.txt
55745578 '';
@@ -10306,9 +10310,7 @@ in {
1030610310 };
1030710311 };
1030810312
10309− django_guardian = callPackage ../development/python-modules/django_guardian.nix {
10310− pytest = self.pytest_30;
10311− };
10313+ django_guardian = callPackage ../development/python-modules/django_guardian.nix { };
1031210314
1031310315 django_tagging = buildPythonPackage rec {
1031410316 name = "django-tagging-0.4.5";
@@ -13485,7 +13487,7 @@ in {
1348513487 sha256 = "18hiricdnbnlz6hx3hbaa4dni6npv8rbid4dhf7k02k16qm6zz6h";
1348613488 };
1348713489
13488− buildInputs = with self; [ pytest_30 case pytz ];
13490+ buildInputs = with self; [ pytest case pytz ];
1348913491
1349013492 propagatedBuildInputs = with self; [ amqp ];
1349113493
@@ -18370,7 +18372,7 @@ in {
1837018372 sha256 = "0v8aq0xzsa7clazszxl42904c3jpq69lg8a5hg754bqcqf72hfrn";
1837118373 };
1837218374 LC_ALL="en_US.UTF-8";
18373− buildInputs = with self; [ pkgs.glibcLocales pytest ];
18375+ buildInputs = with self; [ pkgs.glibcLocales pytest_29 ];
1837418376
1837518377 checkPhase = ''
1837618378 py.test
@@ -23334,7 +23336,7 @@ in {
2333423336 url = "mirror://pypi/s/${pname}/${name}.tar.gz";
2333523337 sha256 = "14220f8f761c48ba1e2526f087195077cf54fad7098b382ce220422f0ff59b12";
2333623338 };
23337− buildInputs = with self; [ pytest virtualenv pytestrunner pytest-virtualenv ];
23339+ buildInputs = with self; [ pytest_29 virtualenv pytestrunner pytest-virtualenv ];
2333823340 propagatedBuildInputs = with self; [ twisted pathlib2 ];
2333923341 postPatch = ''
2334023342 sed -i '12,$d' tests/test_main.py
@@ -31558,7 +31560,7 @@ EOF
3155831560 url = "mirror://pypi/a/${pname}/${name}.tar.gz";
3155931561 sha256 = "1158ml8h3g0vlsgw2jmy579glbg7dn0mjij8xibdl509b8qv9p51";
3156031562 };
31561− buildInputs = with self; [ unittest2 mock pytest trollius ];
31563+ buildInputs = with self; [ unittest2 mock pytest_29 trollius ];
3156231564 propagatedBuildInputs = with self; [ six twisted txaio ];
3156331565 checkPhase = ''
3156431566 py.test $out
@@ -31792,7 +31794,7 @@ EOF
3179231794 sha256 = "0h94x9mc9bspg23lb1f73h7smdzc39ps7z7sm0q38ds9jahmvfc7";
3179331795 };
3179431796
31795− buildInputs = with self; [ case pytest_30 ];
31797+ buildInputs = with self; [ case pytest ];
3179631798
3179731799 meta = {
3179831800 homepage = https://github.com/celery/vine;