Description of problem: I'm testing copr-cli-1.45-1 as found in bodhi here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-245dbd46e3 This version of copr-cli is supposed to support uploading a local srpm directly to copr as opposed to first uploading the srpm to some public internet spot and then starting a copr build. Attempting to do so will fail with this error: Something went wrong: Error: Invalid request: bad request parameters I traced this back to the version of python-copr that is available on el6 (also via the EPEL repository): 1.55. Updating this version to 1.58 (as is currently available on Fedora 22 for example) fixes this issue. Once this is fixed, one can successfully start a new build with a local srpm using copr-cli build <copr-repo> <local-srpm-path> Although the build will run successfully, copr-cli will fail to print the build id though. Instead this error is printed: Traceback (most recent call last): File "/usr/bin/copr-cli", line 9, in <module> load_entry_point('copr-cli==0.3.0', 'console_scripts', 'copr-cli')() File "/usr/lib/python2.6/site-packages/copr_cli/main.py", line 419, in main getattr(commands, arg.func)(arg) File "/usr/lib/python2.6/site-packages/copr_cli/main.py", line 66, in wrapper return func(self, args) File "/usr/lib/python2.6/site-packages/copr_cli/main.py", line 176, in action_build print("Created builds: {}".format(" ".join(map(str, build_ids)))) ValueError: zero length field name in format The problem here is that the {} positional argument specifier is too new for python 2.6. Changing this line to print("Created builds: {0}".format(" ".join(map(str, build_ids)))) will fix the problem and makes copr-cli work on el6. Version-Release number of selected component (if applicable): copr-cli-1.45-1.el6.noarch How reproducible: Always Steps to Reproduce: 1. Run a copr-cli build with a local srpm as argument Actual results: The two errors as explained above. The first prevents the build from starting on copr.fedoraproject.org, the second is only an display error. Expected results: Build starts fine and build id is printed correctly. Additional info: I rebuilt the Fedora 22 package of python-copr to pass the first issue. It's at version 1.58, where current epel is only at 1.55.
the python-copr version in EPEL7 is similarly old and not usable.
Epel fixes: https://git.fedorahosted.org/cgit/copr.git/commit/?id=e10e2f9cfdc22e24c https://git.fedorahosted.org/cgit/copr.git/commit/?id=15116133574defe50 Git version of python-copr and copr-cli is here: https://copr.fedoraproject.org/coprs/praiskup/copr-dev/
python-copr-1.65-1.fc23 copr-cli-1.47-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-b8100b8c0e
python-copr-1.65-1.el6 copr-cli-1.47-1.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-0b304178f6
python-copr-1.65-1.el7 copr-cli-1.47-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-c11c38ade2
python-copr-1.65-1.fc22 copr-cli-1.47-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-1fc476e069
copr-cli-1.47-1.el6, python-copr-1.65-1.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-0b304178f6
copr-cli-1.47-1.el7, python-copr-1.65-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-c11c38ade2
copr-cli-1.47-1.fc23, python-copr-1.65-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-b8100b8c0e
copr-cli-1.47-1.fc22, python-copr-1.65-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-1fc476e069
copr-cli-1.47-1.fc23, python-copr-1.65-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
copr-cli-1.47-1.el7, python-copr-1.65-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
copr-cli-1.47-1.el6, python-copr-1.65-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
python-copr-1.68-1.fc22 copr-cli-1.50-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-83199bf70e
copr-cli-1.50-1.fc22, python-copr-1.68-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-83199bf70e
copr-cli-1.50-1.fc22, python-copr-1.68-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.