16
16
# Tox global configuration
17
17
#
18
18
[tox]
19
- envlist = py{38, 39,310,311,312}
19
+ envlist = py{39,310,311,312}
20
20
skip_missing_interpreters = true
21
21
isolated_build = true
22
22
@@ -33,30 +33,30 @@ BST_PLUGINS_VERSION = db71610b7ae9884f6d8cbe0d3cc5a1c657c19edb # 2.2.0
33
33
[testenv]
34
34
usedevelop =
35
35
# This is required by Cython in order to get coverage for cython files.
36
- py{38, 39,310,311,312}-!nocover: True
36
+ py{39,310,311,312}-!nocover: True
37
37
38
38
commands =
39
39
# Running with coverage reporting enabled
40
- py{38, 39,310,311,312}-!plugins-!nocover: pytest --basetemp {envtmpdir} --cov =buildstream --cov-config .coveragerc {posargs}
40
+ py{39,310,311,312}-!plugins-!nocover: pytest --basetemp {envtmpdir} --cov =buildstream --cov-config .coveragerc {posargs}
41
41
# Running with coverage reporting disabled
42
- py{38, 39,310,311,312}-!plugins-nocover: pytest --basetemp {envtmpdir} {posargs}
42
+ py{39,310,311,312}-!plugins-nocover: pytest --basetemp {envtmpdir} {posargs}
43
43
# Running external plugins tests with coverage reporting enabled
44
- py{38, 39,310,311,312}-plugins-!nocover: pytest --basetemp {envtmpdir} --cov =buildstream --cov-config .coveragerc --plugins {posargs}
44
+ py{39,310,311,312}-plugins-!nocover: pytest --basetemp {envtmpdir} --cov =buildstream --cov-config .coveragerc --plugins {posargs}
45
45
# Running external plugins tests with coverage disabled
46
- py{38, 39,310,311,312}-plugins-nocover: pytest --basetemp {envtmpdir} --plugins {posargs}
46
+ py{39,310,311,312}-plugins-nocover: pytest --basetemp {envtmpdir} --plugins {posargs}
47
47
commands_post:
48
- py{38, 39,310,311,312}-!nocover: mkdir -p .coverage-reports
49
- py{38, 39,310,311,312}-!nocover: mv {envtmpdir}/.coverage {toxinidir}/.coverage-reports/.coverage.{env:COVERAGE_PREFIX:}{envname}
48
+ py{39,310,311,312}-!nocover: mkdir -p .coverage-reports
49
+ py{39,310,311,312}-!nocover: mv {envtmpdir}/.coverage {toxinidir}/.coverage-reports/.coverage.{env:COVERAGE_PREFIX:}{envname}
50
50
deps =
51
- py{38, 39,310,311,312}: -rrequirements/requirements.txt
52
- py{38, 39,310,311,312}: -rrequirements/dev-requirements.txt
53
- py{38, 39,310,311,312}: git+https://github.com/apache/buildstream-plugins.git@{env:BST_PLUGINS_VERSION:{[config]BST_PLUGINS_VERSION}}
51
+ py{39,310,311,312}: -rrequirements/requirements.txt
52
+ py{39,310,311,312}: -rrequirements/dev-requirements.txt
53
+ py{39,310,311,312}: git+https://github.com/apache/buildstream-plugins.git@{env:BST_PLUGINS_VERSION:{[config]BST_PLUGINS_VERSION}}
54
54
55
55
# Install local sample plugins for testing pip plugin origins
56
- py{38, 39,310,311,312}: {toxinidir}/tests/plugins/sample-plugins
56
+ py{39,310,311,312}: {toxinidir}/tests/plugins/sample-plugins
57
57
58
58
# Install external plugins for plugin tests
59
- py{38, 39,310,311,312}-plugins: git+https://gitlab.com/buildstream/buildstream-plugins-community.git@{env:BST_PLUGINS_COMMUNITY_VERSION:{[config]BST_PLUGINS_COMMUNITY_VERSION}}# egg=bst_plugins_community[deb]
59
+ py{39,310,311,312}-plugins: git+https://gitlab.com/buildstream/buildstream-plugins-community.git@{env:BST_PLUGINS_COMMUNITY_VERSION:{[config]BST_PLUGINS_COMMUNITY_VERSION}}# egg=bst_plugins_community[deb]
60
60
61
61
# Only require coverage and pytest-cov when using it
62
62
!nocover: -rrequirements/cov-requirements.txt
@@ -84,21 +84,18 @@ passenv =
84
84
# These keys are not inherited by any other sections
85
85
#
86
86
setenv =
87
- py{38,39,310,311,312}: COVERAGE_FILE = {envtmpdir}/.coverage
88
- py{38,39,310,311,312}: BST_TEST_HOME = {envtmpdir}
89
- py{38,39,310,311,312}: BST_TEST_XDG_CACHE_HOME = {envtmpdir}/cache
90
- py{38,39,310,311,312}: BST_TEST_XDG_CONFIG_HOME = {envtmpdir}/config
91
- py{38,39,310,311,312}: BST_TEST_XDG_DATA_HOME = {envtmpdir}/share
92
-
93
- # This is required to run tests with python 3.7
94
- py37: SETUPTOOLS_ENABLE_FEATURES = " legacy-editable"
87
+ py{39,310,311,312}: COVERAGE_FILE = {envtmpdir}/.coverage
88
+ py{39,310,311,312}: BST_TEST_HOME = {envtmpdir}
89
+ py{39,310,311,312}: BST_TEST_XDG_CACHE_HOME = {envtmpdir}/cache
90
+ py{39,310,311,312}: BST_TEST_XDG_CONFIG_HOME = {envtmpdir}/config
91
+ py{39,310,311,312}: BST_TEST_XDG_DATA_HOME = {envtmpdir}/share
95
92
96
93
# This is required to get coverage for Cython
97
- py{38, 39,310,311,312}-!nocover: BST_CYTHON_TRACE = 1
94
+ py{39,310,311,312}-!nocover: BST_CYTHON_TRACE = 1
98
95
randomized: PYTEST_ADDOPTS =" --random-order-bucket=global"
99
96
100
97
allowlist_externals =
101
- py{38, 39,310,311,312}:
98
+ py{39,310,311,312}:
102
99
mv
103
100
mkdir
104
101
0 commit comments