diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 477c10a..ee9101f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v4.6.0 hooks: - id: check-added-large-files - id: check-ast @@ -16,18 +16,18 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/psf/black - rev: 24.2.0 + rev: 24.8.0 hooks: - id: black language_version: python3.8 name: black (Python formatter) - repo: https://github.com/pycqa/flake8 - rev: 7.0.0 + rev: 7.1.1 hooks: - id: flake8 name: flake8 (Python linter) - repo: https://github.com/econchick/interrogate - rev: 1.5.0 + rev: 1.7.0 hooks: - id: interrogate name: interrogate (Python docstring enforcer) diff --git a/docs/faq.rst b/docs/faq.rst index 0a54403..b49bd57 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -48,10 +48,11 @@ did not receive a copy of this file, you can view it online at What versions of Django and Python are supported? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -As of django-registration |release|, Django 3.2 and 4.0 are supported, on -Python 3.7 (Django 3.2 only), 3.8, 3.9, and 3.10. Note that Django 3.2's -support for Python 3.10 was added in Django 3.2.9, so you may experience issues -with Python 3.10 and earlier Django 3.2 versions. +django-registration |release| supports Django 4.2, 5.0, and 5.1, and Python 3.8 +through 3.12. See `Django's Python support matrix +`_ +for details of which Python versions are compatible with each version of +Django. I found a bug or want to make an improvement! diff --git a/docs/install.rst b/docs/install.rst index d4e680a..1b8ae59 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -4,21 +4,11 @@ Installation and recommended configuration ========================================== -django-registration |release| supports Django 3.2, 4.1, and 4.2 on Python 3.7 -(Django 3.2 only), 3.8, 3.9, 3.10, and 3.11 (Django 4.1 and 4.2 only). Note -that Django 3.2's support for Python 3.10 was added in Django 3.2.9, so you may -experience issues with Python 3.10 and earlier Django 3.2 versions. - -.. note:: **Django 3.2 and supported Python versions** - - Django 3.2 was released before Python 3.10 had come out, and although it now - supports Python 3.10, it did not officially do so until the Django 3.2.9 - release. You may encounter problems if you try to use Django 3.2.8 or - earlier with Python 3.10. - - Also, although Django 3.2 continues to officially support Python 3.6, - django-registration |release| does not, because the Python core team's - support window for Python 3.6 ended in December 2021. +django-registration |release| supports Django 4.2, 5.0, and 5.1, and Python 3.8 +through 3.12. See `Django's Python support matrix +`_ +for details of which Python versions are compatible with each version of +Django. Installing django-registration diff --git a/noxfile.py b/noxfile.py index f444132..bdaec1b 100644 --- a/noxfile.py +++ b/noxfile.py @@ -55,18 +55,13 @@ def clean(paths: typing.Iterable[pathlib.Path] = ARTIFACT_PATHS) -> None: @nox.parametrize( "python,django", [ - # Python/Django testing matrix. Tests Django 3.2, 4.2, 5.0, on Python 3.8 - # through 3.11, skipping unsupported combinations. + # Python/Django testing matrix. Tests Django 4.2, 5.0, 5.1 on Python 3.8 through + # 3.12, skipping unsupported combinations. (python, django) for python in ["3.8", "3.9", "3.10", "3.11", "3.12"] - for django in ["3.2", "4.2", "5.0"] + for django in ["4.2", "5.0", "5.1"] if (python, django) - not in [ - ("3.11", "3.2"), - ("3.12", "3.2"), - ("3.8", "5.0"), - ("3.9", "5.0"), - ] + not in [("3.8", "5.0"), ("3.9", "5.0"), ("3.8", "5.1"), ("3.9", "5.1")] ], ) def tests_with_coverage(session: nox.Session, django: str) -> None: diff --git a/pyproject.toml b/pyproject.toml index 58d96fe..83cc45d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,9 +10,9 @@ classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", - "Framework :: Django :: 3.2", "Framework :: Django :: 4.2", "Framework :: Django :: 5.0", + "Framework :: Django :: 5.1", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", @@ -28,7 +28,7 @@ classifiers = [ name = "django-registration" description = "An extensible user-registration application for Django." dependencies = [ - "Django>=3.2,!=4.0.*,!=4.1.*", + "Django>=4.2", "confusable_homoglyphs~=3.0" ] dynamic = ["version"] diff --git a/src/django_registration/__init__.py b/src/django_registration/__init__.py index f571fe4..76bc7d7 100644 --- a/src/django_registration/__init__.py +++ b/src/django_registration/__init__.py @@ -3,4 +3,4 @@ """ -__version__ = "3.5a1" +__version__ = "5.1.0a1"