Merge branch 'py313' into 'main'

python 3.13 support

See merge request yaal/canaille!186
This commit is contained in:
Éloi Rivard 2024-10-27 10:25:07 +00:00
commit 103c6343be
4 changed files with 16 additions and 7 deletions

View file

@ -17,6 +17,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
python: python:
- '3.13'
- '3.12' - '3.12'
- '3.11' - '3.11'
- '3.10' - '3.10'
@ -85,7 +86,7 @@ jobs:
uses: snok/install-poetry@v1 uses: snok/install-poetry@v1
- uses: actions/setup-python@v5 - uses: actions/setup-python@v5
with: with:
python-version: '3.12' python-version: '3.13'
cache: 'poetry' cache: 'poetry'
- name: Install apt dependencies - name: Install apt dependencies
run: | run: |

View file

@ -16,7 +16,7 @@ cache:
- .venv - .venv
style: style:
image: python:3.12 image: python:3.13
stage: test stage: test
script: script:
- pip install pre-commit - pip install pre-commit
@ -43,8 +43,15 @@ python312:
- poetry install --extras all - poetry install --extras all
- poetry run pytest - poetry run pytest
python313:
image: python:3.13
stage: test
script:
- poetry install --extras all
- poetry run pytest
minversions: minversions:
image: python:3.10 image: python:3.13
stage: test stage: test
script: script:
- sed -i -E 's/"(\^|>=)([0-9\.]+)([^,]*)"/"==\2"/' pyproject.toml - sed -i -E 's/"(\^|>=)([0-9\.]+)([^,]*)"/"==\2"/' pyproject.toml
@ -54,14 +61,14 @@ minversions:
- poetry run pytest - poetry run pytest
doc: doc:
image: python:3.12 image: python:3.13
stage: test stage: test
script: script:
- poetry install --only doc - poetry install --only doc
- poetry run sphinx-build doc build/sphinx/html - poetry run sphinx-build doc build/sphinx/html
coverage: coverage:
image: python:3.12 image: python:3.13
stage: test stage: test
allow_failure: true allow_failure: true
script: script:

View file

@ -4,6 +4,7 @@
Added Added
^^^^^ ^^^^^
- New security events logs :issue:`177` - New security events logs :issue:`177`
- Support for Python 3.13 :pr:`186`
Changed Changed
^^^^^^^ ^^^^^^^

View file

@ -12,11 +12,10 @@ keywords = ["oidc", "oauth", "oauth2", "openid", "identity"]
classifiers = [ classifiers = [
"Intended Audience :: Developers", "Intended Audience :: Developers",
"Development Status :: 3 - Alpha", "Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"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",
"Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: CPython",
"License :: OSI Approved :: MIT License", "License :: OSI Approved :: MIT License",
"Environment :: Web Environment", "Environment :: Web Environment",
@ -214,6 +213,7 @@ envlist =
py310 py310
py311 py311
py312 py312
py313
doc doc
coverage coverage