Bug 66992 - PackageKit Python 3 support
Summary: PackageKit Python 3 support
Status: RESOLVED FIXED
Alias: None
Product: PackageKit
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-17 10:52 UTC by Bohuslav "Slavek" Kabrda
Modified: 2014-02-12 14:39 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bohuslav "Slavek" Kabrda 2013-07-17 10:52:02 UTC
Hi,
I'm currently trying to asses what it'd take to move Fedora to Python 3. Since PackageKit is a part of livecd, it'd need to be patched to work with Python 3 as one of first things. So, is Python 3 on your road map? Anything I can help with?
Thanks.
Comment 1 Richard Hughes 2013-07-17 13:01:45 UTC
Well, the client library is a GIR library, so there's no 2/3 problems. The bigger problem is the yum backend, as yum is exclusively Python2 as far as I know.
Comment 2 Bohuslav "Slavek" Kabrda 2013-07-18 07:40:02 UTC
As for the Yum backend, AFAIK yum will eventually be replaced by DNF (but I'm not aware of the timeframe).
Speaking of PackageKit itself, it doesn't seem to be fully Python 3 compatible. At least in Fedora, it contains e.g. /usr/lib/python2.7/site-packages/packagekit/{gtkwidgets,progress}.py, that use "print" statements in several places (I didn't examine closer for any other harder-to-reveal Python 3 incompatibilities). I have PackageKit-0.8.9-6.fc19.x86_64
Comment 3 Miro Hrončok 2014-02-12 12:14:08 UTC
Has there been any progress with this issue?

Apart from yum (and that will be replaced by dnf), what's blocking the porting?

Thanks for an update.
Comment 4 Richard Hughes 2014-02-12 14:39:00 UTC
I've switched the fedora build to using python3 by default.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.