Hello community,
here is the log from the commit of package python-googlemaps for
openSUSE:Factory checked in at 2020-06-11 10:03:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-googlemaps (Old)
and /work/SRC/openSUSE:Factory/.python-googlemaps.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-googlemaps"
Thu Jun 11 10:03:29 2020 rev:4 rq:813101 version:4.4.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-googlemaps/python-googlemaps.changes
2019-03-18 10:39:13.599453987 +0100
+++
/work/SRC/openSUSE:Factory/.python-googlemaps.new.3606/python-googlemaps.changes
2020-06-11 10:04:51.439191340 +0200
@@ -1,0 +2,13 @@
+Tue Jun 9 12:21:45 UTC 2020 - Marketa Calabkova <[email protected]>
+
+- Update to 4.4.1
+ * Add support for Maps Static API
+ * Adding support for passing in experience_id to Client class
+ * Python 2 is no longer supported
+ * Removed place fields: alt_id, id, reference, and scope.
+ * APIError.__str__ should always return a str
+ * Tests for distribution tar as part of CI
+ * Support for subfields such as geometry/location and geometry/viewport in
Places.
+ * Switched build system to use nox, pytest, and codecov.
+
+-------------------------------------------------------------------
Old:
----
googlemaps-3.0.2.tar.gz
New:
----
googlemaps-4.4.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-googlemaps.spec ++++++
--- /var/tmp/diff_new_pack.WTNaST/_old 2020-06-11 10:04:54.427200963 +0200
+++ /var/tmp/diff_new_pack.WTNaST/_new 2020-06-11 10:04:54.427200963 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-googlemaps
#
-# 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
@@ -17,15 +17,16 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
Name: python-googlemaps
-Version: 3.0.2
+Version: 4.4.1
Release: 0
Summary: Python client library for Google Maps API Web Services
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/googlemaps/google-maps-services-python
-Source:
https://files.pythonhosted.org/packages/source/g/googlemaps/googlemaps-%{version}.tar.gz
-BuildRequires: %{python_module nose}
+Source:
https://github.com/googlemaps/google-maps-services-python/archive/v%{version}.tar.gz#/googlemaps-%{version}.tar.gz
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests >= 2.20.0}
BuildRequires: %{python_module responses >= 0.3}
BuildRequires: %{python_module setuptools}
@@ -40,7 +41,9 @@
Python via Google.
%prep
-%setup -q -n googlemaps-%{version}
+%setup -q -n google-maps-services-python-%{version}
+# do not require coverage
+sed -i 's/--cov.*$//' setup.cfg
%build
%python_build
@@ -50,10 +53,12 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib}
nosetests-%{$python_bin_suffix} -v
+# the tests catch ApiError, which means they have to connect to the actual
GoogleMaps (and they get no internet for it)
+%pytest -k "not (test_elevation_along_path_single or
test_transit_without_time)"
%files %{python_files}
%license LICENSE
+%doc README.md CHANGELOG.md
%{python_sitelib}/*
%changelog
++++++ googlemaps-3.0.2.tar.gz -> googlemaps-4.4.1.tar.gz ++++++
++++ 4846 lines of diff (skipped)