Skip to content

Commit

Permalink
Start work on a 5.1 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
ubernostrum committed Aug 12, 2024
1 parent dc80d4e commit ecdcfa3
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 35 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down
9 changes: 5 additions & 4 deletions docs/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
<https://docs.djangoproject.com/en/dev/faq/install/#what-python-version-can-i-use-with-django>`_
for details of which Python versions are compatible with each version of
Django.


I found a bug or want to make an improvement!
Expand Down
20 changes: 5 additions & 15 deletions docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
<https://docs.djangoproject.com/en/dev/faq/install/#what-python-version-can-i-use-with-django>`_
for details of which Python versions are compatible with each version of
Django.


Installing django-registration
Expand Down
13 changes: 4 additions & 9 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion src/django_registration/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
"""

__version__ = "3.5a1"
__version__ = "5.1.0a1"

0 comments on commit ecdcfa3

Please sign in to comment.