4 Commits

Author SHA256 Message Date
Paolo Stivanin
77c72fef30 - Update to version 4.6.0:
- The AddressNotFoundError class now has an ip_address attribute
    with the lookup address and network property for the empty network
    in the database containing the IP address. These are only available
    when using a database, not the web service. 
- Rebase 0001-Removing-unused-urllib3-dependency-loosening-request.patch

OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-geoip2?expand=0&rev=23
2022-07-04 07:13:23 +00:00
Sebastian Wagner
aaa5df3d26 - 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.

OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-geoip2?expand=0&rev=21
2021-09-28 18:03:30 +00:00
Sebastian Wagner
6d027c6c7b document patch source
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-geoip2?expand=0&rev=20
2021-07-13 20:36:37 +00:00
Sebastian Wagner
30d8190b59 Accepting request 906077 from home:glaubitz:branches:Application:Geo
- Add patch to remove urllib3 and relax requests dependencies
  + 0001-Removing-unused-urllib3-dependency-loosening-request.patch
- Update BuildRequires and Requires from requirements.txt and setup.py

OBS-URL: https://build.opensuse.org/request/show/906077
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-geoip2?expand=0&rev=19
2021-07-13 19:38:29 +00:00