[CHANGE] Add Python 3.13 to the test matrix

This commit is contained in:
Peter Pfeufer 2025-10-29 14:14:22 +01:00
parent 5d56f0a66c
commit 8c09a8c4e5
No known key found for this signature in database
3 changed files with 28 additions and 2 deletions

View File

@ -111,6 +111,18 @@ test-3.12-core:
coverage_format: cobertura coverage_format: cobertura
path: coverage.xml path: coverage.xml
test-3.13-core:
<<: *only-default
image: python:3.13-trixie
script:
- tox -e py313-core
artifacts:
when: always
reports:
coverage_report:
coverage_format: cobertura
path: coverage.xml
test-3.8-all: test-3.8-all:
<<: *only-default <<: *only-default
image: python:3.8-bookworm image: python:3.8-bookworm
@ -172,6 +184,18 @@ test-3.12-all:
coverage_format: cobertura coverage_format: cobertura
path: coverage.xml path: coverage.xml
test-3.13-all:
<<: *only-default
image: python:3.13-trixie
script:
- tox -e py313-all
artifacts:
when: always
reports:
coverage_report:
coverage_format: cobertura
path: coverage.xml
build-test: build-test:
stage: test stage: test
image: python:3.11-trixie image: python:3.11-trixie

View File

@ -15,7 +15,7 @@ license = { file = "LICENSE" }
authors = [ authors = [
{ name = "Alliance Auth", email = "adarnof@gmail.com" }, { name = "Alliance Auth", email = "adarnof@gmail.com" },
] ]
requires-python = ">=3.8,<3.13" requires-python = ">=3.8,<3.14"
classifiers = [ classifiers = [
"Environment :: Web Environment", "Environment :: Web Environment",
"Framework :: Celery", "Framework :: Celery",
@ -31,6 +31,7 @@ classifiers = [
"Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
] ]

View File

@ -2,7 +2,7 @@
isolated_build = true isolated_build = true
skipsdist = true skipsdist = true
usedevelop = true usedevelop = true
envlist = py{38,39,310,311,312}-{all,core}, docs envlist = py{38,39,310,311,312,313}-{all,core}, docs
[testenv] [testenv]
setenv = setenv =
@ -14,6 +14,7 @@ basepython =
py310: python3.10 py310: python3.10
py311: python3.11 py311: python3.11
py312: python3.12 py312: python3.12
py313: python3.13
deps= deps=
coverage coverage
install_command = pip install -e ".[test]" -U {opts} {packages} install_command = pip install -e ".[test]" -U {opts} {packages}