Control: reassign -1 python-pkg-resources
Control: retitle -1 pkg_resources: ‘load_entry_point’ crashes without Setuptools

Thanks for the report.

On 05-Sep-2016, Ben Burton wrote:

> 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
>   […]
> pkg_resources.DistributionNotFound: The 'setuptools' distribution was not 
> found and is required by dput
> 
> After installing python-setuptools, dput worked properly.

The documentation for ‘pkg_resources’ implies that ‘load_entry_point’
should be available:

    load_entry_point(dist, group, name)
        Load the named entry point from the specified distribution, or
        raise ImportError.

    
<URL:http://setuptools.readthedocs.io/en/latest/pkg_resources.html#convenience-api>

IIUC, the purpose of ‘pkg_resources’ is to provide all the run-time
functionality an application needs, without needing Setuptools also
installed. So this appears to be a fault in ‘pkg_resources’.

-- 
 \             “We can't depend for the long run on distinguishing one |
  `\         bitstream from another in order to figure out which rules |
_o__)               apply.” —Eben Moglen, _Anarchism Triumphant_, 1999 |
Ben Finney <bign...@debian.org>

Attachment: signature.asc
Description: PGP signature

Reply via email to