Skip to content

Commit

Permalink
Pin pytest *before* 3.9.1 totally
Browse files Browse the repository at this point in the history
Unfortunately they have released
3.9.2 before fixing issue 4181, which means we will have to
re-pin a third time after they eventually release with
a fix

Change-Id: I9b6fab1b535f883a035f002264c41ad0166790ab
Reference: pytest-dev/pytest#4181
  • Loading branch information
zzzeek committed Oct 24, 2018
1 parent ac358a0 commit 580d114
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def run_setup(with_cext):
package_dir={'': 'lib'},
license="MIT License",
cmdclass=cmdclass,
tests_require=['pytest>=2.5.2,!=3.9.1', 'mock', 'pytest-xdist'],
tests_require=['pytest>=2.5.2,<3.9.1', 'mock', 'pytest-xdist'],
long_description=readme,
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
classifiers=[
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ install_command=python -m pip install {env:TOX_PIP_OPTS:} {opts} {packages}
usedevelop=
cov: True

deps=pytest!=3.9.1
deps=pytest<3.9.1
pytest-xdist
mock
# needed only for correct profiling results
Expand Down

0 comments on commit 580d114

Please sign in to comment.