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 1737874 - syncthing-gtk depends on Python 2
Summary: syncthing-gtk depends on Python 2
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: syncthing-gtk
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
TreeView+ depends on / blocked
 
Reported: 2019-08-06 10:08 UTC by Lumír Balhar
Modified: 2019-08-10 08:09 UTC (History)
1 user (show)

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


Attachments (Terms of Use)

Description Lumír Balhar 2019-08-06 10:08:49 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 syncthing-gtk'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 syncthing-gtk.
If you need anything from us, or something is unclear, please mention it here.

Thank you.

Comment 1 Fabio Valentini 2019-08-06 11:14:41 UTC
(In reply to Lumír Balhar from comment #0)
> 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 syncthing-gtk'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?) 

It's a program written in python, specifically a subset of python that's only compatible with python2.

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

There are none, as far as I know.

There's an idle bug report about python3 support:

https://github.com/syncthing/syncthing-gtk/issues/487

A pull request to Port it to python3 was dismissed by upstream since "he doesn't know python3 and wouldn't be able to maintain the program after it was ported:

https://github.com/syncthing/syncthing-gtk/pull/383

> - 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?)

Since upstream is unwilling (or unable) to port this to python3 (or maintain a python3 version), there is no way forward as far as I can see.

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

The way things stand, I think it's possible that a python3 compatible fork will happen at some point. Either I will switch this package to the fork, or we can drop the package from fedora.

Comment 2 Fabio Valentini 2019-08-10 08:09:02 UTC
I've retired this package in fedora master / f31+.


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