Add support for building Python 3.10.x #383
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add checksums for Python 3.10.0 to 3.10.17
Set default python version to 3.10.17
Added modules:
_testclinicintroduced in Python 3.10.10_xxsubinterpretersintroduced in Python 3.7Removed modules:
parserRemoved options:
BUILD_WININSTandBUILD_WININST_ALWAYSwas removedin Python 3.10. See python/cpython@0e2a0f72cc9 ("bpo-42802: Remove distutils
bdist_wininst command (GH-24043)", 2021-01-09)
Definitions:
PY3_DLLNAMEwithPython/pathconfig.c.Readline support:
Add support building against libedit (editline) library on non-apple system
by setting the
WITH_EDITLINEdefinition ifUSE_LIBEDITCMake option is ON.See python/cpython@e1f77695132 ("bpo-13501: allow choosing between readline and libedit (GH-24189)", 2021-02-09)
Change
USE_LIBEDITCMake option to be independent ofUSE_SYSTEM_READLINE.Remove setting of
USE_LIBEDITdefinition that was specificto
cmake/patches/01-readline-libedit.patch. Remove the patch as it was notapplied automatically and is now superseded by the use of
WITH_EDITLINEavailable starting with Python 3.10.Updated pyconfig.h.in and configure checks:
Add
WITH_VALGRINDtop-level CMake option. If enabled and if headervalgrind/valgrind.his found, the CMake variable
DYNAMIC_ANNOTATIONS_ENABLEDis set and the correspondingpre-processor is defined in
pyconfig.h.Skip adding
EXPERIMENTAL_ISOLATED_SUBINTERPRETERSas it was added inPython 3.10 and later removed in Python 3.11:
Add header checks:
HAVE_LINUX_AUXVEC_HHAVE_SYS_AUXV_HHAVE_SYS_EVENTFD_HAdd size type checks:
ALIGNOF_LONGALIGNOF_SIZE_TAdd symbol checks:
HAVE_SPLICEHAVE_CLOSE_RANGEHAVE_EVENTFDHAVE_VFORKWorking toward addressing: