Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deactivate python2 #4303

Closed
wants to merge 1 commit into from
Closed

Deactivate python2 #4303

wants to merge 1 commit into from

Conversation

hgy59
Copy link
Contributor

@hgy59 hgy59 commented Dec 12, 2020

Motivation: Python 2 is EOL since 01.01.2020 and should be deactivated
Linked issues: #3633

Deactivate all automated builds for Python2 and related packages.

Tasks

  • Develop environment: install pip < 21 as pip 21.0 will drop python2 support
  • introduce cross/pip2 for python2
  • Deactivate CI (github build action) for python2 and related packages

Related Packages

Packages to deactivate or migrate to python3:

- for python2: install pip < 21 as pip 21.0 will drop python2 support
@ymartin59
Copy link
Contributor

Synology delivers a Python 2.7.18 package with DSM 7... so we may port packages for applications without Python 3 support to use Synology version

@hgy59
Copy link
Contributor Author

hgy59 commented Dec 12, 2020

Synology delivers a Python 2.7.18 package with DSM 7... so we may port packages for applications without Python 3 support to use Synology version

Sure we may implement such ports for DSM7 but we will still support DSM6 for models not supporting DSM7.
And January 2021 comes fast and will break all python2 packages due to pip >= 21.

@th0ma7
Copy link
Contributor

th0ma7 commented Dec 13, 2020

I'll look into tvheadend. There where recent changes upstream related to python3 (tvheadend/tvheadend#1372) which might be sufficient to cover it all...

@hgy59
Copy link
Contributor Author

hgy59 commented Dec 13, 2021

Synology delivers a Python 2.7.18 package with DSM 7... so we may port packages for applications without Python 3 support to use Synology version

Unfortunately the installable Python2 (2.7.18) that comes from Synology for DSM 7 does not contain neigther pip nor virtualenv, so it is not an option to migrate to the synology version of Python2.
But this will only be required for ffsync package (#3849), as all other packages can be migrated to Python 3 (see #4998).

@hgy59 hgy59 closed this Jan 22, 2023
@hgy59
Copy link
Contributor Author

hgy59 commented Jan 22, 2023

Closed as not planned.

@hgy59 hgy59 deleted the pip_py27 branch May 20, 2023 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants