diff --git a/0001-Removing-unused-urllib3-dependency-loosening-request.patch b/0001-Removing-unused-urllib3-dependency-loosening-request.patch index db43d3c..7f857e0 100644 --- a/0001-Removing-unused-urllib3-dependency-loosening-request.patch +++ b/0001-Removing-unused-urllib3-dependency-loosening-request.patch @@ -99,7 +99,7 @@ index af2c6ff..9c772e4 100644 +++ b/requirements.txt @@ -1,4 +1 @@ -aiohttp>=3.6.2,<4.0.0 - maxminddb>=2.0.0,<3.0.0 + maxminddb>=2.2.0,<3.0.0 -requests>=2.24.0,<3.0.0 -urllib3>=1.25.2,<2.0.0 diff --git a/setup.cfg b/setup.cfg diff --git a/python-geoip2-4.2.0.tar.gz b/python-geoip2-4.2.0.tar.gz deleted file mode 100644 index bc75053..0000000 --- a/python-geoip2-4.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:906a1dbf15a179a1af3522970e8420ab15bb3e0afc526942cc179e12146d9c1d -size 309426 diff --git a/python-geoip2-4.4.0.tar.gz b/python-geoip2-4.4.0.tar.gz new file mode 100644 index 0000000..baf0f60 --- /dev/null +++ b/python-geoip2-4.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f150bed3190d543712a17467208388d31bd8ddb49b2226fba53db8aaedb8ba89 +size 332638 diff --git a/python-geoip2.changes b/python-geoip2.changes index 0dbfbc8..174395e 100644 --- a/python-geoip2.changes +++ b/python-geoip2.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Fri Sep 24 19:10:31 UTC 2021 - Sebastian Wagner + +- update to version 4.4.0: + - The public API on ``geoip2.database`` is now explicitly defined by + setting ``__all__``. + - The return type of the ``metadata()`` method on ``Reader`` is now + ``maxminddb.reader.Metadata`` rather than a union type. +- update to version 4.3.0: + - Previously, the ``py.typed`` file was not being added to the source + distribution. It is now explicitly specified in the manifest. + - The type hints for the database file in the ``Reader`` constructor have + been expanded to match those specified by ``maxmindb.open_database``. In + particular, ``os.PathLike`` and ``IO`` have been added. + - Corrected the type hint for the ``metadata()`` method on ``Reader``. It + will return a ``maxminddb.extension.Metadata`` if the C extension is being + used. + ------------------------------------------------------------------- Tue Jul 13 09:58:29 UTC 2021 - John Paul Adrian Glaubitz diff --git a/python-geoip2.spec b/python-geoip2.spec index 7fd0302..373818c 100644 --- a/python-geoip2.spec +++ b/python-geoip2.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-geoip2 -Version: 4.2.0 +Version: 4.4.0 Release: 0 Summary: MaxMind GeoIP2 Python API License: Apache-2.0 @@ -32,7 +32,7 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module aiohttp >= 3.6.2} -BuildRequires: %{python_module maxminddb >= 2.0.0} +BuildRequires: %{python_module maxminddb >= 2.2.0} BuildRequires: %{python_module mocket >= 3.8.9} BuildRequires: %{python_module python-magic >= 0.4.18} BuildRequires: %{python_module requests >= 2.14.0}