Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-django-countries for 
openSUSE:Factory checked in at 2023-11-30 22:00:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-countries (Old)
 and      /work/SRC/openSUSE:Factory/.python-django-countries.new.25432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-django-countries"

Thu Nov 30 22:00:40 2023 rev:3 rq:1129786 version:7.5.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-django-countries/python-django-countries.changes
  2021-05-12 19:32:20.727010461 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-django-countries.new.25432/python-django-countries.changes
       2023-11-30 22:01:29.837448886 +0100
@@ -1,0 +2,35 @@
+Wed Nov 29 12:05:05 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 7.5.1:
+  * Make ``CountryField`` queryset filters also work with country
+    codes in addition to names.
+  * Switch to ``pyproject.toml`` rather than ``setup.py`` to fix
+    installation issues with pip 23.0+.
+  * Rename Turkey to Türkiye.
+  * Improve translation fallback handling, fixing a threading
+    race condition that could cause odd translation issues.
+  * This also fixes translation issues with older Python 3.6/3.7
+    versions.
+  * Add Python 3.11, drop Python 3.6 and Django 2.2 support.
+  * Fix error when using ``USE_I18N = False``.
+  * Fix broken translations due to last common country names fix.
+  * Fixed Traditional Chinese translation (needed to be
+    ``locale/zh_Hant``).
+  * Update flag of Honduras.
+  * Add Django 4.0 and 4.1 to the test matrix, dropping 3.0 and
+    3.1
+  * Add Django Rest Framework 3.13 and 3.14, dropping 3.11.
+  * Multi-choice countries are now stored sorted and with
+    duplicates stripped.
+  * Fix common country names not being honoured in non-English
+    translations (only fixed for Python 3.8+).
+  * Fix slowdown introduced in v7.3 caused by always using
+    country name lookups for field comparisons.
+    ``filter(country="New Zealand")`` will no longer match now,
+    but instead new ``__name`` and ``__iname`` filters have
+    been added to achieve this.
+  * Typing compatibility fixes for Python <3.9.
+  * Make full English country names work in database lookups, for
+    example, ``Person.objects.filter(country__icontains="zealand")``.
+
+-------------------------------------------------------------------

Old:
----
  django-countries-7.2.1.tar.gz

New:
----
  django-countries-7.5.1.tar.gz

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

Other differences:
------------------
++++++ python-django-countries.spec ++++++
--- /var/tmp/diff_new_pack.9vLLRk/_old  2023-11-30 22:01:30.361468190 +0100
+++ /var/tmp/diff_new_pack.9vLLRk/_new  2023-11-30 22:01:30.361468190 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-django-countries
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,20 +16,21 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
+%{?sle15_python_module_pythons}
 Name:           python-django-countries
-Version:        7.2.1
+Version:        7.5.1
 Release:        0
 Summary:        Provides a country field for Django models
 License:        MIT
 Group:          Development/Languages/Python
 URL:            https://github.com/SmileyChris/django-countries/
 Source:         
https://files.pythonhosted.org/packages/source/d/django-countries/django-countries-%{version}.tar.gz
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-Django
+Requires:       python-typing-extensions
 Recommends:     python-djangorestframework
 Recommends:     python-graphene-django
 Recommends:     python-pyuca
@@ -41,6 +42,7 @@
 BuildRequires:  %{python_module pytest-django}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module pyuca}
+BuildRequires:  %{python_module typing-extensions}
 # /SECTION
 %python_subpackages
 
@@ -53,10 +55,10 @@
 sed -i '1{/^#!/d}' django_countries/*.py
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %{python_expand rm -r %{buildroot}%{$python_sitelib}/django_countries/tests/
 %fdupes %{buildroot}%{$python_sitelib}
 }
@@ -69,5 +71,6 @@
 %files %{python_files}
 %doc CHANGES.rst README.rst
 %license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/django_countries
+%{python_sitelib}/django_countries-%{version}.dist-info
 

++++++ django-countries-7.2.1.tar.gz -> django-countries-7.5.1.tar.gz ++++++
++++ 7740 lines of diff (skipped)

Reply via email to