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 1738138 - zeitgeist depends on Python 2
Summary: zeitgeist depends on Python 2
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: zeitgeist
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fabio Valentini
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F31_PY2REMOVAL 1750495
TreeView+ depends on / blocked
 
Reported: 2019-08-06 13:16 UTC by Lumír Balhar
Modified: 2019-09-09 18:39 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-09 18:39:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Lumír Balhar 2019-08-06 13:16:15 UTC
Python 2.7 will reach end-of-life in January 2020, over 9 years after it was released. This falls within the Fedora 31 lifetime.
Packages that depend on Python 2 are being switched to Python 3 or removed from Fedora: https://fedoraproject.org/wiki/Changes/F31_Mass_Python_2_Package_Removal#Information_on_Remaining_Packages
Python 2 will be retired in Fedora 32: https://fedoraproject.org/wiki/Changes/RetirePython2

To help planning, we'd like to know the plans for zeitgeist's future. Specifically:


- What is the reason for the Python2 dependency? (Is it software written in Python, or does it just provide Python bindings, or use Python in the build system or test runner?) 

- What are the upstream/community plans/timelines regarding Python 3?

- What is the guidance for porting to Python 3? (Assuming that there is someone who generally knows how to port to Python 3, but doesn't know anything about the particular package, what are the next steps to take?)


This bug is filed semi-automatically, and might not have all the context specific to zeitgeist.
If you need anything from us, or something is unclear, please mention it here.

Thank you.

Comment 1 Ben Cotton 2019-08-13 17:08:16 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.

Comment 2 Ben Cotton 2019-08-13 17:43:28 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.

Comment 3 Lumír Balhar 2019-08-15 07:25:48 UTC
Please answer the above questions. If you don't, the package can be orphaned: https://fedoraproject.org/wiki/Changes/F31_Mass_Python_2_Package_Removal#Information_on_Remaining_Packages

If you need any information or help, or if you need some more time, please let us know.

Comment 4 Lumír Balhar 2019-08-22 06:44:48 UTC
Please answer the above questions. If you don't, the package can be orphaned: https://fedoraproject.org/wiki/Changes/F31_Mass_Python_2_Package_Removal#Information_on_Remaining_Packages

If you need any information or help, or if you need some more time, please let us know.

Comment 5 Lumír Balhar 2019-08-29 05:17:23 UTC
Please answer the above questions. If you don't, the package can be orphaned: https://fedoraproject.org/wiki/Changes/F31_Mass_Python_2_Package_Removal#Information_on_Remaining_Packages

If you need any information or help, or if you need some more time, please let us know.

Comment 6 Miro Hrončok 2019-09-05 10:41:28 UTC
According to the procedure described in https://fedoraproject.org/wiki/Changes/F31_Mass_Python_2_Package_Removal#Information_on_Remaining_Packages the package was now orphaned. If you think it was a mistake, you can provide the answers and claim the package back.

Let us know if you need any help or just need more time.

Comment 7 Miro Hrončok 2019-09-09 14:43:26 UTC
As the maintainer of python-html5lib, this is the only transitive leaf dependent of python2-html5lib.

So I'm not particularly happy this got unoprhaned. What is the plan? Switch to Python 3 or drop some kind of Python part or get an exception?

Comment 8 Fabio Valentini 2019-09-09 15:20:40 UTC
I picked up zeitgeist because some elementary / Pantheon components depend on zeitgeist-libs:

- elementary-code (optional)
- elementary-files (NOT optional)
- elementary-music (NOT optional)
- wingpanel-applications-menu (optional)

(Also the python bindings are not compatible with python3, despite autotools allowing to build the package against python3.)

I don't need the python2 bindings (seems like nothing in fedora uses them), but I'm not sure if they can be ripped out from the package.

Let me check.

Comment 9 Fabio Valentini 2019-09-09 15:56:32 UTC
Alright, I've ripped the python2 module and any python dependency out from the package.

If everything works out, should I merge this change only into rawhide, or into f31 as well?

Comment 10 Miro Hrončok 2019-09-09 17:21:02 UTC
Whatever you prefer, I will satisfy with rawhide.

Comment 11 Fabio Valentini 2019-09-09 18:39:54 UTC
Alright, python2-zeitgeist is gone and properly Obsoleted, and BR: python2-devel and BR: python2-rdflib are also gone.

f32: https://bodhi.fedoraproject.org/updates/FEDORA-2019-e38cc185fc
f31: https://bodhi.fedoraproject.org/updates/FEDORA-2019-c23ae10881


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