summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.van.berkom@gmail.com>2020-04-01 11:54:36 +0000
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2020-04-01 11:54:36 +0000
commit213656a7f22d71699d65fd75e495199791341f03 (patch)
treec3231fd4877a61b8390a9bdaacd52366c00d58e4
parentef80ac1f7fa3771950ccfd78c9064be779af44ae (diff)
parent769d569024ab3d7169a6aeae2349d12e999cba28 (diff)
downloadbuildstream-213656a7f22d71699d65fd75e495199791341f03.tar.gz
Merge branch 'tristan/bst-1/testsuite-py38' into 'bst-1'
Pass CI with python3.8 See merge request BuildStream/buildstream!1846
-rw-r--r--.gitlab-ci.yml13
-rw-r--r--buildstream/plugins/sources/pip.py1
2 files changed, 14 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6a0d42ab9..840d1fe94 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -62,6 +62,19 @@ tests-ubuntu-18.04:
image: registry.gitlab.com/buildstream/buildstream-docker-images/testsuite-ubuntu:18.04-master-55318540
<<: *tests
+tests-python-3.8-buster:
+ image: registry.gitlab.com/buildstream/buildstream-docker-images/testsuite-python:3.8-buster-master-114538533
+ <<: *tests
+ variables:
+ # This particular testsuite image has both Python 3.7 and Python 3.8 so we
+ # need to explicitly force the 3.8 environment.
+ # Once Python 3.8 is available in distros, we should switch to such an
+
+ # Our testsuite has issues with coverage on Python 3.8 so disable coverage
+ # in the meantime. For more details, see
+ # https://gitlab.com/BuildStream/buildstream/issues/1173.
+ TOXENV: py38-nocover
+
tests-unix:
# Use fedora here, to ensure that we
# can get rid of ostree - this is not possible with debian-8
diff --git a/buildstream/plugins/sources/pip.py b/buildstream/plugins/sources/pip.py
index 18e65c73d..e8eab109c 100644
--- a/buildstream/plugins/sources/pip.py
+++ b/buildstream/plugins/sources/pip.py
@@ -90,6 +90,7 @@ _PYTHON_VERSIONS = [
'python3.5',
'python3.6',
'python3.7',
+ 'python3.8',
]
# List of allowed extensions taken from