Bug 1645025

Summary: python-tox Recommends python26 although there's no python2 subpackage
Product: [Fedora] Fedora Reporter: Raphael Groner <projects.rg>
Component: python-toxAssignee: Matthias Runge <mrunge>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: itamar, mhroncok, mrunge, pviktori
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-01 11:35:36 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 Raphael Groner 2018-11-01 09:14:55 UTC
Description of problem:
As the title says. python-tox Recommends python26 although there's no python2 subpackage

Version-Release number of selected component (if applicable):
3.0.0

How reproducible:
yes

Steps to Reproduce:
1. look at python-tox.spec
2.
3.

Actual results:
Recommends: python26

Expected results:
Please explain why those Recommends, also for python3X. Maybe remove all of them because there's no other content like any files for the main package.

Additional info:

Comment 1 Petr Viktorin (pviktori) 2018-11-01 09:47:51 UTC
The entire *purpose* of tox is to enable developers to test against various Python versions. This makes Fedora great for developing Python mudules that work on all the Python versions.
It's documented here: https://developer.fedoraproject.org/tech/languages/python/multiple-pythons.html

Please do recommend all interpreters that work with tox.

Tox itself runs of Python 3. It calls the other interpreters as commands.

Comment 2 Miro Hrončok 2018-11-01 10:53:41 UTC
python3-tox on rawhide does no longer recommends python26 because it doesn't work with Python 2.6.

python3-tox in Fedora 28 recommedns python26 because it works with Python 2.6.

Plese keep recommending Python 2.7, as it works with Python 2.7.

Plese revert https://src.fedoraproject.org/rpms/python-tox/c/131621c8655626d7129a8b5794db7b0e3b084dff

Comment 3 Matthias Runge 2018-11-01 11:35:36 UTC
oops.
I've reverted the change and rebuilt on rawhide. No other branches were touched.

Comment 4 Miro Hrončok 2018-11-01 11:39:14 UTC
Thanks.

Comment 5 Raphael Groner 2018-11-01 19:52:55 UTC
(In reply to Petr Viktorin from comment #1)
> The entire *purpose* of tox is to enable developers to test against various
> Python versions. This makes Fedora great for developing Python mudules that
> work on all the Python versions.
> It's documented here:
> https://developer.fedoraproject.org/tech/languages/python/multiple-pythons.
> html

Well, I'd love to see this as a comment in the spec file to prevent any further potential confusion.

Comment 6 Petr Viktorin (pviktori) 2018-11-02 15:26:55 UTC
PR with such a comment: https://src.fedoraproject.org/rpms/python-tox/pull-request/5