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

Upgrade default python version to python 3.8 on Linux System #432

Closed
chinmayshah99 opened this issue Sep 14, 2022 · 1 comment
Closed

Upgrade default python version to python 3.8 on Linux System #432

chinmayshah99 opened this issue Sep 14, 2022 · 1 comment
Labels
Good first issue 🎓 Perfect for beginners, welcome to OpenMined! Type: Improvement 📈 Performance improvement not introducing a new feature or requiring a major refactor

Comments

@chinmayshah99
Copy link
Member

chinmayshah99 commented Sep 14, 2022

Description

Python 3.6 is deprecated and hence there is no point in installing py36 as a default version. Rather we should be installing python 3.8.
File to be updated: https://github.com/OpenMined/PyDP/blob/dev/prereqs_linux.sh#L26

Additional Context

Add any other context or screenshots.

@chinmayshah99 chinmayshah99 added Good first issue 🎓 Perfect for beginners, welcome to OpenMined! Type: Improvement 📈 Performance improvement not introducing a new feature or requiring a major refactor labels Sep 14, 2022
emmcauley added a commit to emmcauley/PyDP that referenced this issue Feb 6, 2023
…stems instead of locking to specific version that requires a PPA be used
@emmcauley
Copy link
Contributor

I tracked the origin of this code back to pull request #32 / issue #31. There didn't seem to be a specific reason documented to lock specifically to Python 3.6 or pull in a custom PPA. Rather than install a custom PPA, would it be better to let the Ubuntu/Debian "python3" meta-package select the supported version of Python3 for that system? For example, on Ubuntu 22.04, it would default to Python 3.10, and on 20.04, it defaults to Python3.8.

This discussion examines some of the considerations when you override the default Python3 package selection (at least on Ubuntu): https://askubuntu.com/questions/1398568/installing-python-who-is-deadsnakes-and-why-should-i-trust-them

I am new to the OpenMined community and I will link a PR (#444) in case you'd like to go in that direction.

chinmayshah99 added a commit that referenced this issue Feb 14, 2023
…dates-#432

#432 proposing use of python3 metapackage on Debian-alike systems ins…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Good first issue 🎓 Perfect for beginners, welcome to OpenMined! Type: Improvement 📈 Performance improvement not introducing a new feature or requiring a major refactor
Projects
None yet
Development

No branches or pull requests

2 participants