meson: Building scipy with PyPy fails on windows
The error is
Could not find Python3 library ‘c:\hostedtoolcache\windows\pypy\3.8.12\x86\python38.dll’
The correct dll name is libpypy3-c.dll
, but shouldn’t the compiler be MSVC and the library it is looking for be the MSVC import library which is c:\\hostedtoolcache\\windows\\pypy\\3.8.12\\x86\\libs\python3.8.lib
(like CPython)?
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 26 (26 by maintainers)
As mentioned in #8570 the two issues are different, because that was originally reported on Linux and is about link_libpython being false on Linux, but still leading to detection failure.
On Windows, symbols need to be resolved in built extensions, so link_libpython is true, which means that the PyPy link library does need to be found there. Hence detection failure is actually correct right now.