Skip to content

Commit

Permalink
GitHub Actions: Add Python 3.12 to the testing (#445)
Browse files Browse the repository at this point in the history
* Django 5.0 supports Python 3.10, 3.11, and 3.12

https://pypi.org/project/Django

https://www.djangoproject.com/weblog/2023/dec/04/django-50-released

Django 4.1 has reached the end of extended support. The final security release ([4.1.13](https://docs.djangoproject.com/en/stable/releases/4.1.13/)) was issued on November 1st. All Django 4.1 users are encouraged to [upgrade](https://docs.djangoproject.com/en/dev/howto/upgrade-version/) to Django 4.2 or later.

https://docs.djangoproject.com/en/5.0/releases/5.0
> Django 5.0 supports Python 3.10, 3.11, and 3.12.

* tox.ini: Add py312

* python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
  • Loading branch information
cclauss authored Dec 9, 2023
1 parent 2a23864 commit 8226601
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,26 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: 3.x
- run: |
python -m pip install --upgrade pip
pip install --user "codespell[toml]" ruff
- run: codespell
- run: ruff check --output-format=github .
- run: ruff check --output-format=github

tox:
needs: ruff
strategy:
fail-fast: false
max-parallel: 6
matrix:
python: ["3.8", "3.9", "3.10", "3.11"]
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- run: pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py38,py39,py310,py311,pypy3
envlist = py38,py39,py310,py311,py312,pypy3

[base]
deps =
Expand Down

0 comments on commit 8226601

Please sign in to comment.