Skip to content

Commit

Permalink
Python 3.13 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bartTC committed Nov 19, 2024
1 parent c8f528c commit 7ee1228
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.13'
cache: 'pip'

- name: Build Sphinx Docs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## v1.6 (2024-11-19)

- Python 3.13 compatibility and tests.
- Drop support for Django <= 4.1.
- Drop support for Python 3.8.

## v1.5 (2024-08-11)

- Django 5.0, 5.1 compatibility and tests.
Expand Down
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,11 @@ You can additionally post-process the file content using custom 'encoder'.

## Compatibility Matrix:

| Py/Dj | 3.9 | 3.10 | 3.11 | 3.12 |
|-----------|-----|------|------|------|
| 3.2 (LTS) |||||
| 4.0 |||||
| 4.1 |||||
| 4.2 (LTS) |||||
| 5.0 |||||
| 5.1 |||||
| Py/Dj | 3.9 | 3.10 | 3.11 | 3.12 | 3.13 |
|-----------|-----|------|------|------|------|
| 4.2 (LTS) ||||||
| 5.0 ||||||
| 5.1 ||||||

## Quickstart

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Framework :: Django",
]

Expand Down
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,24 @@
toxworkdir = /tmp/tox/django-staticinline
skip_missing_interpreters = True
envlist =
py{39,310,311}-django-{32,40,41,42}
py{310,311}-django-{50,51}
py{39,310,311,312,313}-django-{42}
py{310,311,312,313}-django-{50,51}

[gh-actions]
python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313

[testenv]
deps=
django-32: django==3.2.*
django-40: django==4.0.*
django-41: django==4.1.*
django-50: django==5.0.*
django-51: django==5.0.*
django-51: django==5.1.*
pytest
pytest-django
setenv =
Expand Down

0 comments on commit 7ee1228

Please sign in to comment.