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

DietPi-Software | Python 3 and Python 2 dependants #3656

Closed
MichaIng opened this issue Jul 6, 2020 · 4 comments · Fixed by #3657, #3735, #3784, #4310 or #4357
Closed

DietPi-Software | Python 3 and Python 2 dependants #3656

MichaIng opened this issue Jul 6, 2020 · 4 comments · Fixed by #3657, #3735, #3784, #4310 or #4357
Milestone

Comments

@MichaIng
Copy link
Owner

MichaIng commented Jul 6, 2020

We need to get rid of installing EOL Python 2, so we need to:

  1. Clearly separate Python 2 pip and Python 3 pip
  2. List Python 2 dependants and check whether there are Python 3 migrations available, else check or bring this to discussion on software devs.
  3. If there is no plan for a Python 3 migration, drop support for affected software.

This includes #3627 which is solved by separating Python 2 pip and Python 3 pip.

@MichaIng
Copy link
Owner Author

MichaIng commented Jul 6, 2020

@MichaIng MichaIng linked a pull request Jul 6, 2020 that will close this issue
20 tasks
@MichaIng MichaIng modified the milestones: v6.32, v6.33 Aug 27, 2020
@maartenlangeveld
Copy link

maartenlangeveld commented Sep 21, 2020

Samba server (dietpi-sofware: 96) installs Python2.7

@MichaIng
Copy link
Owner Author

Good find. On Bullseye it pulls Python 3: https://packages.debian.org/bullseye/samba
Until Debian Buster there are many cases where packages pull Python 2 as dependency:

2020-09-21 14:50:19 root@VM-Buster:/# apt rdepends python | wc -l
2573

This will not change. But at least where we have control, we should try to migrate until Bullseye release, although it currently ships a compatibility package, now called python2: https://packages.debian.org/bullseye/python2

@MichaIng MichaIng modified the milestones: v6.33, v6.34 Oct 2, 2020
@MichaIng MichaIng modified the milestones: v6.34, v6.35 Nov 28, 2020
@MichaIng MichaIng modified the milestones: v7.0, v7.1 Feb 14, 2021
@MichaIng MichaIng modified the milestones: v7.1, v7.2 Apr 14, 2021
@MichaIng MichaIng linked a pull request Apr 27, 2021 that will close this issue
3 tasks
@MichaIng MichaIng changed the title DietPi-Software | Python3 and Python2 dependants DietPi-Software | Python 3 and Python 2 dependants Apr 27, 2021
@MichaIng
Copy link
Owner Author

Okay, all items where we can currently do something about have been addressed. In case of MotionEye and Firefox Sync Server, we need to wait until upstream migrations have been finished/become stable, but we'll address those in dedicated issues.

CouchPotato will likely (and sadly!) be removed from the list, as it doesn't seem to be developed anymore. Dealt with in dedicated issue as well: #4323

@MichaIng MichaIng added the Solution available 🥂 Definite solution has been done label May 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment