Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-geoip2 for openSUSE:Factory 
checked in at 2026-02-02 14:55:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-geoip2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-geoip2.new.1995 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-geoip2"

Mon Feb  2 14:55:19 2026 rev:24 rq:1330346 version:5.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-geoip2/python-geoip2.changes      
2025-05-12 16:49:22.297908807 +0200
+++ /work/SRC/openSUSE:Factory/.python-geoip2.new.1995/python-geoip2.changes    
2026-02-02 14:55:59.964560008 +0100
@@ -1,0 +2,24 @@
+Thu Jan 29 18:42:21 UTC 2026 - Georg Pfuetzenreuter 
<[email protected]>
+
+- Require uv-build on Tumbleweed
+- Add pyproject-setuptools.patch to switch back to setuptools on distributions
+  without uv-build
+
+-------------------------------------------------------------------
+Thu Jan 29 18:04:59 UTC 2026 - Georg Pfuetzenreuter 
<[email protected]>
+
+- Update to version 5.2.0:
+  * maxminddb has been upgraded to 3.0.0. This includes free-threading support.
+  * Setuptools has been replaced with the uv build backend for building the 
package.
+  * A new anonymizer object has been added to geoip2.models.Insights.
+  * A new ip_risk_snapshot property has been added to geoip2.records.Traits.
+  * The following properties on geoip2.records.Traits have been deprecated:
+    is_anonymous, is_anonymous_vpn, is_hosting_provider, is_public_proxy,
+    is_residential_proxy, and is_tor_exit_node.
+- From 5.1.0:
+  * Support for the GeoIP Anonymous Plus database has been added.
+  * Reorganized module documentation to improve language-server support.
+- From 5.0.1:
+  * Allow ip_address in the Traits record to be None again.
+
+-------------------------------------------------------------------

Old:
----
  python-geoip2-5.0.0.tar.gz

New:
----
  pyproject-setuptools.patch
  python-geoip2-5.2.0.tar.gz

----------(New B)----------
  New:- Require uv-build on Tumbleweed
- Add pyproject-setuptools.patch to switch back to setuptools on distributions
  without uv-build
----------(New E)----------

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

Other differences:
------------------
++++++ python-geoip2.spec ++++++
--- /var/tmp/diff_new_pack.JlUfox/_old  2026-02-02 14:56:00.852597543 +0100
+++ /var/tmp/diff_new_pack.JlUfox/_new  2026-02-02 14:56:00.852597543 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-geoip2
 #
-# 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
@@ -18,22 +18,28 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-geoip2
-Version:        5.0.0
+Version:        5.2.0
 Release:        0
 Summary:        MaxMind GeoIP2 Python API
 License:        Apache-2.0
 Group:          Development/Languages/Python
 URL:            https://github.com/maxmind/GeoIP2-python
 Source:         
https://files.pythonhosted.org/packages/source/g/geoip2/geoip2-%{version}.tar.gz#/%{name}-%{version}.tar.gz
+%if 0%{?suse_version} <= 1600
+# partial reversion of 83825a8 ("Switch to uv build")
+Patch0:         pyproject-setuptools.patch
+BuildRequires:  %{python_module setuptools}
+%else
+BuildRequires:  %{python_module uv-build}
+%endif
 BuildRequires:  %{python_module base >= 3.9}
 BuildRequires:  %{python_module pip}
-BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 # SECTION test requirements
 BuildRequires:  %{python_module aiohttp >= 3.6.2}
-BuildRequires:  %{python_module maxminddb >= 2.5.1}
+BuildRequires:  %{python_module maxminddb >= 3.0.0}
 BuildRequires:  %{python_module mocket >= 3.11.0}
 BuildRequires:  %{python_module pytest}
 %if 0%{?suse_version} > 1600
@@ -44,7 +50,7 @@
 BuildRequires:  %{python_module requests >= 2.24.0}
 # /SECTION
 Requires:       python-aiohttp >= 3.6.2
-Requires:       python-maxminddb >= 2.5.1
+Requires:       python-maxminddb >= 3.0.0
 Requires:       python-requests >= 2.24.0
 BuildArch:      noarch
 %python_subpackages
@@ -54,7 +60,7 @@
 The API also works with MaxMind's free GeoLite2 databases.
 
 %prep
-%setup -q -n geoip2-%{version}
+%autosetup -n geoip2-%{version} -p 1
 
 %build
 %pyproject_wheel
@@ -71,5 +77,5 @@
 %license LICENSE
 %doc README.rst HISTORY.rst
 %{python_sitelib}/geoip2
-%{python_sitelib}/geoip2-%{version}*-info
+%{python_sitelib}/geoip2-%{version}.dist-info
 

++++++ pyproject-setuptools.patch ++++++
--- a/pyproject.toml    1970-01-01 01:00:00.000000000 +0100
+++ b/pyproject.toml    2026-01-29 19:40:59.478833382 +0100
@@ -43,19 +43,11 @@
 ]
 
 [build-system]
-requires = ["uv_build>=0.7.19,<0.8.0"]
-build-backend = "uv_build"
+requires = ["setuptools"]
+build-backend = "setuptools.build_meta"
 
-[tool.uv.build-backend]
-source-include = [
-    "HISTORY.rst",
-    "README.rst",
-    "LICENSE",
-    "docs/html",
-    "examples/*.py",
-    "tests/*.py",
-    "tests/data/test-data/*.mmdb"
-]
+[tool.setuptools.package-data]
+geoip2 = ["py.typed"]
 
 [project.urls]
 Homepage = "https://www.maxmind.com/";

++++++ python-geoip2-5.0.0.tar.gz -> python-geoip2-5.2.0.tar.gz ++++++
++++ 7106 lines of diff (skipped)

Reply via email to