chore: python 3.12 support

This commit is contained in:
Éloi Rivard 2023-11-01 20:22:26 +01:00
parent 9ae4f7487d
commit b2988d35eb
No known key found for this signature in database
GPG key ID: 7EDA204EA57DD184
4 changed files with 15 additions and 4 deletions

View file

@ -17,6 +17,7 @@ jobs:
fail-fast: false
matrix:
python:
- '3.12'
- '3.11'
- '3.10'
- '3.9'
@ -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

View file

@ -16,7 +16,7 @@ cache:
- .venv
style:
image: python:3.11
image: python:3.12
stage: test
script:
- pip install pre-commit
@ -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
@ -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:

View file

@ -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
=====================

View file

@ -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",
@ -170,6 +171,7 @@ envlist =
py39
py310
py311
py312
doc
coverage