Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sbws
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
juga
sbws
Commits
193f5da1
Commit
193f5da1
authored
4 years ago
by
juga
Browse files
Options
Downloads
Patches
Plain Diff
fix: CI: Update Python versions
Closes #40055.
parent
842ed52f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+35
-20
35 additions, 20 deletions
.gitlab-ci.yml
tox.ini
+2
-2
2 additions, 2 deletions
tox.ini
with
37 additions
and
22 deletions
.gitlab-ci.yml
+
35
−
20
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
This diff is collapsed.
Click to expand it.
tox.ini
+
2
−
2
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]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment