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

CPython 3.12 Support #190

Closed
wants to merge 4 commits into from
Closed

CPython 3.12 Support #190

wants to merge 4 commits into from

Conversation

indygreg
Copy link
Collaborator

Still very much a work in progress.

@indygreg indygreg force-pushed the cpython-3.12 branch 6 times, most recently from da6ac14 to 0ac33a9 Compare September 26, 2023 10:27
CPython 3.12 appears to require 2.71. To get 2.71 working we had to
define a new environment variable override.
Before, we built a host CPython inside build-cpython.sh for build
configurations that required it.

This commit extracts the host CPython build to its own build script and
make target.

The impetus for this is that iterating on changes to the main CPython
build script is slow due to having to recompile the host CPython all
the time. I've been wanting to make this change for a while to speed
up that common development workflow.

As part of this refactor we now sometimes compile the host CPython
when we don't need to. But since we always the host CPython for
3.11+, eventually that waste is reduced to 0. So I'm fine with the
overhead.
@indygreg indygreg force-pushed the cpython-3.12 branch 3 times, most recently from a0f4601 to 0245628 Compare October 1, 2023 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant