Hello community, here is the log from the commit of package python-maxminddb for openSUSE:Leap:15.2 checked in at 2020-02-21 23:48:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-maxminddb (Old) and /work/SRC/openSUSE:Leap:15.2/.python-maxminddb.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-maxminddb" Fri Feb 21 23:48:41 2020 rev:11 rq:776788 version:1.5.2 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-maxminddb/python-maxminddb.changes 2020-01-15 15:50:33.783498848 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-maxminddb.new.26092/python-maxminddb.changes 2020-02-21 23:48:43.148491060 +0100 @@ -1,0 +2,49 @@ +Wed Jan 1 11:06:52 UTC 2020 - Sebastian Wagner <[email protected]> + +- update to version 1.5.2: + - Minor performance improvements in the pure Python reader. + +------------------------------------------------------------------- +Sun Oct 6 18:06:53 UTC 2019 - Sebastian Wagner <[email protected]> + +- update to version 1.5.1: + - Fix a possible segfault due to not correctly incrementing the reference + on a returned object. +- update to version 1.5.0: + - Python 3.3 and 3.4 are no longer supported. + - The extension source directory was moved to prevent an ``ImportWarning`` + when importing the module on Python 2 with ``-Wdefault`` set. Reported by + David Szotten and Craig de Stigter. GitHub #31. + - The ``get`` method now accepts ``ipaddress.IPv4Address`` and + ``ipaddress.IPv6Address`` objects in addition to strings. This works with + both the pure Python implementation as well as the extension. Based on a + pull request #48 by Eric Pruitt. GitHub #50. + - A new method, ``get_with_prefix_len``, was added. This method returns a + tuple containing the record and the prefix length. + +------------------------------------------------------------------- +Wed Aug 29 12:31:26 UTC 2018 - [email protected] + +- Update to 1.4.1: + * Fixes for python 3.7 + +------------------------------------------------------------------- +Sun May 27 08:30:23 UTC 2018 - [email protected] + +- update to version 1.4.0: + * IMPORTANT: Previously, the pure Python reader would allow + `ipaddress.IPv4Address` and `ipaddress.IPv6Address` objects when calling + `.get()`. This would fail with the C extension. The fact that these objects + worked at all was an implementation detail and has varied with different + releases. This release makes the pure Python implementation consistent + with the extension. A `TypeError` will now be thrown if you attempt to + use these types with either the pure Python implementation or the + extension. The IP address passed to `.get()` should be a string type. + * Fix issue where incorrect size was used when unpacking some types with the + pure Python reader. Reported by Lee Symes. GitHub #30. + * You may now pass in the database via a file descriptor rather than a file + name when creating a new ``maxminddb.Reader`` object using ``MODE_FD``. + This will read the database from the file descriptor into memory. Pull + request by nkinkade. GitHub #33. + +------------------------------------------------------------------- Old: ---- maxminddb-1.3.0.tar.gz New: ---- maxminddb-1.5.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-maxminddb.spec ++++++ --- /var/tmp/diff_new_pack.NTKxjO/_old 2020-02-21 23:48:43.516491791 +0100 +++ /var/tmp/diff_new_pack.NTKxjO/_new 2020-02-21 23:48:43.524491807 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-maxminddb # -# Copyright (c) 2017 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 @@ -12,36 +12,32 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without test Name: python-maxminddb -Version: 1.3.0 +Version: 1.5.2 Release: 0 -License: Apache-2.0 Summary: Reader for the MaxMind DB format -Url: http://www.maxmind.com/ +License: Apache-2.0 Group: Development/Languages/Python +URL: http://www.maxmind.com/ Source: https://files.pythonhosted.org/packages/source/m/maxminddb/maxminddb-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} -BuildRequires: python2-ipaddress -BuildRequires: libmaxminddb-devel BuildRequires: fdupes +BuildRequires: libmaxminddb-devel +BuildRequires: python-rpm-macros +BuildRequires: python2-ipaddress # SECTION test requirements -%if %{with test} +BuildRequires: %{python_module mock} BuildRequires: %{python_module nose} -%endif # /SECTION %ifpython2 Requires: python2-ipaddress -Recommends: libmaxminddb0 %endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build - %python_subpackages %description @@ -60,17 +56,14 @@ %install %python_install -%python_expand rm %buildroot%{$python_sitearch}/maxminddb/extension/maxminddb.c -%python_expand %fdupes %buildroot%{$python_sitearch} +%python_expand %fdupes %{buildroot}%{$python_sitearch} -%if %{with test} %check %python_exec setup.py test -%endif %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE README.rst +%license LICENSE +%doc README.rst %{python_sitearch}/* %changelog ++++++ maxminddb-1.3.0.tar.gz -> maxminddb-1.5.2.tar.gz ++++++ ++++ 52579 lines of diff (skipped)
