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 bugzilla.redhat.com.

Bug 1276923

Summary: provide Python3 version of the package
Product: [Fedora] Fedora Reporter: Tomáš Hozza <thozza>
Component: python-behaveAssignee: Matěj Cepl <mcepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 22CC: besser82, mcepl, mcepl, mhroncok, thozza
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-behave-1.2.5-10.fc22 python-behave-1.2.5-10.fc23 python-behave-1.2.5-9.el7 python-behave-1.2.5-10.fc24 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-19 21:28:24 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:
Attachments:
Description Flags
Patch for specfile that would fix this none

Description Tomáš Hozza 2015-11-01 11:28:08 UTC
Description of problem:
Currently on F22, there is only Python2 version of python-behave package. Looking at pypi [1], the package is available also for Python3.

[1] https://pypi.python.org/pypi/behave

Comment 1 Matěj Cepl 2015-11-03 18:14:11 UTC
Could you try package from http://koji.fedoraproject.org/koji/taskinfo?taskID=11689753 … does it work properly? I don’t have Fedora at hand to test.

Comment 2 Tomáš Hozza 2015-11-04 15:10:23 UTC
Thanks for the quick response.

The python3-behave package does not install anything into /usr/bin, thus one is not able to run Behave with only Python3 version installed.

http://fpaste.org/286853/46649692/

Based on https://fedoraproject.org/wiki/Packaging:Python#Avoiding_collisions_between_the_python_2_and_python_3_stacks, the python3-* package should install behave-3 and behave-3.4 into /usr/bin.

You can have a look at similar thing I did recently for python-couchdb package http://pkgs.fedoraproject.org/cgit/python-couchdb.git/commit/?id=11f43dd5d3851a983f25bc86b4b213379c1b12f6

Comment 3 Miro Hrončok 2016-02-25 16:05:55 UTC
Created attachment 1130592 [details]
Patch for specfile that would fix this

I addressed the issue an I am providing a fix.

I also made /usr/bin/behave to run on Python 3, as this is the Fedora's default.

Please le tme know, if I can push this.

Comment 4 Fedora Update System 2016-02-29 09:15:46 UTC
python-behave-1.2.5-9.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-9e381832b8

Comment 5 Fedora Update System 2016-02-29 09:15:48 UTC
python-behave-1.2.5-9.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-b62d126146

Comment 6 Fedora Update System 2016-02-29 09:15:56 UTC
python-behave-1.2.5-9.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-122393679c

Comment 7 Fedora Update System 2016-02-29 23:51:05 UTC
python-behave-1.2.5-9.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-122393679c

Comment 8 Fedora Update System 2016-02-29 23:52:47 UTC
python-behave-1.2.5-9.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-9e381832b8

Comment 9 Fedora Update System 2016-03-01 02:22:54 UTC
python-behave-1.2.5-9.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-b62d126146

Comment 10 Fedora Update System 2016-03-09 15:12:25 UTC
python-behave-1.2.5-10.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-1216503c85

Comment 11 Fedora Update System 2016-03-09 15:12:36 UTC
python-behave-1.2.5-10.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-1e9dfedc85

Comment 12 Miro Hrončok 2016-03-09 19:57:59 UTC
Don't forget F24.

Comment 13 Matěj Cepl 2016-03-10 12:57:46 UTC
(In reply to Miro Hrončok from comment #12)
> Don't forget F24.

Auch! It's running now http://koji.fedoraproject.org/koji/taskinfo?taskID=13296785

Comment 14 Fedora Update System 2016-03-10 13:19:19 UTC
python-behave-1.2.5-10.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-de90a466e4

Comment 15 Fedora Update System 2016-03-10 16:51:42 UTC
python-behave-1.2.5-10.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-1e9dfedc85

Comment 16 Fedora Update System 2016-03-10 16:53:36 UTC
python-behave-1.2.5-10.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-1216503c85

Comment 17 Fedora Update System 2016-03-11 19:27:37 UTC
python-behave-1.2.5-10.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-de90a466e4

Comment 18 Fedora Update System 2016-03-19 21:28:18 UTC
python-behave-1.2.5-10.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 19 Fedora Update System 2016-03-20 02:30:24 UTC
python-behave-1.2.5-10.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 20 Fedora Update System 2016-03-21 00:31:35 UTC
python-behave-1.2.5-9.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.

Comment 21 Fedora Update System 2016-03-26 18:13:44 UTC
python-behave-1.2.5-10.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.