Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#39986 - [python2-sphinx] sphinx-quickstart2 traceback

Attached to Project: Community Packages
Opened by Ben Torben (btorb) - Monday, 21 April 2014, 08:12 GMT
Last edited by Sébastien Luttringer (seblu) - Tuesday, 26 August 2014, 09:23 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sébastien Luttringer (seblu)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

It seems as the version number internal to python2-sphinx is wrong in the latest version 1.2.2-3

No sphinx tool works (e.g., sphinx-build2, sphinux-quickstart2)

Additional info:
* package version: 1.2.2-3 (The most recent one, I haven't tried older ones)


Steps to reproduce:

$ sudo pacman -S python2-sphinx
$ sphinx-quickstart2

sphinx-quickstart2
Traceback (most recent call last):
File "/home/btorb/local/bin/sphinx-quickstart2", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2749, in <module>
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 446, in _build_master
return cls._build_from_requirements(__requires__)
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 459, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 628, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: Sphinx==1.2.1


This task depends upon

Closed by  Sébastien Luttringer (seblu)
Tuesday, 26 August 2014, 09:23 GMT
Reason for closing:  Fixed
Comment by Doug Newgard (Scimmia) - Monday, 21 April 2014, 16:54 GMT
What version of python2-setuptools? That's where the error is coming from.
Comment by Johannes Wienke (languitar) - Friday, 08 August 2014, 13:30 GMT
  • Field changed: Percent Complete (100% → 0%)
Definitely a bug in the package. The installed script shpinx-build requests a Sphinx distribution with exact version 1.1.3 but what is installed in /usr/lib/python2.7/site-packages is Sphinx 1.2.2.
Comment by Sébastien Luttringer (seblu) - Tuesday, 26 August 2014, 09:23 GMT
$ cat /usr/bin/sphinx-build2
#!/usr/bin/python2
# EASY-INSTALL-ENTRY-SCRIPT: 'Sphinx==1.2.2','console_scripts','sphinx-build2'
__requires__ = 'Sphinx==1.2.2'
import sys
from pkg_resources import load_entry_point

if __name__ == '__main__':
sys.exit(
load_entry_point('Sphinx==1.2.2', 'console_scripts', 'sphinx-build2')()
)
Comment by Sébastien Luttringer (seblu) - Tuesday, 26 August 2014, 09:23 GMT
That's bug is about sphinx-quickstart2. Please don't hijack it.

Loading...