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

Need to Upgrade from Python 3.7 #379

Open
ecwood opened this issue Jun 25, 2024 · 4 comments
Open

Need to Upgrade from Python 3.7 #379

ecwood opened this issue Jun 25, 2024 · 4 comments
Assignees

Comments

@ecwood
Copy link
Collaborator

ecwood commented Jun 25, 2024

While working on #378, I found this error: (see run https://github.com/RTXteam/RTX-KG2/actions/runs/9669257959/job/26675319107)

NEEDRESTART-KEXP: 6.5.0-1022-azure
NEEDRESTART-KSTA: 1
++ curl -s -k https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py
++ apt-get download python3-distutils
Get:1 file:/etc/apt/apt-mirrors.txt Mirrorlist [142 B]
Get:2 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-distutils all 3.10.8-1~22.04 [139 kB]
Fetched 139 kB in 0s (1126 kB/s)
++ '[' -f python3-distutils_3.6.9-1~18.04_all.deb ']'
++ '[' -f python3-distutils_3.8.10-0ubuntu1~20.04_all.deb ']'
++ '[' -f python3-distutils_3.10.6-1~22.04_all.deb ']'
++ '[' -f python3-distutils_3.10.8-1~22.04_all.deb ']'
++ python3_distutils_filename=python3-distutils_3.10.8-1~22.04_all.deb
++ mv python3-distutils_3.10.8-1~22.04_all.deb /tmp
++ sudo dpkg-deb -x /tmp/python3-distutils_3.10.8-1~22.04_all.deb /
++ sudo -H python3.7 /tmp/get-pip.py
++ grep -v 'WARNING: Running pip as the '\''root'\'' user'
ERROR: This script does not work on Python 3.7 The minimum supported Python version is 3.8. Please use https://bootstrap.pypa.io/pip/3.7/get-pip.py instead.

It looks like we need to update to at least Python 3.8. Should we upgrade more than that, @saramsey? (The latest version of Python is 3.12).

@ecwood ecwood self-assigned this Jun 25, 2024
ecwood added a commit that referenced this issue Jun 25, 2024
@ecwood
Copy link
Collaborator Author

ecwood commented Jun 26, 2024

I was able to fix this by downloading https://bootstrap.pypa.io/pip/3.7/get-pip.py instead. However, this seems like a temporary fix.

@ecwood ecwood changed the title Python is Too Outdated Need to Upgrade from Python 3.7 Jun 26, 2024
@ecwood
Copy link
Collaborator Author

ecwood commented Jun 27, 2024

@ecwood
Copy link
Collaborator Author

ecwood commented Jun 28, 2024

Also, see: RTXteam/RTX#2290

@saramsey
Copy link
Member

I think we really should look into upgrading the build system so that it can be run on a modern version of cpython. Marking high priority.

@saramsey saramsey assigned saramsey and unassigned ecwood Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants