Description of problem: (split out from #1094396)
Failed loading plugin: copr
From the log:
Jun 03 11:09:26 ERROR Failed loading plugin: copr
Jun 03 11:09:26 SUBDEBUG
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/dnf/plugin.py", line 119, in import_modules
module = importlib.import_module(name)
File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
File "/usr/lib/python2.7/site-packages/dnf-plugins/copr.py", line 29, in <module>
ImportError: No module named requests
Version-Release number of selected component (if applicable):
How reproducible: 100%
Steps to Reproduce:
1. dnf update
On my system, the "python-requests" package was not installed. It should be in the requires of dnf-plugins-core. After adding the package manually, the plugin works again.
Moving to Mirek.
Mirek, I see this as further evidence that copr should be split out of the core plugins since by adding this dependency all users that need one of the other core plugins but not the copr plugin will have to have installed python-request.
* e87fab2 build: add python-requests to requires (RHBZ: 1104088)
*** Bug 1114594 has been marked as a duplicate of this bug. ***
dnf-plugins-core-0.1.1-2.fc20, dnf-0.5.3-1.fc20, hawkey-0.4.17-1.fc20 has been submitted as an update for Fedora 20.
Package dnf-plugins-core-0.1.1-2.fc20, dnf-0.5.3-1.fc20, hawkey-0.4.17-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dnf-plugins-core-0.1.1-2.fc20 dnf-0.5.3-1.fc20 hawkey-0.4.17-1.fc20'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
dnf-plugins-core-0.1.1-2.fc20, dnf-0.5.3-1.fc20, hawkey-0.4.17-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
dnf-3 has the same with python3-requests