Bug 1302919
Summary: | Fedora-easy-karma imports yum (causing a deprecation warning) if python2-dnf is not installed | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Francisco Villavicencio <fvillavi> |
Component: | fedora-easy-karma | Assignee: | Till Maas <opensource> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 23 | CC: | awilliam, opensource, watanabe.yu |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-03-25 08:47:35 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Francisco Villavicencio
2016-01-29 00:32:56 UTC
This will only happen if you don't have python2-dnf installed. It's not a hard dependency because f-e-k *can* function with yum, if python2-dnf isn't available. I'm not sure whether it's really worth calling this a bug, exactly, it's kind of a subjective decision on the packager's part whether to 'enforce' use of python2-dnf for F23 users. I think in the spec file, f-e-k should requires python2-dnf. If the system is installed, for example, # dnf --releasever=23 --installroot=/newsysroot \ install '@core' fedora-easy-karma then, in the installed system, f-e-k output the following error message. ==================================== Traceback (most recent call last): File "/usr/bin/fedora-easy-karma", line 47, in <module> import yum ImportError: No module named yum ==================================== Because, the above dnf command installs python3-dnf, not python2-dnf. Thank you for the report, the current package in testing recommends python2-dnf, see bug 1270600 for this. *** This bug has been marked as a duplicate of bug 1270600 *** |