Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-django-localflavor for 
openSUSE:Factory checked in at 2026-01-30 18:23:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-localflavor (Old)
 and      /work/SRC/openSUSE:Factory/.python-django-localflavor.new.1995 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-django-localflavor"

Fri Jan 30 18:23:02 2026 rev:7 rq:1329902 version:5.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-django-localflavor/python-django-localflavor.changes
      2025-06-03 17:53:56.946624777 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-django-localflavor.new.1995/python-django-localflavor.changes
    2026-01-30 18:23:08.235670582 +0100
@@ -1,0 +2,30 @@
+Thu Jan 29 23:56:30 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Update to 5.0:
+  * Breaking data changes:
+    + NP: A data migration is required for users of np.forms.NPProvinceSelect
+      and np.forms.NPZoneSelect
+    + NO: A data migration is required for users of
+      no.forms.NOMunicipalitySelect.
+    + LV: A data migration is required for users of
+      lv.forms.LVMunicipalitySelect.
+  * New flavors:
+    + Sri Lanka LocalFlavor: Support for Sri Lanka added (gh-493).
+  * New fields for existing flavors:
+    + Added CIN Number field in Morocco flavor (gh-705).
+  * Modifications to existing flavors:
+    + Fix Belarus passport field description punctuation (gh-484).
+    + Change Kiev to Kyiv according to ISO_3166-2:UA
+    + Accept French Postal Services identifiers in forms (gh-505).
+  * Other changes:
+    + Dropped support for Python < 3.9.
+    + Dropped support for Django < 4.2.
+    + Added support for Python 3.12 and 3.13.
+    + Added support for Django 5.0, 5.1, and 5.2.
+    + Switched to pyproject.toml based package build using the setuptools
+      build backend.
+- Drop patch dj5.patch, merged upstream.
+- Add patch invoke-versioned-django-admin.patch:
+  * Use versioned django-admin command when running tests.
+
+-------------------------------------------------------------------

Old:
----
  dj5.patch
  django-localflavor-4.0.tar.gz

New:
----
  django-localflavor-5.0.tar.gz
  invoke-versioned-django-admin.patch

----------(Old B)----------
  Old:      build backend.
- Drop patch dj5.patch, merged upstream.
- Add patch invoke-versioned-django-admin.patch:
----------(Old E)----------

----------(New B)----------
  New:- Drop patch dj5.patch, merged upstream.
- Add patch invoke-versioned-django-admin.patch:
  * Use versioned django-admin command when running tests.
----------(New E)----------

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

Other differences:
------------------
++++++ python-django-localflavor.spec ++++++
--- /var/tmp/diff_new_pack.CPnrhS/_old  2026-01-30 18:23:09.867739074 +0100
+++ /var/tmp/diff_new_pack.CPnrhS/_new  2026-01-30 18:23:09.871739241 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-django-localflavor
 #
-# Copyright (c) 2025 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
@@ -17,25 +17,25 @@
 
 
 Name:           python-django-localflavor
-Version:        4.0
+Version:        5.0
 Release:        0
 Summary:        Country-specific Django helpers
 License:        BSD-3-Clause
-Group:          Development/Languages/Python
 URL:            https://github.com/django/django-localflavor
 Source:         
https://github.com/django/django-localflavor/archive/%{version}.tar.gz#/django-localflavor-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM 
https://github.com/django/django-localflavor/commit/a0bb1b5b56be1d3f1a4ebb886621961b458ab74e
 Fix # 502 -- Update Python and Django versions
-Patch0:         dj5.patch
+# PATCH-FIX-OPENSUSE Use versioned django-admin when running tests
+Patch0:         invoke-versioned-django-admin.patch
+BuildRequires:  %{python_module base >= 3.9}
 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-python-stdnum >= 1.6
 BuildArch:      noarch
 # SECTION test requirements
-BuildRequires:  %{python_module Django >= 2.2}
+BuildRequires:  %{python_module Django >= 4.2}
 BuildRequires:  %{python_module coverage}
 BuildRequires:  %{python_module invoke >= 1.2}
 BuildRequires:  %{python_module python-stdnum >= 1.6}
@@ -62,5 +62,5 @@
 %doc README.rst
 %license LICENSE
 %{python_sitelib}/localflavor
-%{python_sitelib}/django_localflavor-%{version}*info
+%{python_sitelib}/django_localflavor-%{version}.dist-info
 

++++++ django-localflavor-4.0.tar.gz -> django-localflavor-5.0.tar.gz ++++++
++++ 43769 lines of diff (skipped)

++++++ invoke-versioned-django-admin.patch ++++++
Index: django-localflavor-5.0/tasks.py
===================================================================
--- django-localflavor-5.0.orig/tasks.py
+++ django-localflavor-5.0/tasks.py
@@ -13,7 +13,8 @@ def clean(c):
 @task
 def test(c, country='all'):
     print('Python version: ' + sys.version)
-    test_cmd = 'coverage run `which django-admin` test 
--settings=tests.settings'
+    dja_cmd = f"django-admin-{sys.version_info[0]}.{sys.version_info[1]}"
+    test_cmd = f'coverage run `which {dja_cmd}` test --settings=tests.settings'
     country = os.environ.get('COUNTRY', country)
 
     # Fix issue #49

Reply via email to