public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-geoip2] rawhide: Update to 5.3.0 (rhbz#2501665)
@ 2026-08-13  7:13 Lumir Balhar
  0 siblings, 0 replies; only message in thread
From: Lumir Balhar @ 2026-08-13  7:13 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-geoip2
            Branch : rawhide
            Commit : 011b8d8a3fa3fa697346c6137992a9c17e1ca6eb
            Author : Lumir Balhar <lbalhar@redhat.com>
            Date   : 2026-08-12T11:56:30+02:00
            Stats  : +9/-5 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-geoip2/c/011b8d8a3fa3fa697346c6137992a9c17e1ca6eb?branch=rawhide

            Log:
            Update to 5.3.0 (rhbz#2501665)

Assisted-By: Claude

---
diff --git a/.gitignore b/.gitignore
index 2dc8109..6d75eab 100644
--- a/.gitignore
+++ b/.gitignore
@@ -26,3 +26,4 @@
 /GeoIP2-python-5.1.0.tar.gz
 /MaxMind-DB-b5ff09ebb67d959ae68118a058fe344a6994b046.tar.gz
 /GeoIP2-python-5.2.0.tar.gz
+/GeoIP2-python-5.3.0.tar.gz

diff --git a/python-geoip2.spec b/python-geoip2.spec
index 0caf65b..52e79d4 100644
--- a/python-geoip2.spec
+++ b/python-geoip2.spec
@@ -5,7 +5,7 @@
 %global test_data_rls b5ff09ebb67d959ae68118a058fe344a6994b046
 
 Name:           python-%{pypi_name}
-Version:        5.2.0
+Version:        5.3.0
 Release:        %autorelease
 Summary:        MaxMind GeoIP2 API
 
@@ -38,7 +38,8 @@ This package provides the documentation for %{pypi_name}.
 %autosetup -n %{srcname}-%{version} -a 1
 rmdir tests/data
 mv -f %{test_data}-%{test_data_rls} tests/data
-# Remove version constraint on maxminddb and uv-build
+# Remove version constraint on aiohttp, maxminddb and uv-build
+sed -i 's/"aiohttp[^"]*"/"aiohttp"/' pyproject.toml
 sed -i 's/"maxminddb.*"/"maxminddb"/' pyproject.toml
 sed -i 's/"uv_build.*"/"uv_build"/' pyproject.toml
 
@@ -47,12 +48,14 @@ sed -i 's/"uv_build.*"/"uv_build"/' pyproject.toml
 
 %build
 %pyproject_wheel
-PYTHONPATH=src sphinx-build -b html docs html
-rm -rf html/.{buildinfo,doctrees}
 
 %install
 %pyproject_install
 %pyproject_save_files %{pypi_name}
+# The package has to be installed first to build the documentation
+# because it uses the importlib.metadata.version() function in __init__.py.
+PYTHONPATH=%{buildroot}%{python3_sitelib} sphinx-build -b html docs html
+rm -rf html/.{buildinfo,doctrees}
 
 %check
 # tests/webservice_test.py requires mocket not available in Fedora

diff --git a/sources b/sources
index 014d4b4..ad3216a 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (GeoIP2-python-5.2.0.tar.gz) = e43d2fd34a4434ec159372d51da67fbb53ed0536f3d3c2e465d71e306998e4ee2e70e0a132476add6393a91522f28839490dfd0093add20327a09263dadaf07b
+SHA512 (GeoIP2-python-5.3.0.tar.gz) = be44ca7102c4641f184d407298411fa38d23a7e6596edf0fbd0c149b37516e87739b9def0e6b79139da65cd1f06840b40dea21ad6778c1292be7368dc281ba0d
 SHA512 (MaxMind-DB-b5ff09ebb67d959ae68118a058fe344a6994b046.tar.gz) = 34a8054cf139e11da39b970c34c0c9030e7b056fbf2feffeda2780efbcf9bbcbc40b449b7770d0215317fe51d1983d85787bdcc33334581d746c0b81805fd354

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-13  7:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-13  7:13 [rpms/python-geoip2] rawhide: Update to 5.3.0 (rhbz#2501665) Lumir Balhar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox