Skip to content

Commit e4235ad

Browse files
author
Alex
committed
Last version of pytest for pypy is 4.6.11;
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.
1 parent 4627315 commit e4235ad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
IS_PY3 = sys.hexversion >= 0x03000000
1515

1616
tests_require = [
17-
"pytest>=2.7.3",
18-
"pytest-cov",
17+
"pytest>4.1.0,<=4.6.11",
18+
"pytest-cov<2.10.0",
1919
"coveralls",
2020
"futures",
2121
"pytest-benchmark",
2222
"mock",
2323
]
2424
if IS_PY3:
25-
tests_require += ["pytest-asyncio"]
25+
tests_require += ["pytest-asyncio<0.14.0"]
2626

2727

2828
setup(

0 commit comments

Comments
 (0)