forked from Github-Mirrors/canaille
chore: python 3.13 support
This commit is contained in:
parent
ff4a404149
commit
08b6ec3a3b
4 changed files with 16 additions and 7 deletions
3
.github/workflows/tests.yaml
vendored
3
.github/workflows/tests.yaml
vendored
|
@ -17,6 +17,7 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
python:
|
||||
- '3.13'
|
||||
- '3.12'
|
||||
- '3.11'
|
||||
- '3.10'
|
||||
|
@ -85,7 +86,7 @@ jobs:
|
|||
uses: snok/install-poetry@v1
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.12'
|
||||
python-version: '3.13'
|
||||
cache: 'poetry'
|
||||
- name: Install apt dependencies
|
||||
run: |
|
||||
|
|
|
@ -16,7 +16,7 @@ cache:
|
|||
- .venv
|
||||
|
||||
style:
|
||||
image: python:3.12
|
||||
image: python:3.13
|
||||
stage: test
|
||||
script:
|
||||
- pip install pre-commit
|
||||
|
@ -43,8 +43,15 @@ python312:
|
|||
- poetry install --extras all
|
||||
- poetry run pytest
|
||||
|
||||
python313:
|
||||
image: python:3.13
|
||||
stage: test
|
||||
script:
|
||||
- poetry install --extras all
|
||||
- poetry run pytest
|
||||
|
||||
minversions:
|
||||
image: python:3.10
|
||||
image: python:3.13
|
||||
stage: test
|
||||
script:
|
||||
- sed -i -E 's/"(\^|>=)([0-9\.]+)([^,]*)"/"==\2"/' pyproject.toml
|
||||
|
@ -54,14 +61,14 @@ minversions:
|
|||
- poetry run pytest
|
||||
|
||||
doc:
|
||||
image: python:3.12
|
||||
image: python:3.13
|
||||
stage: test
|
||||
script:
|
||||
- poetry install --only doc
|
||||
- poetry run sphinx-build doc build/sphinx/html
|
||||
|
||||
coverage:
|
||||
image: python:3.12
|
||||
image: python:3.13
|
||||
stage: test
|
||||
allow_failure: true
|
||||
script:
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
Added
|
||||
^^^^^
|
||||
- New security events logs :issue:`177`
|
||||
- Support for Python 3.13 :pr:`186`
|
||||
|
||||
Changed
|
||||
^^^^^^^
|
||||
|
|
|
@ -12,11 +12,10 @@ keywords = ["oidc", "oauth", "oauth2", "openid", "identity"]
|
|||
classifiers = [
|
||||
"Intended Audience :: Developers",
|
||||
"Development Status :: 3 - Alpha",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Programming Language :: Python :: 3.13",
|
||||
"Programming Language :: Python :: Implementation :: CPython",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Environment :: Web Environment",
|
||||
|
@ -214,6 +213,7 @@ envlist =
|
|||
py310
|
||||
py311
|
||||
py312
|
||||
py313
|
||||
doc
|
||||
coverage
|
||||
|
||||
|
|
Loading…
Reference in a new issue