Skip to content

Commit

Permalink
(chore) Add support for Python 3.12 and Django 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zyegfryed committed Apr 20, 2024
1 parent 4e81f27 commit fec6487
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.8, 3.9, "3.10", "3.11"]
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
os: [ ubuntu-latest]

# Python 3.6 & 3.7 are no longer available in ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.8'
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
Expand Down
11 changes: 6 additions & 5 deletions .python-version
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
3.8.17
3.9.17
3.10.12
3.11.4
3.7.16
3.8.19
3.9.19
3.10.14
3.11.9
3.12.2
3.7.17
3.6.15
9 changes: 6 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[tox]
envlist =
py{36,37,38,39,310}-django32,
py{38,39,310}-django{41,42},
py{311}-django{41,42},
py{38,39,310,311}-django41,
py{38,39,310,311,312}-django42,
py{310,311,312}-django50,
coverage

[gh-actions]
Expand All @@ -13,6 +14,7 @@ python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312

[testenv]
passenv =
Expand All @@ -27,9 +29,10 @@ deps =
django32: Django>=3.2,<3.3
django41: Django>=4.1,<4.2
django42: Django>=4.2,<4.3
django50: Django>=5.0,<5.1

[testenv:coverage]
basepython = python3.8
basepython = python3.12
commands =
pytest -q --cov=statici18n --cov-report=xml tests
deps =
Expand Down

0 comments on commit fec6487

Please sign in to comment.