meson/test cases/python3
Christoph Reiter 6671b7359f tests: fix "4 custom target depends extmodule" with Python 3.8+ on Windows
Since CPython 3.8 .pyd files no longer look in PATH for loading libraries,
but require the DLL directory to be explicitely added via os.add_dll_directory().
This resulted in those tests failing with 3.8+ on Windows.

Add the DLL build directory with os.add_dll_directory() to fix them.

This was never noticed in CI because it only uses Python 3.7 and the
MSYS2 CPython still used the old behaviour until now.
2023-08-08 16:32:39 -04:00
..
1 basic Fix purelib and platlib validation in Python3 module. 2022-04-20 16:13:58 -04:00
2 extmodule mass rewrite of string formatting to use f-strings everywhere 2021-03-04 17:16:11 -05:00
3 cython tests: fix edge case where non-default python is used, by skipping it 2022-11-14 19:16:57 -05:00
4 custom target depends extmodule tests: fix "4 custom target depends extmodule" with Python 3.8+ on Windows 2023-08-08 16:32:39 -04:00