Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-google-resumable-media for
openSUSE:Factory checked in at 2021-09-29 20:18:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-google-resumable-media (Old)
and /work/SRC/openSUSE:Factory/.python-google-resumable-media.new.1899
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-google-resumable-media"
Wed Sep 29 20:18:56 2021 rev:10 rq:922071 version:2.0.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-google-resumable-media/python-google-resumable-media.changes
2021-08-02 12:05:53.509645544 +0200
+++
/work/SRC/openSUSE:Factory/.python-google-resumable-media.new.1899/python-google-resumable-media.changes
2021-09-29 20:20:12.247100680 +0200
@@ -1,0 +2,20 @@
+Tue Sep 28 21:00:40 UTC 2021 - Matej Cepl <[email protected]>
+
+- Run test suite correctly (from tests/ directory moved elsewhere)
+
+-------------------------------------------------------------------
+Tue Aug 31 09:04:07 UTC 2021 - John Paul Adrian Glaubitz
<[email protected]>
+
+- Update to 2.0.0
+ * drop Python 2.7 support
+ * retry ConnectionError and similar errors that occur mid-download
+- from version 1.3.3
+ * revert "fix: add retry coverage to the streaming portion of a download"
+- from version 1.3.2
+ * add retry coverage to the streaming portion of a download
+- from version 1.3.1
+ * **deps:** require six>=1.4.0
+- Disable Python2 builds
+- Update BuildRequires and Requires from setup.py
+
+-------------------------------------------------------------------
Old:
----
google-resumable-media-1.3.0.tar.gz
New:
----
google-resumable-media-2.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-google-resumable-media.spec ++++++
--- /var/tmp/diff_new_pack.RWwt9c/_old 2021-09-29 20:20:12.655101271 +0200
+++ /var/tmp/diff_new_pack.RWwt9c/_new 2021-09-29 20:20:12.659101277 +0200
@@ -17,27 +17,27 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
Name: python-google-resumable-media
-Version: 1.3.0
+Version: 2.0.0
Release: 0
Summary: Utilities for Google Media Downloads and Resumable Uploads
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/googleapis/google-resumable-media-python
Source:
https://files.pythonhosted.org/packages/source/g/google-resumable-media/google-resumable-media-%{version}.tar.gz
-BuildRequires: %{python_module crcmod}
BuildRequires: %{python_module google-auth}
BuildRequires: %{python_module google-crc32c}
BuildRequires: %{python_module mock}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests >= 2.18.0}
BuildRequires: %{python_module setuptools}
-BuildRequires: %{python_module six}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-google-crc32c
Requires: python-google-filesystem
-Requires: python-six
Recommends: python-aiohttp
Recommends: python-requests >= 2.18.0
BuildArch: noarch
@@ -50,22 +50,22 @@
%setup -q -n google-resumable-media-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-# We need the namespace in the buildroot, sigh
-%{python_expand touch %{buildroot}%{$python_sitelib}/google/__init__.py}
+# We shouldn't be running tests from the BUILD/*/ directory, where pytest
finds another google/ subdirectory
+trap 'rm -rf -- ~/tests' INT TERM HUP EXIT
+cp -r tests ~/ && cd
%pytest tests/unit
-%{python_expand rm %{buildroot}%{$python_sitelib}/google/__init__.py}
%files %{python_files}
%license LICENSE
%doc README.rst
-%{python_sitelib}/google_resumable_media*egg-info
+%{python_sitelib}/google_resumable_media*-info
%{python_sitelib}/google_resumable_media*pth
%{python_sitelib}/google/resumable_media*
%{python_sitelib}/google/_async_resumable_media*
++++++ google-resumable-media-1.3.0.tar.gz ->
google-resumable-media-2.0.0.tar.gz ++++++
++++ 6683 lines of diff (skipped)