Description of problem: koji version 1.17 is not compatibile with python 2.6.6 Version-Release number of selected component (if applicable): koji-builder-1.17.0-5.el6.noarch.rpm How reproducible: Always Steps to Reproduce: 1. Just try to build anything Actual results: Build fails with the following trace (in kojid.log): Fault: <Fault 1: 'Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/koji/daemon.py", line 1295, in runTask response = (handler.run(),) File "/usr/lib/python2.6/site-packages/koji/tasks.py", line 311, in run return koji.util.call_with_argcheck(self.handler, self.params, self.opts) File "/usr/lib/python2.6/site-packages/koji/util.py", line 263, in call_with_argcheck return func(*args, **kwargs) File "/usr/sbin/kojid", line 4622, in handler broot.init() File "/usr/sbin/kojid", line 544, in init self.session.host.setBuildRootList(self.id,self.getPackageList()) File "/usr/sbin/kojid", line 633, in getPackageList self.markExternalRPMs(ret) File "/usr/sbin/kojid", line 764, in markExternalRPMs with GzipFile(fileobj=fo, mode=\'r\') as fo2: AttributeError: GzipFile instance has no attribute \'__exit__\' Additional info: This bug is most likely caused by the following issue in python 2.6.6 https://stackoverflow.com/questions/48736692/gzipfile-instance-has-no-attribute-exit-when-used-in-a-with-block with GzipFile ... as was introduced in koji-1.17. In koji-1.16 there's no such thing and it should be still compatibile with CentOS 6. Could you please confirm that and restore koji-1.16 RPM in EPEL repository? I'll try to build my own RPM from source for now, but koji-1.17 is unusable in CentOS 6.
I'm sorry this has languished. ;( So, this was actually fixed a while ago upstream, but because I didn't have time to look into it, I have not been pushing updates to epel6. ;( Would you be willing to try 1.21.0 and give some general funcationality feedback? I have no el6 systems to test here. I have a scratch build at: https://koji.fedoraproject.org/koji/taskinfo?taskID=43780000
Thanks, I'll schedule update to 1.21 and report results!
We have just updated our Koji on CentOS6 using packages you provided. Build new version of our software package, no problem was noticed.
Great. Thanks for testing. Will push a official update here soon...
FEDORA-EPEL-2020-f2d964c080 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-f2d964c080
FEDORA-EPEL-2020-e9d34610c0 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-e9d34610c0
FEDORA-2020-69cb41f2c7 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-69cb41f2c7
FEDORA-2020-5088f068f4 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2020-5088f068f4
FEDORA-2020-edd79688a9 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-edd79688a9
FEDORA-2020-edd79688a9 has been pushed to the Fedora 31 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-edd79688a9` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-edd79688a9 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2020-e9d34610c0 has been pushed to the Fedora EPEL 7 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-e9d34610c0 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2020-f2d964c080 has been pushed to the Fedora EPEL 6 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-f2d964c080 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2020-5088f068f4 has been pushed to the Fedora 30 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-5088f068f4` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-5088f068f4 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2020-69cb41f2c7 has been pushed to the Fedora 32 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-69cb41f2c7` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-69cb41f2c7 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2020-69cb41f2c7 has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2020-f2d964c080 has been pushed to the Fedora EPEL 6 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2020-e9d34610c0 has been pushed to the Fedora EPEL 7 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2020-edd79688a9 has been pushed to the Fedora 31 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2020-5088f068f4 has been pushed to the Fedora 30 stable repository. If problem still persists, please make note of it in this bug report.