Skip to content

Package sphinxcontrib_websupport #24972

@jdemeyer

Description

@jdemeyer

Running Sphinx from the command-line is typically done by the sphinx-build script. This requires that all dependencies of Sphinx are actually installed (even if they are not used). This means that typing and sphinxcontrib-websupport should be added as dependencies of Sphinx.

Otherwise, you get errors like

[cvxopt-1.1.8.p2] sphinx-build -b html -d build/doctrees   source build/html
[cvxopt-1.1.8.p2] Traceback (most recent call last):
[cvxopt-1.1.8.p2]   File "/home/jdemeyer/sage-test/local/bin/sphinx-build", line 6, in <module>
[cvxopt-1.1.8.p2]     from pkg_resources import load_entry_point
[cvxopt-1.1.8.p2]   File "/home/jdemeyer/sage-test/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3144, in <module>
[cvxopt-1.1.8.p2]     @_call_aside
[cvxopt-1.1.8.p2]   File "/home/jdemeyer/sage-test/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3128, in _call_aside
[cvxopt-1.1.8.p2]     f(*args, **kwargs)
[cvxopt-1.1.8.p2]   File "/home/jdemeyer/sage-test/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3157, in _initialize_master_working_set
[cvxopt-1.1.8.p2]     working_set = WorkingSet._build_master()
[cvxopt-1.1.8.p2]   File "/home/jdemeyer/sage-test/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 666, in _build_master
[cvxopt-1.1.8.p2]     ws.require(__requires__)
[cvxopt-1.1.8.p2]   File "/home/jdemeyer/sage-test/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 984, in require
[cvxopt-1.1.8.p2]     needed = self.resolve(parse_requirements(requirements))
[cvxopt-1.1.8.p2]   File "/home/jdemeyer/sage-test/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 870, in resolve
[cvxopt-1.1.8.p2]     raise DistributionNotFound(req, requirers)
[cvxopt-1.1.8.p2] pkg_resources.DistributionNotFound: The 'sphinxcontrib-websupport' distribution was not found and is required by Sphinx

Note that it is Sphinx itself which requires sphinxcontrib-websupport. This is unrelated to cvxopt but I'm just using that as example because of #14645.

Tarball: https://pypi.python.org/packages/c5/6b/f0630436b931ad4f8331a9399ca18a7d447f0fcc0c7178fb56b1aee68d01/sphinxcontrib-websupport-1.0.1.tar.gz#md5=84df26463b1ba65b07f926dbe2055665

CC: @dimpase

Component: packages: standard

Author: Dima Pasechnik, Jeroen Demeyer

Branch: 8ecd93c

Reviewer: Jeroen Demeyer, Dima Pasechnik

Issue created by migration from https://trac.sagemath.org/ticket/24972

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions