Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1455424 - support Python 3 in beaker-client
Summary: support Python 3 in beaker-client
Alias: None
Product: Beaker
Classification: Retired
Component: general
Version: 24
Hardware: Unspecified
OS: Unspecified
Target Milestone: 27.0
Assignee: Martin Styk
QA Contact: tools-bugs
Depends On: 1455425
Blocks: PYTHON3-UPSTREAM 1692368
TreeView+ depends on / blocked
Reported: 2017-05-25 06:26 UTC by Dan Callaghan
Modified: 2019-05-07 08:46 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Last Closed: 2019-05-07 08:46:48 UTC

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Beaker Project Gerrit 6495 0 'None' MERGED Enable Python 3 in Beaker 2020-04-02 03:58:39 UTC

Description Dan Callaghan 2017-05-25 06:26:47 UTC
Some users have requested that the client parts of Beaker support running in Python 3.

Our client code is still targetting RHEL6+ (meaning Python 2.6+) but it would be reasonable to support Python 2.6+ and 3.0+ from a single code base, for the client parts.

(The Beaker server side is another kettle of fish, it will be stuck on Python 2 so long as there is still TurboGears / CherryPy2 code. So that is out of scope for this bug.)

Some outstanding issues:
* need to fix syntax that is invalid in Python 3
* need to use six.moves for modules that changed names in Python 3
* need to get off python-krbV as it is unmaintained and there is no Python 3 port
* need to figure out a testing strategy

The latter point might be the hardest, as we are currently only running integration tests on RHEL6 and RHEL7. One easy option might be to get the tests running on Fedora, and then adjust the spec so that the beaker-client package on Fedora is built against Python 3 instead of Python 2.

Comment 2 Dan Callaghan 2017-05-25 07:42:05 UTC
Bug 1455425 is for switching python-krbV to something else with Python 3 support. But that is stalled due to deficiencies with krb5 on RHEL6 (details in that other bug).

An alternative would be to port python-krbV to Python 3, but that seems like it might be a big thing to tackle.

Comment 9 greg.hellings 2019-04-10 00:40:15 UTC
Building in Rawhide is now blocked pending this, paricularly in the documentation subtree.

Comment 10 Martin Styk 2019-04-10 06:05:04 UTC
Yes, I'm aware of it.

Getting there but we need to incorporate a bit more changes till 27.0

Comment 11 Martin Styk 2019-05-07 06:48:24 UTC
The build is available on Beaker-project website -

Note You need to log in before you can comment on or make changes to this bug.