[PATCH] D71085: [LNT] Declare support for Python 3.6+
Przemyslaw Wirkus via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 5 15:45:19 PST 2019
PrzemekWirkus added inline comments.
================
Comment at: setup.py:12
-if sys.version_info < (2, 7):
- raise RuntimeError("Python 2.7 or higher required.")
+if sys.version_info < (3, 6) and sys.version_info[:2] != (2, 7):
+ raise RuntimeError("Python 2.7 or Python 3.6 or higher required.")
----------------
```
if sys.version_info[:2] < (3, 6) and sys.version_info[:2] != (2, 7):
^^^^
```
================
Comment at: setup.py:131
- python_requires='>=2.7',
+ python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*',
)
----------------
I've learnt a new thing today :)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71085/new/
https://reviews.llvm.org/D71085
More information about the llvm-commits
mailing list