aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorazharudd <azhar456@gmail.com>2023-02-21 12:02:49 -0800
committerGitHub <noreply@github.com>2023-02-21 12:02:49 -0800
commit0476dede37838e2f765f50dd26734cfced9d90d9 (patch)
tree3332659ea14c95dba2b950f536c174adabc66780
parentc600ffa76826516ec8c51bf50d2dd224745353dc (diff)
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!
-rw-r--r--setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 690da0c..de46afb 100644
--- a/setup.py
+++ b/setup.py
@@ -138,5 +138,5 @@ The *LNT* source is available in the llvm-lnt repository:
ext_modules=[cPerf],
- python_requires='>=3.6.*',
+ python_requires='>=3.6',
)