Skip to content

Commit 3f79812

Browse files
committed
Bumped minimum version of certifi and fixed a typing issue with Python 3.9.
1 parent a5281c5 commit 3f79812

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- Switched from pyright to mypy for type checking.
77
- Fixed broken links in the documentation.
88
- Bumped default version of Tailwind CSS to 3.4.13.
9+
- Bumped minimum version of certifi to 2024.8.30. Removed the upper boundary of the version number.
910

1011
## 2.19.0
1112

pyproject.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,7 @@ classifiers = [
2424
]
2525
dynamic = ["version"]
2626
requires-python = ">=3.9"
27-
dependencies = [
28-
"django>=4.2",
29-
"certifi>=2023.7.22,<2025.0.0",
30-
"django-typer>=2.1.2",
31-
]
27+
dependencies = ["django>=4.2", "certifi>=2024.8.30", "django-typer>=2.1.2"]
3228

3329
[project.optional-dependencies]
3430
django-extensions = ["django-extensions>=3.2", "werkzeug>=3.0"]
@@ -75,6 +71,7 @@ exclude = '''
7571

7672
# mypy
7773
[tool.mypy]
74+
python_version = "3.9"
7875
plugins = ["mypy_django_plugin.main"]
7976

8077
[tool.django-stubs]

src/django_tailwind_cli/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from typing import Optional
2+
13
from django.conf import settings
24

35
DEFAULT_VERSION = "3.4.13"
@@ -19,7 +21,7 @@ def get_tailwind_cli_automatic_download() -> bool:
1921
return getattr(settings, "TAILWIND_CLI_AUTOMATIC_DOWNLOAD", True)
2022

2123

22-
def get_tailwind_cli_src_css() -> None | str:
24+
def get_tailwind_cli_src_css() -> Optional[str]:
2325
"""Get the source css file for the Tailwind CSS CLI."""
2426
return getattr(settings, "TAILWIND_CLI_SRC_CSS", None)
2527

uv.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)