Commit 516e2652 authored by juga's avatar juga
Browse files

CI: Remove EOL Python versions from tests

Not adding greater versions than 3.11 because tests need to be adapted

Remove also EOL tor version and update Debian release
parent cb31f100
Loading
Loading
Loading
Loading
+17 −32
Changes for .gitlab-ci.yml: 17 added lines, 32 removed lines.
Original line number Diff line number Diff line
# core/tor releases:
# https://gitlab.torproject.org/tpo/core/team/-/wikis/NetworkTeam/CoreTorReleases
# 0.4.9
# 0.4.8
# 0.4.7 stable by March 15, 2022
# ~~0.4.6 EOL on or after June 15, 2022~~
# ~~0.4.5 (LTS) EOL Feb 15, 2023~~

# Python stable releases: https://www.python.org/downloads/
# 3.11 EOL 2027-10, PEP 664
# 3.10 EOL 2026-10, PEP 619
# 3.9 EOL 2025-10, PEP 596
# 3.8 EOL 2024-10, PEP 569
# 3.7 EOL 2023-06-27, PEP 537
# 3.14 EOL 2030-10, PEP 745
# 3.13 EOL 2029-10, PEP 719
# 3.12 EOL 2028-10, PEP 693
# 3.13 EOL 2027-10, PEP 664
# 3.12 EOL 2026-10, PEP 619

variables:
  BASE_IMAGE: python:3.9
  RELEASE: tor-nightly-main-bookworm
  BASE_IMAGE: python:3.11
  RELEASE: tor-nightly-main-trixie
  # Without version, the default available in the Debian repository will be
  # installed.
  # Specifying which version starts with will install the highest that start
  # with that version.
  TOR: tor/tor-nightly-main-bookworm
  TOR: tor/tor-nightly-main-trixie
  PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"

cache:
@@ -42,13 +39,13 @@ before_script:
  - python --version
  - tor --version

python38:
python310:
  variables:
    BASE_IMAGE: python:3.8
    BASE_IMAGE: python:3.10
  script:
    - tox -e py38
    - tox -e py310

python39tormaster:
python311tormaster:
  # This will overwrite the default before_script, so need to repeat the
  # commands
  before_script:
@@ -68,25 +65,13 @@ python39tormaster:
    - apt install -yqq texlive-latex-extra
    - apt install -yqq dvipng
  script:
    - tox -e py39

python39torstable:
  variables:
    BASE_IMAGE: python:3.9
    RELEASE: bookworm
    TOR: tor/bookworm
  script:
    - tox -e py39

python310:
  variables:
    BASE_IMAGE: python:3.10
  script:
    - tox -e py310
    - tox -e py311

python311:
python311torstable:
  variables:
    BASE_IMAGE: python:3.11
    RELEASE: trixie
    TOR: tor/trixie
  script:
    - tox -e py311

+1 −1
Changes for tox.ini: 1 added line, 1 removed line.
Original line number Diff line number Diff line
[tox]
skip_missing_interpreters = True
envlist = py37,py38,py39,py310,py311,jython,pypy
envlist = py310,py311,jython,pypy
skipsdist = True

[testenv]