Skip to content
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

smoketests: add a test for the limited API #150

Draft
wants to merge 1 commit into
base: mingw-v3.11.4
Choose a base branch
from

Conversation

lazka
Copy link
Member

@lazka lazka commented Aug 21, 2023

This builds the test module twice, once normally and once for the limited API. In the later case we check at runtime if libpython3.dll is loaded, to make sure we are actually linked against it and not against libpython3.x.dll.

This depends on both:

This builds the test module twice, once normally and once for the
limited API. In the later case we check at runtime if libpython3.dll
is loaded, to make sure we are actually linked against it and not
against libpython3.x.dll.

This depends on both:
* msys2-contrib#148
* msys2/MINGW-packages#18232
@lazka
Copy link
Member Author

lazka commented Aug 23, 2023

Since we are using the unpatched setuptools from https://github.com/msys2-contrib/cpython-mingw/tree/mingw-v3.11.4/Lib/ensurepip/_bundled this doesn't work.

We could update the bundled setuptools with the patched one we use for building the MSYS2 package.

@lazka lazka marked this pull request as draft August 25, 2023 14:02
@lazka
Copy link
Member Author

lazka commented Jul 6, 2024

With upstream setuptools having better mingw support now it might make sense to try upstreaming the py_limited_api support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant