]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45548: Some test modules must be built as shared libs (GH-29268)
authorChristian Heimes <christian@python.org>
Fri, 29 Oct 2021 15:49:57 +0000 (18:49 +0300)
committerGitHub <noreply@github.com>
Fri, 29 Oct 2021 15:49:57 +0000 (17:49 +0200)
commitf0150ac94a85c863ec1dcb58b9e33ed7ce465ec8
tree0af6f5979b7f5a9e75db0b4aa57abf4b15e7e2ef
parentd9575218d7ab3d85b15ce3d4779660b9b724d343
bpo-45548: Some test modules must be built as shared libs (GH-29268)

Some test cases don't work when test modules are static extensions.

Add dependency on Modules/config.c to trigger a rebuild whenever a
module build type is changed.

``makesetup`` puts shared extensions into ``Modules/`` directory. Create
symlinks from pybuilddir so the extensions can be imported.

Note: It is not possible to use the content of pybuilddir.txt as a build
target. Makefile evaluates target variables in the first pass. The
pybuilddir.txt file does not exist at that point.
Doc/whatsnew/3.11.rst
Makefile.pre.in
Misc/NEWS.d/next/Build/2021-10-28-14-47-22.bpo-45548.mdCBxB.rst [new file with mode: 0644]
Modules/Setup
Modules/makesetup
setup.py