Bug 1610621

Summary: beah cannnot be installed on Fedora 29+ due to unversioned Python 2 requirements: nothing provides python-twisted-web needed by beah-0.7.12-1.fc28.noarch
Product: [Retired] Beaker Reporter: Dan Callaghan <dcallagh>
Component: generalAssignee: Dan Callaghan <dcallagh>
Status: CLOSED CURRENTRELEASE QA Contact: Matt Tyson 🤬 <mtyson>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: dcallagh, jmckenzi, mtyson, rjoost
Target Milestone: 25.6Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-03 23:31:37 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 Dan Callaghan 2018-08-01 04:25:02 UTC
Description of problem:
As part of Fedora's switch to Python 3 (https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) the python2-* subpackages are no longer providing their original python-* names starting from Fedora 29. As a result Beah no longer installs (nor will it build).

Version-Release number of selected component (if applicable):
beah-0.7.12-1.fc28.noarch

How reproducible:
easily

Steps to Reproduce:
1. Try to run a recipe with Fedora rawhide (29)

Actual results:
Beah fails to install because the unversioned python requirements such as python-twisted-web are absent:

+ yum -y install beah rhts-test-env
Last metadata expiration check: 0:00:41 ago on Tue Jul 24 04:42:13 2018.
Error:
 Problem: conflicting requests
[...]
  - nothing provides python-twisted-web needed by beah-0.7.12-1.fc28.noarch
[...]

Expected results:
Beah should install (with the Python 2 stack) and run the recipe.

Additional info:
Beaker will switch to using Restraint by default instead of Beah on Fedora 29+ (bug 1589610) because we are not planning to port Beah to Python 3. However we can fix the RPM spec for Beah so that it continues to build and work on Fedora so long as Python 2 is available (until Fedora 32 most likely).

Comment 1 Dan Callaghan 2018-08-07 03:05:17 UTC
With these patches we can get a successful build on rawhide:

https://gerrit.beaker-project.org/#/c/beah/+/6249 fix python requirements to use python2-* names on Fedora 29+
https://gerrit.beaker-project.org/#/c/beah/+/6250 use python2 versioned macros
https://gerrit.beaker-project.org/#/c/beah/+/6251 invoke trial-2 instead of trial on Fedora 29+

Comment 3 Matt Tyson 🤬 2018-08-23 04:58:45 UTC
I've run up a Fedora 29 machine in beaker-devel.  Beah is installed along with the python-2 packages such as python2-twisted.

Marking as Verified.

Comment 4 Roman Joost 2018-09-03 23:31:37 UTC
This has been released with Beaker 25.6.

Release Notes: https://beaker-project.org/docs/whats-new/release-25.html#beaker-25-6