chevah / pythia

Chevah's Python 3 distribution
MIT License
4 stars 2 forks source link

Last Python 3.11.x release. #59

Closed dumol closed 2 months ago

dumol commented 2 months ago

Scope

While working on #57, it became obvious it would be little work to also release a last set of Python 3.11 packages.

Changes

Updates Python to 3.11.9, the last bugfix release for 3.11.

OpenSSL on non-Windows platforms (for Python's ssl module) now uses the 3.0.x branch, in line with Windows.

Updated all the other libs:

Platforms other than Windows use ensurepip to install pip.

Updated pip to 24.0.

Removed all binary-only wheels. Fixes #55.

Updated remaining Python modules:

Drive-by changes:

Testing

Automated.

adiroiban commented 2 months ago

Unfortunately, there is no musl wheel for psutil.

Maybe just add a comment to inform why we have psutil.

In the future updates, we can review the pypi files for psutil.. maybe musl will be added in the future and we can remove this.

I see that nobody asked for musl package https://github.com/giampaolo/psutil/issues?q=is%3Aissue+is%3Aopen+musl

Maybe we can create a PR and add support for musl

It should be possible to build it via Docker

adiroiban commented 2 months ago

We will see how fast will be the migration to 3.13 .. so this might not be the last release.

But the focus should be on 3.13

the Python ecosystem is slowly moving toward 3.13 ... recently we got cffi on 3.13

adiroiban commented 2 months ago

We can release it this version and I will include it in the next chevah/server update

dumol commented 2 months ago

We will see how fast will be the migration to 3.13 .. so this might not be the last release.

It's definitely the last Python 3.11 release. At least, that's what upstream says at https://www.python.org/downloads/release/python-3119/: This is the last bugfix release of the Python 3.11 series.

dumol commented 2 months ago

@adiroiban, FYI, I've seen GCC optimizing the build on Linux for whatever processor it detected on GitHub's VM, so I've added the -mtune=generic flag on Linux.

Also, on macOS, we now build for macOS 11.0 on Apple Silicon, which is the oldest macOS version with support for ARM64. (We still build for 10.3 on Intel hardware, as long as this works without much effort.)

On Windows, we don't build anything at all.