Skip to content

TST: abi3t test extension needs to be updated once meson abi3t support improves #31587

@ngoldbaum

Description

@ngoldbaum

Currently our test extension manually sets Py_TARGET_ABI3T because meson doesn't yet officially support abi3t and this causes issues. Once meson and meson-python gain a UI for creating abi3t extensions, we need to update our tests to use that API:

'-DPy_TARGET_ABI3T=0x030F0000',

Additionally, we should remove the skips for GIL-enabled Python on Windows whenever meson adds support for the new python3t.lib and python3t.dll files in the Windows distribution.

(host_machine.system() != 'windows' or (py.get_variable('Py_GIL_DISABLED', 0) == 1))

@pytest.mark.skipif(
sys.platform == "win32" and not sysconfig.get_config_var('Py_GIL_DISABLED'),
reason=("Meson does not yet support building abi3t extensions on the "
"GIL-enabled build")

Metadata

Metadata

Assignees

No one assigned

    Labels

    05 - Testing36 - BuildBuild related PR39 - free-threadingPRs and issues related to support for free-threading CPython (a.k.a. no-GIL, PEP 703)

    Type

    No fields configured for Task.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions