Skip to content

Commit

Permalink
Merge branch 'py313' into 'main'
Browse files Browse the repository at this point in the history
python 3.13 support

See merge request yaal/canaille!186
  • Loading branch information
azmeuk committed Oct 27, 2024
2 parents ff4a404 + 08b6ec3 commit 103c634
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
fail-fast: false
matrix:
python:
- '3.13'
- '3.12'
- '3.11'
- '3.10'
Expand Down Expand Up @@ -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: |
Expand Down
15 changes: 11 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cache:
- .venv

style:
image: python:3.12
image: python:3.13
stage: test
script:
- pip install pre-commit
Expand All @@ -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
Expand All @@ -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:
Expand Down
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Added
^^^^^
- New security events logs :issue:`177`
- Support for Python 3.13 :pr:`186`

Changed
^^^^^^^
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -214,6 +213,7 @@ envlist =
py310
py311
py312
py313
doc
coverage
Expand Down

0 comments on commit 103c634

Please sign in to comment.