-
Notifications
You must be signed in to change notification settings - Fork 18
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
Consistent-ivize Python and pip
versions
#465
Comments
pip
versionspip
versions
looking at Status of Python Versions and Download Python | Python.org, it's relatively clear
just a few details on the Mostly Useless:tm: paragraph above current images w/ lower versions of Python include
will look at raspbian.11.arm32.iot machine when I can… |
got onto the one raspbian.11.arm32.iot machine. it has Python 3.9.2, Pip 23.2.1, and expected versions of |
a few benefits of this work, originally outlined in #436:
the Mostly Useless:tm: point remains important of course |
more status reports to fill out the Linux machines:
|
unblocked but a background task at this time |
We currently define
PipVersion
,WindowsLatestPipVersion
, and a hard-coded version for all OSX machines. Sincepip
itself is not particularly platform-specific and #436 will make our images more up to date, we should get these versions in sync and remove exceptions where we can.We also use multiple Python versions, usually not the latest available for an OS. This inconsistency causes some of our current
pip
inconsistencies. We should address both upgrades together.At a high level, work here will improve our security stance b/c Python and
pip
both get security fixes and avoid futurecryptography
-like snarls due to packages dropping support for oldpip
versions andpip
dropping support for old Python versions.This will mean the "If you have already done the update process for the
windows-pip
artifact, this work is done." is no longer a lie 😁 While it could cause a few more exceptions initially (b/cpython3*
packages for a platform are out of date), Python changes e.g., fromrh-python36-python-devel
torh-python38-python-devel
should keep this to a minimum.Work such as #294 and #379 will also help reducing exceptions and increasing platform consistency. Those are already issue-sized and aren't exactly part of this issue.
Note: Python 3.11 is the only release at the moment that's truly in support. Python 3.8 through 3.10 get security-only releases but those are Mostly Useless:tm: b/c they're released only as source archives. Python 12 and newer are pre-release. See https://devguide.python.org/versions/#supported-versions for details. Fortunately, OS vendors should build the security-only source archives and help us stay up to date.
Release Note Category
Release Note Description
Moved all images we can to include
pip
v23.2.1. Also bumped the Python version to as close to 3.11.4 as possible for each platform. For example, redhat.7.amd64* images now use Python 3.8 instead of 3.6.The text was updated successfully, but these errors were encountered: