Compare commits
3 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| dcaf605f70 | |||
| e0f8924fa6 | |||
| 760a1473c6 |
BIN
python-geoip2-4.8.0.tar.gz
LFS
BIN
python-geoip2-4.8.0.tar.gz
LFS
Binary file not shown.
3
python-geoip2-5.0.0.tar.gz
Normal file
3
python-geoip2-5.0.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3a75192de893ab499640060a95212441286a18593854e68378d55dbff1aaf9a2
|
||||||
|
size 175777
|
||||||
@@ -1,3 +1,26 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun May 4 06:58:09 UTC 2025 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
|
- update to version 5.0.0:
|
||||||
|
- BREAKING: The ``raw`` attribute on the model classes has been replaced
|
||||||
|
with a ``to_dict()`` method. This can be used to get a representation of
|
||||||
|
the object that is suitable for serialization.
|
||||||
|
- BREAKING: The ``ip_address`` property on the model classes now always returns
|
||||||
|
a ``ipaddress.IPv4Address`` or ``ipaddress.IPv6Address``.
|
||||||
|
- BREAKING: The model and record classes now require all arguments other than
|
||||||
|
``locales`` and ``ip_address`` to be keyword arguments.
|
||||||
|
- BREAKING: ``geoip2.mixins`` has been made internal. This normally would not
|
||||||
|
have been used by external code.
|
||||||
|
- IMPORTANT: Python 3.9 or greater is required. If you are using an older
|
||||||
|
version, please use an earlier release.
|
||||||
|
- ``metro_code`` on ``geoip2.record.Location`` has been deprecated. The
|
||||||
|
code values are no longer being maintained.
|
||||||
|
- The type hinting for the optional ``locales`` keyword argument now allows
|
||||||
|
any sequence of strings rather than only list of strings.
|
||||||
|
- update to version 4.8.1:
|
||||||
|
- ``setuptools`` was incorrectly listed as a runtime dependency. This has
|
||||||
|
been removed. Pull request by Mathieu Dupuy. GitHub #174.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jan 12 14:01:47 UTC 2025 - Sebastian Wagner <sebix@sebix.at>
|
Sun Jan 12 14:01:47 UTC 2025 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
|
|||||||
@@ -18,14 +18,14 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-geoip2
|
Name: python-geoip2
|
||||||
Version: 4.8.0
|
Version: 5.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: MaxMind GeoIP2 Python API
|
Summary: MaxMind GeoIP2 Python API
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/maxmind/GeoIP2-python
|
URL: https://github.com/maxmind/GeoIP2-python
|
||||||
Source: https://files.pythonhosted.org/packages/source/g/geoip2/geoip2-%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/g/geoip2/geoip2-%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module base >= 3.8}
|
BuildRequires: %{python_module base >= 3.9}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
@@ -33,16 +33,19 @@ BuildRequires: fdupes
|
|||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module aiohttp >= 3.6.2}
|
BuildRequires: %{python_module aiohttp >= 3.6.2}
|
||||||
BuildRequires: %{python_module maxminddb >= 2.3.0}
|
BuildRequires: %{python_module maxminddb >= 2.5.1}
|
||||||
BuildRequires: %{python_module mocket >= 3.11.0}
|
BuildRequires: %{python_module mocket >= 3.11.0}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
|
%if 0%{?suse_version} > 1600
|
||||||
|
# Leap has too old pytest-httpserver
|
||||||
|
BuildRequires: %{python_module pytest-httpserver >= 1.0.10}
|
||||||
|
%endif
|
||||||
BuildRequires: %{python_module python-magic >= 0.4.18}
|
BuildRequires: %{python_module python-magic >= 0.4.18}
|
||||||
BuildRequires: %{python_module requests >= 2.14.0}
|
BuildRequires: %{python_module requests >= 2.24.0}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
Requires: python-aiohttp >= 3.6.2
|
Requires: python-aiohttp >= 3.6.2
|
||||||
Requires: python-maxminddb >= 2.0.0
|
Requires: python-maxminddb >= 2.5.1
|
||||||
Requires: python-requests >= 2.14.0
|
Requires: python-requests >= 2.24.0
|
||||||
Requires: python-setuptools
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user