forked from Github-Mirrors/canaille
chore: python 3.12 support
This commit is contained in:
parent
9ae4f7487d
commit
b2988d35eb
4 changed files with 15 additions and 4 deletions
3
.github/workflows/tests.yaml
vendored
3
.github/workflows/tests.yaml
vendored
|
@ -17,6 +17,7 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
python:
|
python:
|
||||||
|
- '3.12'
|
||||||
- '3.11'
|
- '3.11'
|
||||||
- '3.10'
|
- '3.10'
|
||||||
- '3.9'
|
- '3.9'
|
||||||
|
@ -75,7 +76,7 @@ jobs:
|
||||||
uses: snok/install-poetry@v1
|
uses: snok/install-poetry@v1
|
||||||
- uses: actions/setup-python@v3
|
- uses: actions/setup-python@v3
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.12'
|
||||||
cache: 'poetry'
|
cache: 'poetry'
|
||||||
- name: Update apt repositories
|
- name: Update apt repositories
|
||||||
run: sudo apt update
|
run: sudo apt update
|
||||||
|
|
|
@ -16,7 +16,7 @@ cache:
|
||||||
- .venv
|
- .venv
|
||||||
|
|
||||||
style:
|
style:
|
||||||
image: python:3.11
|
image: python:3.12
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- pip install pre-commit
|
- pip install pre-commit
|
||||||
|
@ -50,6 +50,13 @@ python311:
|
||||||
- poetry install --extras all
|
- poetry install --extras all
|
||||||
- poetry run pytest
|
- poetry run pytest
|
||||||
|
|
||||||
|
python312:
|
||||||
|
image: python:3.12
|
||||||
|
stage: test
|
||||||
|
script:
|
||||||
|
- poetry install --extras all
|
||||||
|
- poetry run pytest
|
||||||
|
|
||||||
minversions:
|
minversions:
|
||||||
image: python:3.8
|
image: python:3.8
|
||||||
stage: test
|
stage: test
|
||||||
|
@ -61,14 +68,14 @@ minversions:
|
||||||
- poetry run pytest
|
- poetry run pytest
|
||||||
|
|
||||||
doc:
|
doc:
|
||||||
image: python:3.11
|
image: python:3.12
|
||||||
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.11
|
image: python:3.12
|
||||||
stage: test
|
stage: test
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
script:
|
script:
|
||||||
|
|
|
@ -21,6 +21,7 @@ Added
|
||||||
- flask-babel and pytz are now part of the `front` extras
|
- flask-babel and pytz are now part of the `front` extras
|
||||||
- Bump to fomantic-ui 2.9.3 :pr:`152`
|
- Bump to fomantic-ui 2.9.3 :pr:`152`
|
||||||
- Bump to htmx 1.9.6 :pr:`154`
|
- Bump to htmx 1.9.6 :pr:`154`
|
||||||
|
- Add support for python 3.12 :pr:`155`
|
||||||
|
|
||||||
[0.0.33] - 2023-08-26
|
[0.0.33] - 2023-08-26
|
||||||
=====================
|
=====================
|
||||||
|
|
|
@ -16,6 +16,7 @@ classifiers = [
|
||||||
"Programming Language :: Python :: 3.9",
|
"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 :: Implementation :: CPython",
|
"Programming Language :: Python :: Implementation :: CPython",
|
||||||
"License :: OSI Approved :: MIT License",
|
"License :: OSI Approved :: MIT License",
|
||||||
"Environment :: Web Environment",
|
"Environment :: Web Environment",
|
||||||
|
@ -170,6 +171,7 @@ envlist =
|
||||||
py39
|
py39
|
||||||
py310
|
py310
|
||||||
py311
|
py311
|
||||||
|
py312
|
||||||
doc
|
doc
|
||||||
coverage
|
coverage
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue