Bug 1076401

Summary: The 2to3 utility cannot be found with yum/dnf in the python-tools package
Product: [Fedora] Fedora Reporter: Vratislav Podzimek <vpodzime>
Component: python3Assignee: Miro Hrončok <mhroncok>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: low    
Version: 27CC: bkabrda, cstratak, dmalcolm, ishcherb, ivazqueznet, jberan, jonathansteffan, mcyprian, mhroncok, pviktori, rkuska, tomspur, torsava, tradej
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python3-3.6.2-8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-16 13:43:44 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:
Bug Depends On: 1111275    
Bug Blocks:    

Description Vratislav Podzimek 2014-03-14 10:11:03 UTC
Description of problem:
When trying to search for the 2to3 utility in our repositories using yum or dnf, the python-tools package containing the tool is not found.

Steps to Reproduce:
1. yum search 2to3

Actual results:
python-tools not in the result

Expected results:
python-tools in the result

Comment 1 Jaroslav Reznik 2015-03-03 15:34:44 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 2 Fedora Admin XMLRPC Client 2015-05-12 12:04:18 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Fedora Admin XMLRPC Client 2016-01-29 13:05:01 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 4 Fedora End Of Life 2016-07-19 11:08:17 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 5 Petr Viktorin (pviktori) 2016-07-29 10:27:01 UTC
Still valid.

These commands work as expected:
    dnf repoquery /usr/bin/2to3
    dnf install /usr/bin/2to3

but having "dnf search 2to3" work as well would provide a better experience. AFAIK it's a matter of listing the tools in the description.

The fix can be combined with bug #1111275.

Comment 6 Miro Hrončok 2017-08-16 13:43:44 UTC
Added provides and changed summary and description:

-Summary: A collection of tools included with Python
+Summary: A collection of tools included with Python including 2to3 and idle
 Group: Development/Tools
 Requires: %{name} = %{version}-%{release}
 Requires: %{name}-tkinter = %{version}-%{release}
 
+Provides: %{name}-2to3 = %{version}-%{release}
+Provides: %{name}-idle = %{version}-%{release}
+Provides: 2to3 = %{version}-%{release}
+Provides: idle3 = %{version}-%{release}
+
 %description tools
-This package contains several tools included with Python
+This package contains several tools included with Python including 2to3
+and idle.