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-30 23:43:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-google-resumable-media (Old)
and /work/SRC/openSUSE:Factory/.python-google-resumable-media.new.2443
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-google-resumable-media"
Thu Sep 30 23:43:42 2021 rev:11 rq:922323 version:2.0.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-google-resumable-media/python-google-resumable-media.changes
2021-09-29 20:20:12.247100680 +0200
+++
/work/SRC/openSUSE:Factory/.python-google-resumable-media.new.2443/python-google-resumable-media.changes
2021-09-30 23:45:00.992580751 +0200
@@ -1,0 +2,6 @@
+Thu Sep 30 06:30:37 UTC 2021 - Matej Cepl <[email protected]>
+
+- Changing pytest's import-mode=importlib seems to make the test
+ suite working as well.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-google-resumable-media.spec ++++++
--- /var/tmp/diff_new_pack.qkTCJN/_old 2021-09-30 23:45:01.560581402 +0200
+++ /var/tmp/diff_new_pack.qkTCJN/_new 2021-09-30 23:45:01.560581402 +0200
@@ -37,7 +37,6 @@
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-google-crc32c
-Requires: python-google-filesystem
Recommends: python-aiohttp
Recommends: python-requests >= 2.18.0
BuildArch: noarch
@@ -57,9 +56,7 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-# 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
+export PYTEST_ADDOPTS="--import-mode=importlib"
%pytest tests/unit
%files %{python_files}