[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1002585: python-requests-cache breaks rows autopkgtest: 'requests_cache' has no attribute 'install_cache'



Source: python-requests-cache, rows
Control: found -1 python-requests-cache/0.8.1-2
Control: found -1 rows/0.4.1-4
Severity: serious
Tags: sid bookworm
X-Debbugs-CC: debian-ci@lists.debian.org
User: debian-ci@lists.debian.org
Usertags: breaks needs-update

Dear maintainer(s),

With a recent upload of python-requests-cache the autopkgtest of rows fails in testing when that autopkgtest is run with the binary packages of python-requests-cache from unstable. It passes when run with only packages from testing. In tabular form:

                       pass            fail
python-requests-cache  from testing    0.8.1-2
rows                   from testing    0.4.1-4
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of python-requests-cache to testing [1]. Due to the nature of this issue, I filed this bug report against both packages. Can you please investigate the situation and reassign the bug to the right package?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=python-requests-cache

https://ci.debian.net/data/autopkgtest/testing/amd64/r/rows/17837757/log.gz

#1	rows print debian/tests/table.csv
--------------------------------------------------
[FAILED #1, line 1] rows print debian/tests/table.csv
@@ -1,7 +1,17 @@
-+---+---+---+
-| a | b | c |
-+---+---+---+
-| 1 | 2 | 3 |
-| 4 | 5 | 6 |
-+---+---+---+
-
+No module named 'url_normalize'
+Traceback (most recent call last):
+  File "/usr/bin/rows", line 33, in <module>
+    sys.exit(load_entry_point('rows==0.4.1', 'console_scripts', 'rows')())
+ File "/usr/lib/python3/dist-packages/click/core.py", line 1126, in __call__
+    return self.main(*args, **kwargs)
+  File "/usr/lib/python3/dist-packages/click/core.py", line 1051, in main
+    rv = self.invoke(ctx)
+  File "/usr/lib/python3/dist-packages/click/core.py", line 1654, in invoke
+    super().invoke(ctx)
+  File "/usr/lib/python3/dist-packages/click/core.py", line 1393, in invoke
+    return ctx.invoke(self.callback, **ctx.params)
+  File "/usr/lib/python3/dist-packages/click/core.py", line 752, in invoke
+    return __callback(*args, **kwargs)
+  File "/usr/lib/python3/dist-packages/rows/cli.py", line 160, in cli
+    requests_cache.install_cache(str(http_cache_path))
+AttributeError: module 'requests_cache' has no attribute 'install_cache'
--------------------------------------------------
#2	echo $?
#3	rows query "SELECT * FROM table1 WHERE a = 1" debian/tests/table.csv
--------------------------------------------------
[FAILED #3, line 11] rows query "SELECT * FROM table1 WHERE a = 1" debian/tests/table.csv
@@ -1,6 +1,17 @@
-+---+---+---+
-| a | b | c |
-+---+---+---+
-| 1 | 2 | 3 |
-+---+---+---+
-
+No module named 'url_normalize'
+Traceback (most recent call last):
+  File "/usr/bin/rows", line 33, in <module>
+    sys.exit(load_entry_point('rows==0.4.1', 'console_scripts', 'rows')())
+ File "/usr/lib/python3/dist-packages/click/core.py", line 1126, in __call__
+    return self.main(*args, **kwargs)
+  File "/usr/lib/python3/dist-packages/click/core.py", line 1051, in main
+    rv = self.invoke(ctx)
+  File "/usr/lib/python3/dist-packages/click/core.py", line 1654, in invoke
+    super().invoke(ctx)
+  File "/usr/lib/python3/dist-packages/click/core.py", line 1393, in invoke
+    return ctx.invoke(self.callback, **ctx.params)
+  File "/usr/lib/python3/dist-packages/click/core.py", line 752, in invoke
+    return __callback(*args, **kwargs)
+  File "/usr/lib/python3/dist-packages/rows/cli.py", line 160, in cli
+    requests_cache.install_cache(str(http_cache_path))
+AttributeError: module 'requests_cache' has no attribute 'install_cache'
--------------------------------------------------
#4	echo $?

FAIL: 2 of 4 tests failed
autopkgtest [19:08:28]: test smoke-test

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: