[Python-modules-team] Bug#914506: python3-wget: Unneeded depends on python-urllib3

Scott Kitterman debian at kitterman.com
Sat Nov 24 05:00:19 GMT 2018


Package: python3-wget
Version: 3.2-1
Severity: normal

python3-wget has the following in it's Depends:

Depends: python-urllib3, ${misc:Depends}, ${python3:Depends}

Unfortunately, python-urllib3 is both wrong and unnecessary.  It is wrong
because a python3 package needs to depend on the python3 version (e.g.
python3-urllib3) and unnecessary because the package works fine using the
urllib that comes with python3.6 (done is an only slightly out of date
unstable chroot):

Python 3.6.7 (default, Oct 21 2018, 08:08:16)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import wget
>>> url = 'http://www.kitterman.com/debian/qscintilla2_2.10.4+dfsg.orig.tar.gz'
>>> filename = wget.download(url)
100% [..........................................................................] 2772679 / 2772679>>>
>>> print(filename
... )
qscintilla2_2.10.4+dfsg.orig.tar.gz

The solution is to just drop it:

Depends: ${misc:Depends}, ${python3:Depends}



More information about the Python-modules-team mailing list