Merge branch 'python-3.13' into 'master'

Draft: [CHANGE] Add Python 3.13 to the test matrix

See merge request allianceauth/allianceauth!1776
This commit is contained in:
Peter Pfeufer 2025-10-29 13:26:41 +00:00
commit ca0f997763
3 changed files with 28 additions and 2 deletions

View File

@ -111,6 +111,18 @@ test-3.12-core:
coverage_format: cobertura
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:
<<: *only-default
image: python:3.8-bookworm
@ -172,6 +184,18 @@ test-3.12-all:
coverage_format: cobertura
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:
stage: test
image: python:3.11-trixie

View File

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

View File

@ -2,7 +2,7 @@
isolated_build = true
skipsdist = 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]
setenv =
@ -14,6 +14,7 @@ basepython =
py310: python3.10
py311: python3.11
py312: python3.12
py313: python3.13
deps=
coverage
install_command = pip install -e ".[test]" -U {opts} {packages}