[Python-modules-team] Bug#895738: python3-sphinx: missing dependency on python3-setuptools
Roberto C. Sanchez
roberto at debian.org
Sun Apr 15 13:05:47 BST 2018
Package: python3-sphinx
Version: 1.7.2-1
Severity: important
This morning I upgraded python3-sphinx in a sid chroot:
[UPGRADE] python3-sphinx:amd64 1.6.7-2 -> 1.7.2-1
Following that upgrade, it no longer works:
Traceback (most recent call last):
File "/usr/bin/sphinx-build", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3088, in <module>
@_call_aside
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3072, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3101, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 574, in _build_master
ws.require(__requires__)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 892, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 778, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'setuptools' distribution was not found and is required by Sphinx
The problem seems to be a missing dependency on python3-setuptools:
$ apt-cache show python3-sphinx |grep ^Depends
Depends: python3:any (>= 3.4~), python3-lib2to3, python3-distutils, python3-six (>= 1.5), python3-docutils (>= 0.11), python3-pygments (>= 2.0), python3-jinja2 (>= 2.3), python3-babel (>= 1.3), python3-alabaster (>= 0.7), python3-imagesize, python3-requests (>= 2.4.0), python3-packaging, sphinx-common (= 1.7.2-1)
After manually installing python3-setuptools it started working again.
Regards,
-Roberto
--
Roberto C. Sánchez
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20180415/ce5d8e7f/attachment.sig>
More information about the Python-modules-team
mailing list