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/", line 3088, 
in <module>
  File "/usr/lib/python3/dist-packages/pkg_resources/", line 3072, 
in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/pkg_resources/", line 3101, 
in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3/dist-packages/pkg_resources/", line 574, in 
  File "/usr/lib/python3/dist-packages/pkg_resources/", line 892, in 
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3/dist-packages/pkg_resources/", line 778, in 
    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.



Roberto C. Sánchez

Attachment: signature.asc
Description: PGP signature

Python-modules-team mailing list

Reply via email to