Hello community,
here is the log from the commit of package python-pycountry for
openSUSE:Factory checked in at 2019-05-22 10:49:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pycountry (Old)
and /work/SRC/openSUSE:Factory/.python-pycountry.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pycountry"
Wed May 22 10:49:20 2019 rev:3 rq:689774 version:18.12.8
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pycountry/python-pycountry.changes
2017-09-29 11:56:16.863233183 +0200
+++
/work/SRC/openSUSE:Factory/.python-pycountry.new.5148/python-pycountry.changes
2019-05-22 10:49:24.323382630 +0200
@@ -1,0 +2,11 @@
+Fri Mar 29 09:32:07 UTC 2019 - [email protected]
+
+- version update to 18.12.8
+ - Switch API from "get + KeyError" to " get + default=None". This is
+ a subtle API-breaking change. Please update carefully. (#13416)
+ - Update to iso-codes 4.1.
+ - Fix #13394: incorrect KeyError shadowing in Subdivisions.get()
+ - Fix #13398: make lazy loading thread-safe.
+- run unit tests
+
+-------------------------------------------------------------------
Old:
----
pycountry-17.5.14.tar.gz
New:
----
pycountry-18.12.8.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pycountry.spec ++++++
--- /var/tmp/diff_new_pack.5K5Ukp/_old 2019-05-22 10:49:25.015382425 +0200
+++ /var/tmp/diff_new_pack.5K5Ukp/_new 2019-05-22 10:49:25.019382424 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pycountry
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,7 +12,7 @@
# 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/
#
@@ -20,15 +20,18 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pycountry
-Version: 17.5.14
+Version: 18.12.8
Release: 0
Summary: Databases for ISO standards 639 3166 3166-2 4217 15924
-License: LGPL-2.1
+License: LGPL-2.1-only
Group: Development/Libraries/Python
Url: https://pypi.python.org/pypi/pycountry/
Source:
https://pypi.io/packages/source/p/%{real_name}/%{real_name}-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
+# SECTION test requirements
+BuildRequires: %{python_module pytest}
+# /SECTION
Requires: python-lxml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
@@ -50,9 +53,13 @@
%install
%python_install
+%check
+%pytest
+
%files %{python_files}
%defattr(-,root,root,-)
-%doc LICENSE.txt README
+%license LICENSE.txt
+%doc README
%{python_sitelib}/*
%changelog
++++++ pycountry-17.5.14.tar.gz -> pycountry-18.12.8.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-pycountry/pycountry-17.5.14.tar.gz
/work/SRC/openSUSE:Factory/.python-pycountry.new.5148/pycountry-18.12.8.tar.gz
differ: char 5, line 1