Summary: | docutils-0.5 fails to merge | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kovid Goyal <kovid> |
Component: | [OLD] Development | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | corporate_gadfly, djc, gentoo |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Build log |
Description
Kovid Goyal
2008-08-28 16:19:54 UTC
Very strange, it works for me with python-2.5.2 ... the supposedly missing method "uniq" is provided in the docutils source (docutils-0.5/docutils/utils.py) How about attaching a full build log from one of your emerge attempts? Created attachment 164100 [details]
Build log
I had an easy_install based installtion of docutils-0.4 in site-packages. The ebuild was loading the utils module from there instead of from the docutils-0.5 source. the ebuild should probably set PYTHONATH to ensure it is correctly picked up. (In reply to comment #3) > I had an easy_install based installtion of docutils-0.4 in site-packages. The > ebuild was loading the utils module from there instead of from the docutils-0.5 > source. the ebuild should probably set PYTHONATH to ensure it is correctly > picked up. > According to your log the line that fails shows PYTHONPATH being set, so I'm not sure what you mean. Furthermore, I installed 0.4 and emerged 0.5 without problems. Are you using a current docutils-0.5 ebuild from portage? Yes I'm using a current ebuild. All I meant was that doing a rm -rf /usr/lib/python2.5/site-packages/docutils* makes the merge work. I assumed it was because of PYTHONPATH. (In reply to comment #0) > docutils-0.5 fails to merge with the error message: > > changing mode of build/scripts-2.5/rstpep2html.py from 644 to 755 > /mnt/extra2/var/tmp/paludis/dev-python-docutils-0.5/work/docutils-0.5/tools > /mnt/extra2/var/tmp/paludis/dev-python-docutils-0.5/work/docutils-0.5 > /// Processing directory: .. > Traceback (most recent call last): > File "./buildhtml.py", line 239, in <module> > Builder().run() > File "./buildhtml.py", line 184, in run > os.path.walk(directory, self.visit, recurse) > File "/usr/lib/python2.5/posixpath.py", line 290, in walk > func(arg, top, names) > File "./buildhtml.py", line 198, in visit > for pattern in utils.uniq(settings.ignore): > AttributeError: 'module' object has no attribute 'uniq' > I'm having the same issue. I have docutils-0.4-r3 installed currently and I also have an easy_install based docutils-0.4 (/usr/lib/python2.5/site-packages/docutils-0.4-py2.5.egg-info) as well just like OP. I must have installed something else using setuptools (easy_install) and it must have pulled in that dependency by itself. Removing /usr/lib/python2.5/site-packages/docutils* lets me build docutils-0.5. No issues for me when building and using dev-python/docutils-0.5. I had 0.4-r3 previously installed and it just upgraded it without problems I didn't have issues with upgrading to 0.5, either. I have had problems with other packages before; when you're using setuptools, it prepends eggs to PYTHONPATH, which I think could result in this behavior. Same problem here ... I had to uninstall docutils-0.4-r3 prior to being able to install -0.5 This bug seems similar to Bug#265819. Try to run python-updater. Eh - no python update happened... so no: not similar Once I used eselect python and set my python from 2.6 back to 2.5 this merged. before that it complained that it couldn't find distutils Hello, Is this still an issue? I haven't been able to reproduce this in any way. Now that 0.4 is out of the picture, still an issue? Im closing the bug, please reopen as needed. Best regards, |