Bug 1645025 - python-tox Recommends python26 although there's no python2 subpackage
Summary: python-tox Recommends python26 although there's no python2 subpackage
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: python-tox
Version: rawhide
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
Assignee: Matthias Runge
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-01 09:14 UTC by Raphael Groner
Modified: 2018-11-02 15:26 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-11-01 11:35:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


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