Bug 920969
| Summary: | [abrt] python-setuptools-0.6.28-3.fc18: setup.py:9:<module>: File "/tmp/easy_install-rB2uCY/pyparsing-2.0.0/pyparsing.py", line 629 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jens Timmerman <bugzilla> | ||||||||
| Component: | python-setuptools | Assignee: | Toshio Ernie Kuratomi <a.badger> | ||||||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | unspecified | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 18 | CC: | a.badger, dmalcolm, lmacken | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | x86_64 | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | abrt_hash:ce363494ec0f56ec8d6b18aa88aa96a67bc322e0 | ||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2013-03-13 15:12:11 UTC | Type: | --- | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Jens Timmerman
2013-03-13 08:26:45 UTC
Created attachment 709391 [details]
File: backtrace
Created attachment 709392 [details]
File: core_backtrace
Created attachment 709393 [details]
File: environ
If I'm reading the backtrace correctly, this is a bug in upstream pyparsing-2.0. It's also a broken architecture in easy_install but that's something that would have to be taken up with the upstream distribute and setuptools projects.
easy_install needs to execute the python code in the package's setup.py in order to find out the metainformation about the package. It needs the metainformation to find things such as the depended upon upstream packages that it will need to download next. This can't simply be parsed out due to setup.py being able to set things using the full range of python. For instance, in this case it is setting the version with the help of:
from pyparsing import __version__ as pyparsing_version
This means that if there's a severe enough bug in the upstream package being installed, easy_install will error out when it tries to determine the dependencies for that package.
A workaround that may be suitable for you is to be more explicit about the version you want so that the broken pyparsing-2.0 isn't downloaded. Like this:
easy_install -U --user 'pyparsing < 2.0'
which will install 1.5.7 instead.
|