| Summary: | ImportError: No module named pkg_resources | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ben Boeckel <fedora> |
| Component: | python-webassets | Assignee: | Praveen Kumar <kumarpraveen.nitdgp> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 19 | CC: | bugs.michael, chris.brown, kumarpraveen.nitdgp, pj.pandit |
| Target Milestone: | --- | Keywords: | EasyFix |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | python-webassets-0.8-3.fc19 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 525306 | Environment: | |
| Last Closed: | 2013-10-03 01:09:42 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Ben Boeckel
2012-02-28 02:29:58 UTC
Will work on this weekend. Hi can you please tell how to regenerate this bug, I rebuild it successfully for rawhide without any change in spec file and also after install I tried to import this module and it imported without any issue. It's a runtime error. I got it just by running webassets after an install. python-setuptools was not pulled in automatically. I added python-setuptools as requires, please try rpm[0] and let me know if problem is fixed or not, I still not able to generate error (I used this module and during run it's does throw any error). Can you please paste a code snippet? [0] http://koji.fedoraproject.org/koji/getfile?taskID=3876579&name=python-webassets-0.5-2.fc17.noarch.rpm The error:
% rpm -q python-setuptools python-webassets
package python-setuptools is not installed
python-webassets-0.5-2.fc17.noarch
% webassets
Traceback (most recent call last):
File "/bin/webassets", line 5, in <module>
from pkg_resources import load_entry_point
ImportError: No module named pkg_resources
I've filed a bug against rpm[1] because this should likely be handled by rpm-build finding dependencies automatically. [1]Bug #801990 Note that there have not been any Python module related automatic dependencies before. Only "python(abi) = ..." is automatic. Ah. I thought that happened already. Should I just edit that bug to be an RFE? This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle. Changing version to '19'. (As we did not run this process for some time, it could affect also pre-Fedora 19 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19 Looking at git, there's a BuildRequires on python-setuptools, but not a Requires (which appears to still be necessary though I have setuptools installed via other Requires paths). Hi, I added "python-setuptools" as require for this package and pushed it to rawhide and f20/f19 testing repo. python-webassets-0.8-3.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/python-webassets-0.8-3.fc20 python-webassets-0.8-3.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/python-webassets-0.8-3.fc19 Package python-webassets-0.8-3.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing python-webassets-0.8-3.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-17504/python-webassets-0.8-3.fc19 then log in and leave karma (feedback). python-webassets-0.8-3.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. python-webassets-0.8-3.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |