Skip to content

Commit

Permalink
Merge branch 'py312' into 'main'
Browse files Browse the repository at this point in the history
chore: python 3.12 support

See merge request yaal/canaille!155
  • Loading branch information
azmeuk committed Nov 1, 2023
2 parents 9ae4f74 + b2988d3 commit 458e5e6
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 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.12'
- '3.11'
- '3.10'
- '3.9'
Expand Down Expand Up @@ -75,7 +76,7 @@ jobs:
uses: snok/install-poetry@v1
- uses: actions/setup-python@v3
with:
python-version: '3.11'
python-version: '3.12'
cache: 'poetry'
- name: Update apt repositories
run: sudo apt update
Expand Down
13 changes: 10 additions & 3 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.11
image: python:3.12
stage: test
script:
- pip install pre-commit
Expand Down Expand Up @@ -50,6 +50,13 @@ python311:
- poetry install --extras all
- poetry run pytest

python312:
image: python:3.12
stage: test
script:
- poetry install --extras all
- poetry run pytest

minversions:
image: python:3.8
stage: test
Expand All @@ -61,14 +68,14 @@ minversions:
- poetry run pytest

doc:
image: python:3.11
image: python:3.12
stage: test
script:
- poetry install --only doc
- poetry run sphinx-build doc build/sphinx/html

coverage:
image: python:3.11
image: python:3.12
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 @@ -21,6 +21,7 @@ Added
- flask-babel and pytz are now part of the `front` extras
- Bump to fomantic-ui 2.9.3 :pr:`152`
- Bump to htmx 1.9.6 :pr:`154`
- Add support for python 3.12 :pr:`155`

[0.0.33] - 2023-08-26
=====================
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"License :: OSI Approved :: MIT License",
"Environment :: Web Environment",
Expand Down Expand Up @@ -170,6 +171,7 @@ envlist =
py39
py310
py311
py312
doc
coverage
Expand Down

0 comments on commit 458e5e6

Please sign in to comment.