Hello community, here is the log from the commit of package python-maxminddb for openSUSE:Factory checked in at 2018-06-29 22:23:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-maxminddb (Old) and /work/SRC/openSUSE:Factory/.python-maxminddb.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-maxminddb" Fri Jun 29 22:23:14 2018 rev:2 rq:617160 version:1.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-maxminddb/python-maxminddb.changes 2017-06-20 09:39:10.614375581 +0200 +++ /work/SRC/openSUSE:Factory/.python-maxminddb.new/python-maxminddb.changes 2018-06-29 22:23:17.482623894 +0200 @@ -1,0 +2,19 @@ +Sun May 27 08:30:23 UTC 2018 - sebix+novell....@sebix.at + +- 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.4.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-maxminddb.spec ++++++ --- /var/tmp/diff_new_pack.vpVM7t/_old 2018-06-29 22:23:18.054623465 +0200 +++ /var/tmp/diff_new_pack.vpVM7t/_new 2018-06-29 22:23:18.058623462 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-maxminddb # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -13,28 +13,27 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without test Name: python-maxminddb -Version: 1.3.0 +Version: 1.4.0 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 @@ -63,14 +62,12 @@ %python_expand rm %buildroot%{$python_sitearch}/maxminddb/extension/maxminddb.c %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.4.0.tar.gz ++++++ ++++ 47908 lines of diff (skipped)