diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e4a03d..76974b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - Switched from pyright to mypy for type checking. - Fixed broken links in the documentation. - Bumped default version of Tailwind CSS to 3.4.13. +- Bumped minimum version of certifi to 2024.8.30. Removed the upper boundary of the version number. ## 2.19.0 diff --git a/pyproject.toml b/pyproject.toml index 1937c6e..66e66ad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,11 +24,7 @@ classifiers = [ ] dynamic = ["version"] requires-python = ">=3.9" -dependencies = [ - "django>=4.2", - "certifi>=2023.7.22,<2025.0.0", - "django-typer>=2.1.2", -] +dependencies = ["django>=4.2", "certifi>=2024.8.30", "django-typer>=2.1.2"] [project.optional-dependencies] django-extensions = ["django-extensions>=3.2", "werkzeug>=3.0"] @@ -75,6 +71,7 @@ exclude = ''' # mypy [tool.mypy] +python_version = "3.9" plugins = ["mypy_django_plugin.main"] [tool.django-stubs] diff --git a/src/django_tailwind_cli/conf.py b/src/django_tailwind_cli/conf.py index 5008a12..627a8ac 100644 --- a/src/django_tailwind_cli/conf.py +++ b/src/django_tailwind_cli/conf.py @@ -1,3 +1,5 @@ +from typing import Optional + from django.conf import settings DEFAULT_VERSION = "3.4.13" @@ -19,7 +21,7 @@ def get_tailwind_cli_automatic_download() -> bool: return getattr(settings, "TAILWIND_CLI_AUTOMATIC_DOWNLOAD", True) -def get_tailwind_cli_src_css() -> None | str: +def get_tailwind_cli_src_css() -> Optional[str]: """Get the source css file for the Tailwind CSS CLI.""" return getattr(settings, "TAILWIND_CLI_SRC_CSS", None) diff --git a/uv.lock b/uv.lock index 2aab6fa..744a2d6 100644 --- a/uv.lock +++ b/uv.lock @@ -180,7 +180,7 @@ wheels = [ [[package]] name = "django-tailwind-cli" -version = "2.19.4.dev0+g88adcc5.d20241117" +version = "2.19.4.dev3+ga5281c5.d20241117" source = { editable = "." } dependencies = [ { name = "certifi" }, @@ -207,7 +207,7 @@ dev = [ [package.metadata] requires-dist = [ - { name = "certifi", specifier = ">=2023.7.22,<2025.0.0" }, + { name = "certifi", specifier = ">=2024.8.30" }, { name = "django", specifier = ">=4.2" }, { name = "django-extensions", marker = "extra == 'django-extensions'", specifier = ">=3.2" }, { name = "django-typer", specifier = ">=2.1.2" },