diff options
author | Rhys Kidd <rhyskidd@gmail.com> | 2019-10-22 22:48:35 +1100 |
---|---|---|
committer | Rhys Kidd <rhyskidd@gmail.com> | 2019-10-23 21:42:20 +1100 |
commit | fad864058c86d13524a9adf3f60e5c893a14e884 (patch) | |
tree | 7297a9b0da09da0036324b1d0d70fc3d9d21020e | |
parent | 7a92b02210dabbba31ae5fd71272ea742346a9c8 (diff) |
tox,cmake,travis: Add support and testing for Python 3.8
Python 3.8 was released in October 2019.
In terms of dependencies:
- mako 1.0.8 first provided supported for Python 3.8. [0]
[0] https://docs.makotemplates.org/en/latest/changelog.html#change-1.0.8
Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | tox.ini | 7 |
3 files changed, 7 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index f0faa0c39..7ba177f85 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,6 +26,8 @@ matrix: env: TOX_ENV="py36-{generator,noaccel,accel-nix,streams}" - python: 3.7 env: TOX_ENV="py37-{generator,noaccel,accel-nix,streams}" + - python: 3.8 + env: TOX_ENV="py38-{generator,noaccel,accel-nix,streams}" install: - | diff --git a/CMakeLists.txt b/CMakeLists.txt index 8851754af..88ef51c82 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -227,7 +227,7 @@ IF(PIGLIT_BUILD_GLX_TESTS) ENDIF() set(Python_ADDITIONAL_VERSIONS - 3.7 3.6 3.5 2.7) + 3.8 3.7 3.6 3.5 2.7) find_package(PythonInterp REQUIRED) find_package(PythonSix 1.5.2 REQUIRED) find_package(PythonNumpy 1.7.0 REQUIRED) @@ -1,5 +1,5 @@ [tox] -envlist = py{27,35,36,37}-{generator,noaccel}, py{27,35,36,37}-accel-{win,nix}, py{27,35,36,37}-streams +envlist = py{27,35,36,37,38}-{generator,noaccel}, py{27,35,36,37,38}-accel-{win,nix}, py{27,35,36,37,38}-streams skipsdist = True [pytest] @@ -15,12 +15,13 @@ deps = accel-nix: lxml accel: simplejson py{27,35,36}-generator: numpy==1.7.0 - py37-generator: numpy + py{37,38}-generator: numpy mock==1.0.1 - py27-accel-nix,py{35,36,37}-{accel,noaccel}: psutil + py27-accel-nix,py{35,36,37,38}-{accel,noaccel}: psutil py27-accel-nix: backports.lzma py27-accel-nix: subprocess32 py{35,36,37}: mako==1.0.2 + py38: mako==1.0.8 pytest==3.2.5 pytest-mock pytest-pythonpath |