Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-django-registration for
openSUSE:Factory checked in at 2026-04-07 16:33:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-registration (Old)
and /work/SRC/openSUSE:Factory/.python-django-registration.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-registration"
Tue Apr 7 16:33:41 2026 rev:21 rq:1344802 version:5.2.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-django-registration/python-django-registration.changes
2024-03-13 22:22:24.048729477 +0100
+++
/work/SRC/openSUSE:Factory/.python-django-registration.new.21863/python-django-registration.changes
2026-04-07 16:49:22.181683350 +0200
@@ -1,0 +2,46 @@
+Mon Mar 30 20:57:48 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 5.2.1:
+ * Correct a packaging error with 5.2.0.
+ * Supported Django versions are now 4.2, 5.1, and 5.2.
+ * Adopted "DjangoVer" versioning.
+ * Supported Django versions are now 4.2, 5.0, and 5.1.
+ * Supported Python versions are now 3.9, 3.10, 3.11, 3.12, and
+ 3.13.
+ * The base :class:`~django_registration.forms.RegistrationForm`
+ has been completely rewritten, though in a backwards-
+ compatible way. It is no longer a subclass of Django's
+ UserCreationForm, which means it is far more flexible with
+ respect to custom user models (and for many cases, no longer
+ requires a custom form subclass just to handle a custom user
+ model).
+ * :class:`~django_registration.views.ActivationView` has also
+ been rewritten, and with it parts of :ref:`the built-in
+ activation-based workflow <activation-workflow>`. The primary
+ change here is that ActivationView now only attempts to
+ activate the user account on an HTTP POST request (previously
+ it would do so on GET, which was increasingly unsafe due to
+ email clients auto-following links). This is backwards-
+ incompatible: the activation view now displays a form on GET,
+ and the templates involved have changed. See :ref:`the
+ template documentation <default-templates>` for details of
+ the required templates.
+ * The :ref:`reserved names list <reserved-names>` has a new
+ entry: "xrpc", which is used in domain-ownership verification
+ by Bluesky/AT protocol.
+ * Validation of the email field in registration forms no longer
+ applies Django's default email validator, instead applying
+ only django-registration's
+ :class:`~django_registration.validators.HTML5EmailValidator`
+ and :func:`~django_registration.validators.validate_confusabl
+ es_email`. Since django-registration's validators are
+ significantly stricter, this does not actually change the set
+ of email addresses which will be accepted; all it does is
+ prevent a duplicate error message displaying when both the
+ default Django validator and the django-registration
+ validators reject the email address. See GitHub issue #238.
+ * The supported Python and Django versions are changed to:
+ 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).
+
+-------------------------------------------------------------------
@@ -172 +217,0 @@
-
Old:
----
django-registration-3.3.tar.gz
New:
----
django_registration-5.2.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-registration.spec ++++++
--- /var/tmp/diff_new_pack.gfZ3cW/_old 2026-04-07 16:49:22.681704028 +0200
+++ /var/tmp/diff_new_pack.gfZ3cW/_new 2026-04-07 16:49:22.685704193 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-django-registration
#
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,23 +16,22 @@
#
-%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-django-registration
-Version: 3.3
+Version: 5.2.1
Release: 0
Summary: An extensible user-registration application for Django
License: BSD-3-Clause
URL: https://github.com/ubernostrum/django-registration/
-Source:
https://files.pythonhosted.org/packages/source/d/django-registration/django-registration-%{version}.tar.gz
-BuildRequires: %{python_module Django >= 2.2}
+Source:
https://files.pythonhosted.org/packages/source/d/django-registration/django_registration-%{version}.tar.gz
+BuildRequires: %{python_module Django >= 4.2}
BuildRequires: %{python_module confusable-homoglyphs >= 3.0}
+BuildRequires: %{python_module pdm-backend}
BuildRequires: %{python_module pip}
-BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-Django >= 2.2
+Requires: python-Django >= 4.2
Requires: python-confusable-homoglyphs >= 3.0
BuildArch: noarch
%python_subpackages
@@ -43,9 +42,7 @@
dependencies.
%prep
-%autosetup -p1 -n django-registration-%{version}
-
-sed -i -e 's:~=:>=:g' setup.py
+%autosetup -p1 -n django_registration-%{version}
%build
%pyproject_wheel