Skip to content

Commit

Permalink
Last version of pytest for pypy is 4.6.11;
Browse files Browse the repository at this point in the history
Also latest version pytest-cov and pytest-asyncio are not compatible with latest pytest.

https://travis-ci.org/github/syrusakbary/promise/jobs/708528307

 Could not find a version that satisfies the requirement pytest>=5.4.3 (from promise==2.3) (from versions: 2.0.0, ......... 4.6.10, 4.6.11)

https://travis-ci.org/github/syrusakbary/promise/jobs/708523881

E   AttributeError: type object 'Function' has no attribute 'from_parent'

https://travis-ci.org/github/syrusakbary/promise/jobs/708735234

pytest-cov 2.10.0 has requirement pytest>=4.6, but you'll have pytest 4.3.1 which is incompatible.
  • Loading branch information
Alex committed Jul 16, 2020
1 parent 4627315 commit 5cb778d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
IS_PY3 = sys.hexversion >= 0x03000000

tests_require = [
"pytest>=2.7.3",
"pytest-cov",
"pytest>4.1.0,<=4.6.11",
"pytest-cov<2.10.0",
"coveralls",
"futures",
"pytest-benchmark",
"mock",
]
if IS_PY3:
tests_require += ["pytest-asyncio"]
tests_require += ["pytest-asyncio<0.11.0"]


setup(
Expand Down

0 comments on commit 5cb778d

Please sign in to comment.