Bug 1014563 (PY3DNF)
Summary: | Support Python 3 in DNF | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> | ||||
Component: | dnf | Assignee: | Honza Silhan <jsilhan> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rawhide | CC: | a.badger, akozumpl, bkabrda, pnemade, rholy | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | dnf-0.4.8-1.fc20 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-11-24 23:41:42 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: | |||||||
Bug Depends On: | 1014568, 1014574 | ||||||
Bug Blocks: | 1014209, 1014559, 1014597, 1024805, 1024809 | ||||||
Attachments: |
|
Description
Miro Hrončok
2013-10-02 10:59:51 UTC
Hi Miroslav, we are already working on this and should meet Py3 compatibility by F22. Jan, this is what you are already working on. Notice that Miro is offering his help so if there's any issues in porting related components (like python-iniparser), you can talk to him too. noting this for people finding this via web searches. Since we're the upstream for DNF this won't be applicable here: Note: do not follow this portion of the advice as it is against the Packaging Guidelines: "When upstream is dead or unwilling to support Python 3, you'll need to patch this package on Fedora level. Try to avoid this as much as you can, but use it, if it's the last option." If you are in this situation, you'll essentially be forking upstream in order to produce a python3 port. In that situation, the proper thing to do is to create a new package with the python3 port. It would be even better to create the proper upstream infrastructure as well (new upstream scm and issue tracker) but that isn't 100% required by the guidelines. Package for Python3 will be called python3-dnf. For testing use "python3 /usr/bin/dnf ...". Right now it doesn't run because of rpm-python3 bug. Created attachment 824356 [details]
fix in rpm-python3 in transation.py
I don't know if you get my mail. I made a pull request here http://lists.rpm.org/pipermail/rpm-maint/2013-October/003635.html and then it continued with private massagess with Panu. We agreed about patch in attachment, but it's still not in upstream. dnf-0.4.8-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/dnf-0.4.8-1.fc20 Package dnf-0.4.8-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-0.4.8-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-22052/dnf-0.4.8-1.fc20 then log in and leave karma (feedback). dnf-0.4.8-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |