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

Bug#1002542: python-requests-cache breaks howdoi autopkgtest: 'requests_cache' has no attribute 'install_cache'



Source: python-requests-cache, howdoi
Control: found -1 python-requests-cache/0.8.1-2
Control: found -1 howdoi/1.1.9-1
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 howdoi 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
howdoi                 from testing    1.1.9-1
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/h/howdoi/17811284/log.gz

+ HOME=/tmp/autopkgtest-lxc.ovu9zioh/downtmp/autopkgtest_tmp
+ python3 -c import howdoi
+ howdoi --help
No module named 'url_normalize'
usage: howdoi [-h] [-p POS] [-a] [-l] [-c] [-n NUM_ANSWERS] [-C] [-v]
              [QUERY ...]

instant coding answers via the command line

positional arguments:
  QUERY                 the question to answer

optional arguments:
  -h, --help            show this help message and exit
  -p POS, --pos POS     select answer in specified position (default: 1)
  -a, --all             display the full text of the answer
  -l, --link            display only the answer link
  -c, --color           enable colorized output
  -n NUM_ANSWERS, --num-answers NUM_ANSWERS
                        number of answers to return
  -C, --clear-cache     clear the cache
  -v, --version         displays the current version of howdoi
+ howdoi --version
No module named 'url_normalize'
1.1.9
+ howdoi python numpy array
No module named 'url_normalize'
Traceback (most recent call last):
  File "/usr/bin/howdoi", line 9, in <module>
    load_entry_point('howdoi==1.1.9', 'console_scripts', 'howdoi')()
File "/usr/lib/python3/dist-packages/howdoi/howdoi.py", line 259, in command_line_runner
    _enable_cache()
File "/usr/lib/python3/dist-packages/howdoi/howdoi.py", line 205, in _enable_cache
    requests_cache.install_cache(CACHE_FILE)
AttributeError: module 'requests_cache' has no attribute 'install_cache'
autopkgtest [14:10:28]: test tools

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: