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

Last Python 3.11.x release. #59

Merged
merged 46 commits into from
Jun 13, 2024
Merged

Last Python 3.11.x release. #59

merged 46 commits into from
Jun 13, 2024

Conversation

dumol
Copy link
Contributor

@dumol dumol commented Jun 5, 2024

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:

  • libffi to 3.4.6
  • zlib to 1.3.1.
  • xz to 5.6.2
  • SQLite to 3.46.0.

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:

  • setuptools to 70.0.0
  • psutil to 5.9.8
  • pycparser to 2.22.

Drive-by changes:

  • Added an option for safety IDs to ignore
  • Updated GitHub workflows to run tmate when retrying with debug enabled
  • Updated GitHub workflows to use the new GitHub m1-based macOS runners
  • Build for macOS 11 on Apple Silicon (still for 10.13 on Intel)
  • Prevent unwanted GCC optimizations
  • Use CC and CXX from env if defined.
  • Accept musl git versions.

Testing

Automated.

@dumol dumol self-assigned this Jun 5, 2024
@dumol dumol changed the title Python 3.11, the last release. Last Python 3.11.x release. Jun 5, 2024
@adiroiban
Copy link
Member

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
Copy link
Member

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
Copy link
Member

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

@dumol
Copy link
Contributor Author

dumol commented Jun 11, 2024

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
Copy link
Contributor Author

dumol commented Jun 11, 2024

@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.

@dumol dumol merged commit ba80a30 into master Jun 13, 2024
5 checks passed
@dumol dumol deleted the python311-last-release branch June 13, 2024 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Drop all binary wheels.
3 participants