Skip to content

Commit

Permalink
Remove support for Django 5 as it requires additional changes for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Sami El Achi committed Mar 29, 2024
1 parent fb8ed3b commit 3d189b6
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 11 deletions.
5 changes: 0 additions & 5 deletions jazzmin/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
import django

version = "3.0.0"

if django.VERSION < (4, 2):
default_app_config = "jazzmin.apps.JazzminConfig"
13 changes: 12 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ classifiers = [
"Development Status :: 4 - Beta",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
Expand All @@ -37,7 +36,7 @@ exclude = ["tests", "docs"]

[tool.poetry.dependencies]
python = ">=3.8"
django = ">=4.2"
django = ">=4.2,<5.0"

[tool.poetry.group.dev.dependencies]
django-debug-toolbar = "^3.2.4" # unparallelled debugging in django
Expand All @@ -57,7 +56,10 @@ mypy = "^0.931" # Type checking
click = "^8.0.3" # Framework for building cli's
ipdb = "^0.13.9" # ipython breakpoints
ruff = "*" # linter and code formatter
django-stubs = "*" # Stubs for django

[tool.poetry.group.types.dependencies]
django-stubs = "*"
types-polib = "*"

[tool.poetry.urls]
"Bug Tracker" = "https://github.com/farridav/django-jazzmin/issues"
Expand Down
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
django{4,5}-{python3.8,python3.9,python3.10,python3.11,python3.12},
django4-{python3.8,python3.9,python3.10,python3.11,python3.12},
# run one of the tests again but with coverage
coveralls-django4-python3.11,
skipsdist = True
Expand Down Expand Up @@ -30,7 +30,6 @@ deps =
beautifulsoup4
factory-boy
django4: Django<5
django5: Django<6

[testenv:coveralls-django4-python3.11]
passenv = COVERALLS_REPO_TOKEN
Expand Down

0 comments on commit 3d189b6

Please sign in to comment.