Opened 10 years ago

Closed 10 years ago

#47124 closed defect (fixed)

py*-sphinx 1.3_0 execution fails

Reported by: michaelld (Michael Dickens) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: michel.sylvan@…, smithsp (Sterling Smith)
Port: py-sphinx

Description

The Sphinx 1.3_0 ${prefix}/bin/sphinx-* scripts execution fails with (e.g., when using py27-sphinx):

% /opt/local/bin/sphinx-build-2.7
Traceback (most recent call last):
  File "/opt/local/bin/sphinx-build-2.7", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3020, in <module>
    working_set = WorkingSet._build_master()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 614, in _build_master
    ws.require(__requires__)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 920, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 807, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: sphinx-rtd-theme<0.2,>=0.1

Change History (6)

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Port: py-sphinx added; py*-sphinx removed

To aid with searching for tickets by port, it is best to simply use stub port name for python ports - i.e. "py-sphinx".

comment:2 Changed 10 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

comment:3 Changed 10 years ago by smithsp (Sterling Smith)

This needs a port revision bump to fix those of us who got a broken dependency chain.

comment:4 Changed 10 years ago by smithsp (Sterling Smith)

Cc: smithsp@… added

Cc Me!

comment:5 Changed 10 years ago by smithsp (Sterling Smith)

Resolution: fixed
Status: closedreopened

The workaround to a revision bump is

sudo port uninstall py27-sphinx@1.3_0
sudo port install py27-sphinx

comment:6 Changed 10 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.