public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Lumir Balhar <lbalhar@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-geoip2] f45: Update to 5.3.0 (rhbz#2501665)
Date: Thu, 13 Aug 2026 10:47:07 GMT	[thread overview]
Message-ID: <178661802718.1.15412435784231267824.rpms-python-geoip2-011b8d8a3fa3@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-geoip2
            Branch : f45
            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=f45

            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

                 reply	other threads:[~2026-08-13 10:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178661802718.1.15412435784231267824.rpms-python-geoip2-011b8d8a3fa3@fedoraproject.org \
    --to=lbalhar@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox