Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Network Health
sbws
Commits
193f5da1
Commit
193f5da1
authored
Mar 02, 2021
by
juga
Browse files
fix: CI: Update Python versions
Closes
#40055
.
parent
842ed52f
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
193f5da1
...
...
@@ -5,9 +5,16 @@
# 0.4.6 stable by Jun 15, 2021
# 0.4.5 (LTS) EOL Feb 15, 2023
# 0.3.5 (LTS) EOL Feb 1, 2022
# Python releases:
# 3.10 stable by 2021-10-04: https://www.python.org/dev/peps/pep-0619/
# Python stable releases: https://www.python.org/downloads/
# 3.9 EOL 2025-10 PEP 596
# 3.8 EOL 2024-10 PEP 569, newest major release
# 3.7 EOL 2023-06-27 PEP 537, included in Debian buster
# 3.6 EOL 2021-12-23 PEP 494
variables
:
BASE_IMAGE
:
python:3.
7
BASE_IMAGE
:
python:3.
8
RELEASE
:
tor-nightly-master-buster
# Without version, the default available in the Debian repository will be
# installed.
...
...
@@ -38,47 +45,55 @@ before_script:
after_script
:
-
tox -e stats
python36
tor035
:
python36
:
variables
:
BASE_IMAGE
:
python:3.6
image
:
$BASE_IMAGE
script
:
-
tox -e py36
-
tox -e integration
python37tor035
:
variables
:
BASE_IMAGE
:
python:3.7
RELEASE
:
tor-nightly-0.3.5.x-buster
TOR
:
tor=0.3.5*
image
:
$BASE_IMAGE
script
:
-
tox -e py3
6
-
tox -e py3
7
-
tox -e integration
python3
6
tor045
:
python3
7
tor045
:
variables
:
BASE_IMAGE
:
python:3.
6
BASE_IMAGE
:
python:3.
7
RELEASE
:
tor-nightly-0.4.5.x-buster
TOR
:
tor=0.4.5*
image
:
$BASE_IMAGE
script
:
-
tox -e py3
6
-
tox -e py3
7
-
tox -e integration
python3
6
tormaster
:
python3
7
tormaster
:
variables
:
BASE_IMAGE
:
python:3.
6
BASE_IMAGE
:
python:3.
7
RELEASE
:
tor-nightly-master-buster
TOR
:
tor=0.4.6*
image
:
$BASE_IMAGE
script
:
-
tox -e py3
6
-
tox -e py3
7
-
tox -e integration
python3
6
torstable
:
python3
7
torstable
:
variables
:
BASE_IMAGE
:
python:3.
6
BASE_IMAGE
:
python:3.
7
RELEASE
:
buster
TOR
:
tor
image
:
$BASE_IMAGE
script
:
-
tox -e py3
6
-
tox -e py3
7
-
tox -e integration
python3
7
:
python3
8
:
# This will overwrite the default before_script, so need to repeat the
# commands
before_script
:
...
...
@@ -100,24 +115,24 @@ python37:
script
:
-
tox -e inst
-
tox -e setup
-
tox -e py3
7
-
tox -e py3
8
-
tox -e integration
-
tox -e lint
-
tox -e doc
python3
8
:
python3
9
:
variables
:
BASE_IMAGE
:
python:3.
8
BASE_IMAGE
:
python:3.
9
image
:
$BASE_IMAGE
script
:
-
tox -e py3
8
-
tox -e py3
9
-
tox -e integration
python3
9
:
python3
10
:
variables
:
BASE_IMAGE
:
python:3.
9
-rc-buster
BASE_IMAGE
:
python:3.
10
-rc-buster
image
:
$BASE_IMAGE
script
:
-
tox -e py3
9
-
tox -e py3
10
-
tox -e integration
allow_failure
:
true
tox.ini
View file @
193f5da1
[tox]
skip_missing_interpreters
=
True
envlist
=
py{36, 37, 38, 39}, inst, setup, integration, lint, stats, doc
envlist
=
py{36, 37, 38, 39
, 310
}, inst, setup, integration, lint, stats, doc
[travis]
python
=
3.6:
py36,
inst,
setup,
unit,
integration,
lint,
doc
3.7:
py37,
inst,
setup,
unit,
integration,
lint,
doc
3.8:
py38,
inst,
setup,
unit,
integration,
lint,
doc
3.9
-dev
:
py39,
inst,
setup,
unit,
integration,
lint,
doc
3.9:
py39,
inst,
setup,
unit,
integration,
lint,
doc
nightly:
pynightly,
inst,
setup,
unit,
integration,
lint,
doc
; [testenv]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment