Package: dput
Version: 0.10.3
Severity: normal

Hi,

I tried to run dput today in my sid VM, and it gave the following error:

bab@sid-amd64:~/debian$ dput ftp-master regina-normal_4.96-4_amd64.changes 
Traceback (most recent call last):
  File "/usr/bin/dput", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2976, 
in <module>
    @_call_aside
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2962, 
in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2989, 
in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 660, 
in _build_master
    ws.require(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 968, 
in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 854, 
in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'setuptools' distribution was not found 
and is required by dput


After installing python-setuptools, dput worked properly.

I'm not sure whether the python-setuptools dependency belongs in dput or in
pkg_resources (which currently declares python-setuptools as a mere Suggests:),
but it appears that dput cannot run without it.

Regards - Ben.


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dput depends on:
ii  gnupg                 2.1.15-2
ii  python-debian         0.1.29
ii  python-pkg-resources  26.1.1-1
pn  python:any            <none>

dput recommends no packages.

Versions of packages dput suggests:
ii  lintian         2.5.46
pn  mini-dinstall   <none>
ii  openssh-client  1:7.3p1-1
ii  rsync           3.1.1-3

-- no debconf information

Reply via email to