-
Notifications
You must be signed in to change notification settings - Fork 192
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 minimum Python version to 3.8 #1904
Conversation
Please add a changelog entry. |
sudo apt-get install $1 software-properties-common | ||
sudo add-apt-repository $1 ppa:deadsnakes/ppa | ||
sudo apt-get install $1 python3.7 python3.7-tk python3.7-venv | ||
sudo apt-get install $1 python3.8 python3.8-tk python3.8-venv |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you know why we need python Tkinter? It is not in most other requirements.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure. It seems it's been there for a while.
Eventually, we will be upgrading |
Is there anything blocking this? |
This PR bumps the minimum supported Python version to 3.8. This has been planned for some time, but was made necessary during the Argoverse 2 integration which requires >=3.8.
Some package version changes were needed:
ray[rllib]
from1.0.1.post1
to1.4.0
to get rid ofgym[atari]
dependency which had problems installing in 3.8numpy<1.24.0
upper bound to fix an issue withray[rllib]==1.4.0
(see [Datasets] numpy 1.24 breaks np.int, np.long which are used in tests ray-project/ray#31258)Note also that an issue with notebooks popped up: #1902. We have decided to ignore the test for now to unblock the Argoverse integration, but this should be investigated.