]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-95299: Rework test_cppext.py to not invoke setup.py directly (#103316)
authorPradyun Gedam <pradyunsg@gmail.com>
Thu, 13 Apr 2023 04:17:36 +0000 (23:17 -0500)
committerGitHub <noreply@github.com>
Thu, 13 Apr 2023 04:17:36 +0000 (23:17 -0500)
commit9e677406ee6666b32d869ce68c826519ff877445
tree4ca0a4372affa79a53f129263b192c70aed59712
parentfb38c1b52e77ffe6e8a02bfc01bd112dcd7e6d95
gh-95299: Rework test_cppext.py to not invoke setup.py directly (#103316)

* gh-95299: Rework test_cppext.py to not invoke setup.py directly

* Add tests/cppextdata data to `TESTSUBDIRS`

* Revert "Add tests/cppextdata data to `TESTSUBDIRS`"

This reverts commit 635492e53954fb0fc2a2875c8961bde99266c48d.

* Revert "gh-95299: Rework test_cppext.py to not invoke setup.py directly"

This reverts commit 41c5a667b5de7070bbde5780f1c124f96863c91d.

* Build and install the extension in a temporary directory instead

* Pull in wheels for setuptools and wheel for testing extension builds
Lib/test/setup_testcppext.py
Lib/test/setuptools-67.6.1-py3-none-any.whl [new file with mode: 0644]
Lib/test/test_cppext.py
Lib/test/wheel-0.40.0-py3-none-any.whl [new file with mode: 0644]