Skip to content

Commit 4500a8d

Browse files
nicoddemussallner
authored andcommitted
Configure python_requires
This prevents pip from installing pytest-rerunfailures in unsupported Python versions https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires
1 parent 285af9a commit 4500a8d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
'setuptools>=40.0',
2121
'pytest >= 5.0',
2222
],
23+
python_requires='>=3.5',
2324
license='Mozilla Public License 2.0 (MPL 2.0)',
2425
keywords='py.test pytest rerun failures flaky',
2526
zip_safe=False,

0 commit comments

Comments
 (0)