
May 10, 2022
8:59 p.m.
On Tue, May 10, 2022 at 7:18 PM Guido van Rossum <guido@python.org> wrote:
Shouldn't we wean our internal tools off this obsolete version of distutils too, rather than just move it around?
Here is a first PR to build the test C++ extension with setuptools in test_cppext: https://github.com/python/cpython/pull/92639 It implements what I proposed in the issue. It runs the test in a venv. Python stdlib (ensurepip) includes a setuptools wheel package and so is able to install it without adding any new external dependency. If this approach works, we can use the same for test_peg_generator. Victor