[Python-modules-team] Bug#825748: python-requests: Asks for python-requests >= 2.0 despite 2.10.0-1 installed already

Eric bugs.debian.org at vvmail.fr
Sun May 29 13:50:29 UTC 2016


Package: python-requests
Version: 2.10.0-1
Severity: normal

Hi,
Since the last update of python-requests, I can't use the weboob's
applications, such as boobank (http://weboob.org/applications/boobank):

boobank
Traceback (most recent call last):
  File "/usr/local/bin/boobank", line 4, in <module>
    __import__('pkg_resources').run_script('weboob==1.2', 'boobank')
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 719,
in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1504,
in run_script
    exec(code, namespace, namespace)
  File "/usr/local/lib/python2.7/dist-packages/weboob-1.2-py2.7.egg/EGG-
INFO/scripts/boobank", line 23, in <module>
    from weboob.applications.boobank import Boobank
  File "/usr/local/lib/python2.7/dist-
packages/weboob-1.2-py2.7.egg/weboob/applications/boobank/__init__.py", line
21, in <module>
    from .boobank import Boobank
  File "/usr/local/lib/python2.7/dist-
packages/weboob-1.2-py2.7.egg/weboob/applications/boobank/boobank.py", line 28,
in <module>
    from weboob.browser.browsers import APIBrowser
  File "/usr/local/lib/python2.7/dist-
packages/weboob-1.2-py2.7.egg/weboob/browser/__init__.py", line 20, in <module>
    from .browsers import Browser, DomainBrowser, UrlNotAllowed, PagesBrowser,
LoginBrowser, need_login
  File "/usr/local/lib/python2.7/dist-
packages/weboob-1.2-py2.7.egg/weboob/browser/browsers.py", line 44, in <module>
    raise ImportError('Please install python-requests >= 2.0')
ImportError: Please install python-requests >= 2.0


It asks for python-requests >= 2.0, despite 2.10.0-1 is installed already:

apt-cache policy python-requests
python-requests:
  Installed: 2.10.0-1
  Candidate: 2.10.0-1
  Version table:
 *** 2.10.0-1 500
        500 http://ftp.fr.debian.org/debian sid/main amd64 Packages
        500 http://ftp.fr.debian.org/debian sid/main i386 Packages
        500 http://http.debian.net/debian unstable/main amd64 Packages
        500 http://http.debian.net/debian unstable/main i386 Packages
        100 /var/lib/dpkg/status
     2.4.3-6 500
        500 http://httpredir.debian.org/debian jessie/main amd64 Packages
        500 http://httpredir.debian.org/debian jessie/main i386 Packages


How to solve that issue please?



-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.5.0-rc4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python-requests depends on:
ii  ca-certificates  20160104
ii  python-chardet   2.3.0-2
ii  python-urllib3   1.15.1-2
pn  python:any       <none>

python-requests recommends no packages.

Versions of packages python-requests suggests:
ii  python-ndg-httpsclient  0.4.0-3
ii  python-openssl          16.0.0-1
ii  python-pyasn1           0.1.9-1
pn  python-socks            <none>

-- no debconf information



More information about the Python-modules-team mailing list