Description of problem:
I recently needed to use slimit during a package build, so added a BuildRequires for python-slimit. During package build, rpm bails out with this:
+ slimit -m src/swfobject.js
Traceback (most recent call last):
File "/usr/bin/slimit", line 5, in <module>
from pkg_resources import load_entry_point
ImportError: No module named pkg_resources
error: Bad exit status from /var/tmp/rpm-tmp.xryhzY (%build)
Bad exit status from /var/tmp/rpm-tmp.xryhzY (%build)
So, it seems that python-slimit depends on python-setuptools, but that's not actually pulled in when installing python-slimit. this might be the python automatic dependency generator missing it. Anyway, a fix is to add Requires: python-setuptools to the python-slimit package.
Version-Release number of selected component (if applicable):
> the python automatic dependency generator
FYI, there is no such thing for Python Modules.
(In reply to Michael Schwendt (Fedora Packager Sponsors Group) from comment #1)
> > the python automatic dependency generator
> FYI, there is no such thing for Python Modules.
Um yeah, not sure what I was thinking when I typed that.:)
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora 'version'
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 20 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
Thank you for reporting this bug and we are sorry it could not be fixed.
Still an issue in F22:
# rpm -q --requires python-slimit
python(abi) = 2.7
python-ply >= 3.4
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1
# rpm -q python-slimit
Sorry for the delay on this. I'm going to update to the latest upstream release this week.
python-slimit-0.8.1-1.el6.1 has been submitted as an update for Fedora EPEL 6.
python-slimit-0.8.1-1.fc22 has been submitted as an update for Fedora 22.
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing python-slimit-0.8.1-1.el6.1'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
python-slimit-0.8.1-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
python-slimit-0.8.1-1.el6.1 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.