Skip to content

smoketests: add a test for the limited API - #150

Draft
lazka wants to merge 1 commit into
msys2-contrib:mingw-v3.11.4from
lazka:add-limited-api-test
Draft

smoketests: add a test for the limited API#150
lazka wants to merge 1 commit into
msys2-contrib:mingw-v3.11.4from
lazka:add-limited-api-test

Conversation

@lazka

@lazka lazka commented Aug 21, 2023

Copy link
Copy Markdown
Member

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
lazka force-pushed the add-limited-api-test branch from 68fc140 to 2e31962 Compare August 23, 2023 15:23
@lazka

lazka commented Aug 23, 2023

Copy link
Copy Markdown
Member Author

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

lazka commented Jul 6, 2024

Copy link
Copy Markdown
Member Author

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