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

Add support for Python 3.10 #1246

Merged
merged 1 commit into from
Oct 4, 2021
Merged

Add support for Python 3.10 #1246

merged 1 commit into from
Oct 4, 2021

Conversation

edmorley
Copy link
Member

@edmorley edmorley commented Oct 4, 2021

Release announcement:
https://www.python.org/downloads/release/python-3100/
https://blog.python.org/2021/10/python-3100-is-available.html

More detailed "What's new":
https://docs.python.org/3.10/whatsnew/3.10.html

For this release, a new version of the buildpack's Python build script has also been added, which includes some long-overdue improvements:

  • enables PGO (--enable-optimizations)
  • enables loadable SQLite extensions (--enable-loadable-sqlite-extensions)
  • enables strict configure option checking (--enable-option-checking=fatal)
  • the make invocation now uses concurrency (!!)
  • the test module cleanup step now also removes the idle_test directory

These bring our Python builds closer in-line with those used elsewhere, for example:
https://github.com/docker-library/python/blob/d65295b73bc2c711de96caeba17501d1a81b6a5c/3.9/buster/Dockerfile#L43-L45

For docs on the configure options, see:
https://docs.python.org/3.10/using/configure.html

Fixes #488.
GUS-W-8060029.
GUS-W-9093281.

Release announcement:
https://www.python.org/downloads/release/python-3100/
https://blog.python.org/2021/10/python-3100-is-available.html

More detailsed "What's new":
https://docs.python.org/3.10/whatsnew/3.10.html

For this release, a new version of the buildpack's Python build script has been
added, which includes some long-overdue improvements:
- enables PGO (`--enable-optimizations`)
- enables loadable SQLite extensions (`--enable-loadable-sqlite-extensions`)
- enables strict configure option checking (`--enable-option-checking=fatal`)
- the make invocation now uses concurrency (!!)
- the test module cleanup step now also removes the `idle_test` directory

These bring our Python builds closer in-line with those used elsewhere, for example:
https://github.com/docker-library/python/blob/d65295b73bc2c711de96caeba17501d1a81b6a5c/3.9/buster/Dockerfile#L43-L45

For docs on the configure options, see:
https://docs.python.org/3.10/using/configure.html

Fixes #488.
GUS-W-8060029.
GUS-W-9093281.
@edmorley edmorley requested a review from a team as a code owner October 4, 2021 22:57
@edmorley edmorley self-assigned this Oct 4, 2021
@edmorley edmorley merged commit e823894 into main Oct 4, 2021
@edmorley edmorley deleted the python-3.10 branch October 4, 2021 23:24
@edmorley
Copy link
Member Author

edmorley commented Oct 4, 2021

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.

set --enable-loadable-sqlite-extensions in configure?
2 participants