Hello community, here is the log from the commit of package python-geoip2 for openSUSE:Factory checked in at 2020-03-08 22:22:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-geoip2 (Old) and /work/SRC/openSUSE:Factory/.python-geoip2.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-geoip2" Sun Mar 8 22:22:14 2020 rev:8 rq:781417 version:3.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-geoip2/python-geoip2.changes 2019-03-12 09:46:20.343622689 +0100 +++ /work/SRC/openSUSE:Factory/.python-geoip2.new.26092/python-geoip2.changes 2020-03-08 22:22:18.504009748 +0100 @@ -1,0 +2,22 @@ +Wed Mar 4 07:46:22 UTC 2020 - Paolo Stivanin <[email protected]> + +- Update to 3.0.0 + * BREAKING CHANGE: The geoip2.record.* classes have been refactored to + improve performance. This refactoring may break classes that inherit from + them. The public API should otherwise be compatible. + * The network attribute was added to geoip2.record.Traits, + geoip2.model.AnonymousIP, geoip2.model.ASN, + geoip2.model.ConnectionType, geoip2.model.Domain, + and geoip2.model.ISP. This is an ipaddress.IPv4Network or an + ipaddress.IPv6Network. This is the largest network where all of the + fields besides ip_address have the same value. GitHub #79. + * Python 3.3 and 3.4 are no longer supported. + * Updated documentation of anonymizer attributes - is_anonymous_vpn and + is_hosting_provider - to be more descriptive. + * Added support for the user_count trait for the GeoIP2 Precision webservice. + * Added the static_ip_score attribute to geoip2.record.Traits for + * GeoIP2 Precision Insights. This is a float which indicates how static or dynamic + an IP address is. + + +------------------------------------------------------------------- Old: ---- geoip2-2.9.0.tar.gz New: ---- python-geoip2-3.0.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-geoip2.spec ++++++ --- /var/tmp/diff_new_pack.nN9XNR/_old 2020-03-08 22:22:19.236010200 +0100 +++ /var/tmp/diff_new_pack.nN9XNR/_new 2020-03-08 22:22:19.240010202 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-geoip2 # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,14 +19,15 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without test Name: python-geoip2 -Version: 2.9.0 +Version: 3.0.0 Release: 0 Summary: MaxMind GeoIP2 Python API License: Apache-2.0 Group: Development/Languages/Python URL: https://github.com/maxmind/GeoIP2-python -Source: https://files.pythonhosted.org/packages/source/g/geoip2/geoip2-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/g/geoip2/geoip2-%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module urllib3 >= 1.25.2} BuildRequires: fdupes BuildRequires: python-rpm-macros # SECTION test requirements @@ -36,6 +37,7 @@ # /SECTION Requires: python-maxminddb >= 1.4.0 Requires: python-requests >= 2.9 +Requires: python-urllib3 >= 1.25.2 BuildArch: noarch %ifpython2 Recommends: python2-ipaddress
