Accepting request 825250 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/825250 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geoip2?expand=0&rev=10
This commit is contained in:
commit
3d33d829f8
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5869e987bc54c0d707264fec4710661332cc38d2dca5a7f9bb5362d0308e2ce0
|
||||
size 293503
|
3
python-geoip2-4.0.2.tar.gz
Normal file
3
python-geoip2-4.0.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4afb5d899eac08444e461239c8afb165c90234adc0b5dc952792d9da74c9091b
|
||||
size 299778
|
@ -1,3 +1,31 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 28 18:55:20 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
||||
|
||||
- update to version 4.0.2:
|
||||
- Added ``py.typed`` file per PEP 561. Reported by Árni Már Jónsson.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 23 20:21:35 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
||||
|
||||
- update to version 4.0.1:
|
||||
- Re-release to fix bad reStructuredText in ``README.md``. No substantive
|
||||
changes.
|
||||
- update to version 4.0.0:
|
||||
- IMPORTANT: Python 2.7 and 3.5 support has been dropped. Python 3.6 or greater
|
||||
is required.
|
||||
- Asyncio support has been added for web service requests. To make async
|
||||
requests, use ``geoip.webservice.AsyncClient``.
|
||||
- ``geoip.webservice.Client`` now provides a ``close()`` method and associated
|
||||
context managers to be used in ``with`` statements.
|
||||
- Type hints have been added.
|
||||
- The attributes ``postal_code`` and ``postal_confidence`` have been removed
|
||||
from ``geoip2.record.Location``. These would previously always be ``None``.
|
||||
- ``user_id`` is no longer supported as a named argument for the constructor
|
||||
on ``geoip2.webservice.Client``. Use ``account_id`` or a positional
|
||||
parameter instead.
|
||||
- For both ``Client`` and ``AsyncClient`` requests, the default timeout is
|
||||
now 60 seconds.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 16 17:45:00 UTC 2020 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without test
|
||||
Name: python-geoip2
|
||||
Version: 3.0.0
|
||||
Version: 4.0.2
|
||||
Release: 0
|
||||
Summary: MaxMind GeoIP2 Python API
|
||||
License: Apache-2.0
|
||||
@ -31,12 +31,15 @@ BuildRequires: %{python_module urllib3 >= 1.25.2}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module maxminddb >= 1.5.2}
|
||||
BuildRequires: %{python_module requests >= 2.22.0}
|
||||
BuildRequires: %{python_module requests-mock >= 0.5}
|
||||
BuildRequires: %{python_module aiohttp >= 3.6.2}
|
||||
BuildRequires: %{python_module maxminddb >= 2.0.0}
|
||||
BuildRequires: %{python_module mocket >= 3.8.6}
|
||||
BuildRequires: %{python_module python-magic >= 0.4.18}
|
||||
BuildRequires: %{python_module requests >= 2.24.0}
|
||||
# /SECTION
|
||||
Requires: python-maxminddb >= 1.5.2
|
||||
Requires: python-requests >= 2.22.0
|
||||
Requires: python-aiohttp >= 3.6.2
|
||||
Requires: python-maxminddb >= 2.0.0
|
||||
Requires: python-requests >= 2.24.0
|
||||
Requires: python-urllib3 >= 1.25.2
|
||||
BuildArch: noarch
|
||||
%ifpython2
|
||||
|
Loading…
x
Reference in New Issue
Block a user