Bug 1339362

Summary: Please unbundle pep8 and lib2to3
Product: [Fedora] Fedora Reporter: Christian Stadelmann <fedora>
Component: eclipse-pydevAssignee: Mat Booth <mat.booth>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 24CC: akurtako, eclipse-sig, jjohnstn, npmccallum
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: eclipse-pydev-5.1.2-1.fc24 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-10 05:58:20 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 Christian Stadelmann 2016-05-24 19:55:28 UTC
Description of problem:
Currently, eclipse-pydev bundles a bunch of files in /usr/lib64/eclipse/droplets/pydev-core/eclipse/plugins/org.python.pydev_5.0.0.201605181100/pysrc/third_party, notably a folder named pep8 containing pep8.py and autopep8.py and a sub folder named lib2to3. All those files are provided by their respective packages:
python-pep8, python3-pep8
python-autopep8, python3-autopep8
lib2to3 stuff is included in python standard library, python{2/3}-future and python3-modernize.

According to the packaging guidelines [1], libraries should not be bundled in rpm packages.

Version-Release number of selected component (if applicable):
5.0.0-1.fc24

How reproducible:
always due to packaging

[1] https://fedoraproject.org/wiki/Packaging:Guidelines#Bundling_and_Duplication_of_system_libraries

Comment 1 Mat Booth 2016-06-28 11:07:54 UTC
Thanks for keeping us honest :-)

Comment 2 Fedora Update System 2016-06-28 13:54:41 UTC
eclipse-pydev-5.1.2-1.fc24 jython-2.7.1-0.1.b3.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-38d4f09602

Comment 3 Fedora Update System 2016-06-29 22:56:28 UTC
eclipse-pydev-5.1.2-1.fc24, jython-2.7.1-0.1.b3.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-38d4f09602

Comment 4 Fedora Update System 2016-07-10 05:58:15 UTC
eclipse-pydev-5.1.2-1.fc24, jython-2.7.1-0.1.b3.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.