Skip to content

Conversation

@vstinner
Copy link
Member

Rewrite test_cppext to run in a virtual environment and to build the
C++ extension with setuptools rather than distutils.

Rewrite test_cppext to run in a virtual environment and to build the C++ extension with setuptools rather than distutils.
@vstinner
Copy link
MemberAuthor

If this approach works and is accepted, we can use the same for test_peg_generator.

@FFY00
Copy link
Member

What happens if CPython for some reason breaks setuptools?

@vstinner
Copy link
MemberAuthor

What happens if CPython for some reason breaks setuptools?

The test fails which is a good thing :-)

@vstinnervstinner merged commit 4e28377 into python:mainMay 12, 2022
@vstinnervstinner deleted the test_cppext_setuptools branch May 12, 2022 22:20
@vstinner
Copy link
MemberAuthor

Let's try and see how it goes :-)

@vstinner
Copy link
MemberAuthor

Let's try and see how it goes :-)

It fails when _ctypes is not available: #92820

@FFY00: An example of failing setuptools :-)

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@vstinner@FFY00@bedevere-bot