Skip to content

Commit 0476ded

Browse files
authored
Fix python_requires versioning for new setuptools
Newer versions of setuptools will fail to install LNT with the following error: ``` × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [1 lines of output] error in LNT setup command: 'python_requires' must be a string containing valid version specifiers; Invalid specifier: '>=3.6.*' [end of output] ``` From reading the documentation, I believe it was a bug to allow >=3.6.* previously, as I don't think wild cards are supported here https://peps.python.org/pep-0345/#requires-python Patch by Justice Adams!
1 parent c600ffa commit 0476ded

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,5 +138,5 @@
138138

139139
ext_modules=[cPerf],
140140

141-
python_requires='>=3.6.*',
141+
python_requires='>=3.6',
142142
)

0 commit comments

Comments
 (0)