-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
test_cppext fails on Ubuntu 20.04 when _ctypes fails to build #92820
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
test_cppext now require a working venv command. setuptools uses ctypes. Does test_venv pass? test_venv skips a test if ctypes is missing:
Maybe I need to add a decorator to test.support to skip a test if venv+pip is known to not work. |
test_venv is Successful overall but skips |
I created #92844 to fix it. |
Since setuptools 61.0, ctypes is no longer imported by setuptools.windows_support at startup: pypa/setuptools@a48561e |
Add @test.support.requires_venv_with_pip decorator.
Issue fixed by #92844 |
test_cppext fails when _ctypes fails to build
Issue: test_cppext fails on Ubuntu 20.04 resulting in a test failure. After using git bisect to check #92639 seems to be the PR that introduced this issue.
Note: _ctypes has always been failing to build for me, I'm not sure if its related, but it didn't cause any issues before the mentioned commit. Prior to this commit the test is not skipping, it succeeds.
Steps to replicate:
make clean
./configure --with-pydebug
make -s -j14
./python -m test test_cppext
Message when test fails:
Message when building:
My environment
The text was updated successfully, but these errors were encountered: