Skip to content

Commit

Permalink
Prevent pip from installing pytest in unsupported Python versions
Browse files Browse the repository at this point in the history
Fix #2922
  • Loading branch information
nicoddemus committed Nov 15, 2017
1 parent 685387a commit e87ff07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog/2922.trivial
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Configure ``pytest`` to prevent pip from installing pytest in unsupported Python versions.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ def main():
cmdclass={'test': PyTest},
# the following should be enabled for release
setup_requires=['setuptools-scm'],
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
install_requires=install_requires,
extras_require=extras_require,
packages=['_pytest', '_pytest.assertion', '_pytest._code'],
Expand Down

0 comments on commit e87ff07

Please sign in to comment.