Skip to content

Commit

Permalink
feat!: update minimum Django version to 5.0 (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
axieum authored Dec 7, 2023
1 parent 0385c6f commit 3c8b4cb
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 58 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
fail-fast: false
matrix:
python-version: [ 3.12, 3.11, '3.10' ]
django-version: [ 4.2, 4.1, '4.0', 3.2 ]
django-version: [ '5.0' ]
include:
- { python-version: 3.12, django-version: 4.2, annotate-failures: true }
- { python-version: 3.12, django-version: '5.0', annotate-failures: true }

steps:
- name: ✨ Checkout repository
Expand Down
81 changes: 35 additions & 46 deletions poetry.lock

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

15 changes: 5 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,7 @@ documentation = "https://axieum.github.io/django-user-trace/latest/"
keywords = ["async", "django", "logs", "logging", "middleware", "sync", "trace", "tracing", "user", "web"]
classifiers = [
"Framework :: Django",
"Framework :: Django :: 3",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
Expand All @@ -31,7 +26,7 @@ include = [{ path = "tests", format = "sdist" }]

[tool.poetry.dependencies]
python = "^3.10"
django = "^3.0 | ^4.0"
django = "^5.0"
celery = {version = "^5.3.1", optional = true}

[tool.poetry.extras]
Expand All @@ -40,17 +35,17 @@ celery = ["celery"]
[tool.poetry.group.dev.dependencies]
black = "^23.7.0"
pre-commit = "^3.3.3"
ruff = "^0.0.284"
ruff = "^0.1.7"

[tool.poetry.group.test.dependencies]
pytest = "^7.4.0"
pytest-asyncio = "^0.21.1"
pytest-asyncio = "^0.23.2"
pytest-celery = "^0.0.0"
pytest-cov = "^4.1.0"
pytest-django = "^4.5.2"
pytest-mock = "^3.11.1"
pytest-xdist = "^3.3.1"
syrupy = "^3.0.6"
syrupy = "^4.6.0"

[tool.poetry.group.typing.dependencies]
mypy = ">=0.990"
Expand Down

0 comments on commit 3c8b4cb

Please sign in to comment.