From 6a0bf979f05b589d1220d75e20cf9c457b26b51bb795696cce39e36cffec72bc Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Wed, 30 Apr 2025 07:59:26 +0000 Subject: [PATCH] =?UTF-8?q?-=20update=20to=20version=202.6.3:=20=20-=20The?= =?UTF-8?q?=20vendored=20``libmaxminddb``=20has=20been=20updated=20to=201.?= =?UTF-8?q?12.0.=20This=20fixes=20a=20=20=20=20memory=20leak=20when=20open?= =?UTF-8?q?ing=20a=20database=20fails.=20=20-=20Binary=20wheels=20are=20no?= =?UTF-8?q?w=20built=20for=20Python=203.13.=20-=20update=20to=20version=20?= =?UTF-8?q?2.6.2:=20=20-=20The=20vendored=20``libmaxminddb``=20has=20been?= =?UTF-8?q?=20updated=20to=201.10.0.=20This=20fixes=20a=20=20=20=20bug=20t?= =?UTF-8?q?hat=20would=20cause=20incorrect=20results=20on=20databases=20th?= =?UTF-8?q?at=20had=20search=20=20=20=20trees=20greater=20than=204=20GB.?= =?UTF-8?q?=20-=20update=20to=20version=202.6.1:=20=20-=20This=20release?= =?UTF-8?q?=20includes=20no=20source=20code=20changes.=20The=20only=20chan?= =?UTF-8?q?ges=20are=20to=20=20=20=20the=20release=20workflow.=20=20-=20Bi?= =?UTF-8?q?nary=20wheels=20are=20now=20built=20on=20Linux=20for=20aarch64.?= =?UTF-8?q?=20Pull=20request=20by=20Kevin=20=20=20=20Park.=20GitHub=20#160?= =?UTF-8?q?.=20=20-=20Binary=20wheels=20are=20now=20built=20on=20macOS=20f?= =?UTF-8?q?or=20Apple=20silicon.=20Requested=20by=20=20=20=20Kevin=20Park.?= =?UTF-8?q?=20GitHub=20#152.=20-=20update=20to=20version=202.6.0:=20=20-?= =?UTF-8?q?=20Added=20type=20annotations=20for=20instance=20variables=20on?= =?UTF-8?q?=20``Metadata``=20=20-=20Updated=20type=20stubs=20for=20``maxmi?= =?UTF-8?q?nddb.extension``.=20=20-=20``setuptools``=20is=20no=20longer=20?= =?UTF-8?q?listed=20as=20a=20runtime=20dependency.=20Pull=20request=20=20?= =?UTF-8?q?=20=20by=20Lewis=20Collard.=20GitHub=20#155.=20-=20update=20to?= =?UTF-8?q?=20version=202.5.2:=20=20-=20The=20vendored=20``libmaxminddb``?= =?UTF-8?q?=20version=20was=20updated=20to=201.9.0.=20This=20fixes=20=20?= =?UTF-8?q?=20=20an=20issue=20when=20reading=20databases=20with=20a=20sear?= =?UTF-8?q?ch=20tree=20exceeding=202=20GB.=20=20=20=20Reported=20by=20Sami?= =?UTF-8?q?=20Salonen.=20GitHub=20#146.=20-=20update=20to=20version=202.5.?= =?UTF-8?q?1:=20=20-=20This=20is=20a=20re-release=20of=202.5.0=20to=20addr?= =?UTF-8?q?ess=20missing=20files=20from=20the=20sdist.=20=20=20=20Reported?= =?UTF-8?q?=20by=20Lum=C3=ADr=20'Frenzy'=20Balhar.=20GitHub=20#132.=20-=20?= =?UTF-8?q?update=20to=20version=202.5.0:=20=20-=20IMPORTANT:=20Python=203?= =?UTF-8?q?.8=20or=20greater=20is=20required.=20If=20you=20are=20using=20a?= =?UTF-8?q?n=20older=20=20=20=20version,=20please=20use=20an=20earlier=20r?= =?UTF-8?q?elease.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-maxminddb?expand=0&rev=5 --- maxminddb-2.6.3.tar.gz | 3 +++ python-maxminddb.changes | 47 ++++++++++++++++++++++++++++++++++++++++ python-maxminddb.spec | 5 +++-- 3 files changed, 53 insertions(+), 2 deletions(-) create mode 100644 maxminddb-2.6.3.tar.gz diff --git a/maxminddb-2.6.3.tar.gz b/maxminddb-2.6.3.tar.gz new file mode 100644 index 0000000..62bb822 --- /dev/null +++ b/maxminddb-2.6.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d2c3806baa7aa047aa1bac7419e7e353db435f88f09d51106a84dbacf645d254 +size 181376 diff --git a/python-maxminddb.changes b/python-maxminddb.changes index 2b1d5b8..0ab7d1a 100644 --- a/python-maxminddb.changes +++ b/python-maxminddb.changes @@ -1,3 +1,50 @@ +------------------------------------------------------------------- +Wed Apr 30 07:57:16 UTC 2025 - Sebastian Wagner + +- update to version 2.6.3: + - The vendored ``libmaxminddb`` has been updated to 1.12.0. This fixes a + memory leak when opening a database fails. + - Binary wheels are now built for Python 3.13. +- update to version 2.6.2: + - The vendored ``libmaxminddb`` has been updated to 1.10.0. This fixes a + bug that would cause incorrect results on databases that had search + trees greater than 4 GB. +- update to version 2.6.1: + - This release includes no source code changes. The only changes are to + the release workflow. + - Binary wheels are now built on Linux for aarch64. Pull request by Kevin + Park. GitHub #160. + - Binary wheels are now built on macOS for Apple silicon. Requested by + Kevin Park. GitHub #152. +- update to version 2.6.0: + - Added type annotations for instance variables on ``Metadata`` + - Updated type stubs for ``maxminddb.extension``. + - ``setuptools`` is no longer listed as a runtime dependency. Pull request + by Lewis Collard. GitHub #155. +- update to version 2.5.2: + - The vendored ``libmaxminddb`` version was updated to 1.9.0. This fixes + an issue when reading databases with a search tree exceeding 2 GB. + Reported by Sami Salonen. GitHub #146. +- update to version 2.5.1: + - This is a re-release of 2.5.0 to address missing files from the sdist. + Reported by Lumír 'Frenzy' Balhar. GitHub #132. +- update to version 2.5.0: + - IMPORTANT: Python 3.8 or greater is required. If you are using an older + version, please use an earlier release. + - Windows is now supported by the C extension. + - The ``Reader`` class now implements the ``__iter__`` method. This will + return an iterator that iterates over all records in the database, + excluding repeated aliased of the IPv4 network. Requested by + Jean-Baptiste Braun and others. GitHub #23. + - The multiprocessing test now explicitly uses ``fork``. This allows it + to run successfully on macOS. Pull request by Theodore Ni. GitHub #116. + - A vendored copy of ``libmaxminddb`` will now be used by default when + building the extension. If you wish to continue using the system shared + library, you may set the ``MAXMINDDB_USE_SYSTEM_LIBMAXMINDDB`` environment + variable to a true value when building the extension. + - The C extension now builds on Python 3.13. + - The C extension will now be built for PyPy. + ------------------------------------------------------------------- Tue Oct 17 10:03:21 UTC 2023 - Markéta Machová diff --git a/python-maxminddb.spec b/python-maxminddb.spec index deb7daa..cf2be6b 100644 --- a/python-maxminddb.spec +++ b/python-maxminddb.spec @@ -19,7 +19,7 @@ %define skip_python2 1 %{?sle15_python_module_pythons} Name: python-maxminddb -Version: 2.4.0 +Version: 2.6.3 Release: 0 Summary: Reader for the MaxMind DB format License: Apache-2.0 @@ -60,6 +60,7 @@ export CFLAGS="%{optflags}" %files %{python_files} %license LICENSE %doc README.rst -%{python_sitearch}/* +%{python_sitearch}/maxminddb/ +%{python_sitearch}/maxminddb-%{version}*-info %changelog