Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-django-mailman3 for 
openSUSE:Factory checked in at 2026-03-10 17:58:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-mailman3 (Old)
 and      /work/SRC/openSUSE:Factory/.python-django-mailman3.new.8177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-django-mailman3"

Tue Mar 10 17:58:24 2026 rev:18 rq:1337984 version:1.3.14

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-django-mailman3/python-django-mailman3.changes
    2025-12-29 15:18:32.291285959 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-django-mailman3.new.8177/python-django-mailman3.changes
  2026-03-10 18:58:35.941671356 +0100
@@ -1,0 +2,7 @@
+Tue Mar 10 11:15:14 UTC 2026 - Markéta Machová <[email protected]>
+
+- (Build)Require python-django-allauth[socialaccount,openid] extras
+- Include upstream sociallogin.patch to fix tests with django-allauth
+  0.64+
+
+-------------------------------------------------------------------

New:
----
  _scmsync.obsinfo
  build.specials.obscpio
  sociallogin.patch

----------(New B)----------
  New:- (Build)Require python-django-allauth[socialaccount,openid] extras
- Include upstream sociallogin.patch to fix tests with django-allauth
  0.64+
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-django-mailman3.spec ++++++
--- /var/tmp/diff_new_pack.5mhGRU/_old  2026-03-10 18:58:36.565695396 +0100
+++ /var/tmp/diff_new_pack.5mhGRU/_new  2026-03-10 18:58:36.565695396 +0100
@@ -44,6 +44,8 @@
 Source3:        %{url}/-/raw/v%{version}/pytest.ini
 # PATCH-FIX-UPSTREAM 
https://gitlab.com/mailman/django-mailman3/-/commit/465c1ffc77556bb8a80a678f53a40f16b9766cc6
 feat: Add Python 3.13 and Django 5.2 (LTS) support
 Patch0:         django52.patch
+# PATCH-FIX-UPSTREAM 
https://gitlab.com/mailman/django-mailman3/-/commit/e2a0066b95f570d063b7ef029d74b1c32bdc7b5b
 fix: Remove sociallogin.account from the debug print
+Patch1:         sociallogin.patch
 BuildRequires:  %{python_module pdm}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
@@ -54,16 +56,26 @@
 Requires:       python-django-gravatar2 >= %{django_gravatar2_min_version}
 Requires:       python-mailmanclient >= %{mailmanclient_min_version}
 Requires:       (python-Django >= %{django_min_version} with python-Django < 
%{django_max_version})
+# SECTION django-allauth[socialaccount,openid] extra dependencies
+Requires:       python-PyJWT
+Requires:       python-oauthlib
+Requires:       python-python3-openid
+Requires:       python-requests
+# /SECTION
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module Django >= %{django_min_version}}
+BuildRequires:  %{python_module PyJWT}
 BuildRequires:  %{python_module django-allauth >= 
%{django_allauth_min_version}}
 BuildRequires:  %{python_module django-gravatar2 >= 
%{django_gravatar2_min_version}}
 BuildRequires:  %{python_module editables}
 BuildRequires:  %{python_module mailmanclient >= %{mailmanclient_min_version}}
+BuildRequires:  %{python_module oauthlib}
 BuildRequires:  %{python_module pdm-backend}
 BuildRequires:  %{python_module pytest-django}
 BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module python3-openid}
+BuildRequires:  %{python_module requests}
 # /SECTION
 %python_subpackages
 

++++++ _scmsync.obsinfo ++++++
mtime: 1773149438
commit: c47397bcc36ff2d8db902bcffd51f5ce43f5e8f6f31399a240ba28527e727776
url: https://src.opensuse.org/python-mailman/python-django-mailman3.git
revision: c47397bcc36ff2d8db902bcffd51f5ce43f5e8f6f31399a240ba28527e727776
projectscmsync: https://src.opensuse.org/python-mailman/_ObsPrj

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2026-03-10 14:33:39.000000000 +0100
@@ -0,0 +1 @@
+.osc



++++++ sociallogin.patch ++++++
>From cfdacb9195ce266e5ae23307b31304898369f696 Mon Sep 17 00:00:00 2001
From: Abhilash Raj <[email protected]>
Date: Wed, 2 Oct 2024 15:43:46 +0530
Subject: [PATCH] fix: Remove sociallogin.account from the debug print.

Since SocialLogin.account isn't a mandatory field, we can't make
and assumption that it was filled in when it was created. Instead
of checking everytie if the attribute exists, removing it form
the debug print to restore compat with newer versions of
django-allauth.

Fixes #82
---
 django_mailman3/signals.py | 4 ++--
 pyproject.toml             | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/django_mailman3/signals.py b/django_mailman3/signals.py
index e1d253a..adc6b95 100644
--- a/django_mailman3/signals.py
+++ b/django_mailman3/signals.py
@@ -171,8 +171,8 @@ def on_social_account_added(sender, **kwargs):
     # Add to mailman emails that were marked as verified by the social account
     # provider.
     sociallogin = kwargs["sociallogin"]
-    logger.debug("Social account %s added for user %s",
-                 sociallogin.account, sociallogin.user.username)
+    logger.debug("Social account added for user %s",
+                 sociallogin.user.username)
     for address in sociallogin.email_addresses:
         if EmailAddress.objects.filter(email=address.email).exists():
             # TODO: should we do something if it belongs so another user?
-- 
GitLab

Reply via email to