Skip to content

Commit

Permalink
build: add support for Django 5.1 (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
paduszyk authored Aug 9, 2024
1 parent a60b70b commit 8785bd5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
12 changes: 6 additions & 6 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ The app allows you to:

## Requirements

| Python | Django | Database engines |
| :----- | :---------------------- | :------------------ |
| 3.9 | 3.2, 4.0, 4.1, 4.2 | SQLite3, PostgreSQL |
| 3.10 | 3.2, 4.0, 4.1, 4.2, 5.0 | SQLite3, PostgreSQL |
| 3.11 | 4.1, 4.2, 5.0 | SQLite3, PostgreSQL |
| 3.12 | 4.2, 5.0 | SQLite3, PostgreSQL |
| Python | Django | Database engines |
| :----- | :--------------------------- | :------------------ |
| 3.9 | 3.2, 4.0, 4.1, 4.2 | SQLite3, PostgreSQL |
| 3.10 | 3.2, 4.0, 4.1, 4.2, 5.0, 5.1 | SQLite3, PostgreSQL |
| 3.11 | 4.1, 4.2, 5.0, 5.1 | SQLite3, PostgreSQL |
| 3.12 | 4.2, 5.0, 5.1 | SQLite3, PostgreSQL |

All setups require OpenPyXL < 4.

Expand Down
6 changes: 3 additions & 3 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@

DJANGO_VERSIONS = {
"3.9": ["3.2", "4.0", "4.1", "4.2"],
"3.10": ["3.2", "4.0", "4.1", "4.2", "5.0"],
"3.11": ["4.1", "4.2", "5.0"],
"3.12": ["4.2", "5.0"],
"3.10": ["3.2", "4.0", "4.1", "4.2", "5.0", "5.1"],
"3.11": ["4.1", "4.2", "5.0", "5.1"],
"3.12": ["4.2", "5.0", "5.1"],
}

DATABASE_ENGINES = [
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "django-xlsx-serializer"
dependencies = [
"django >= 3.2, < 5.1",
"django >= 3.2, < 5.2",
"openpyxl < 4",
"typing-extensions < 5",
]
Expand All @@ -33,6 +33,7 @@ classifiers = [
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
Expand Down

0 comments on commit 8785bd5

Please sign in to comment.