Closed lazka closed 1 year ago
@naveen521kk do you have any ideas?
I guess related to getpath.py?
Setting PYTHONVERBOSE shows some differences with site packages, but this could be unrelated:
$ python3 -c "import site; print(site.getsitepackages())"
['C:/msys64/ucrt64/lib/python3.11/site-packages', 'C:\\msys64\\ucrt64/lib/python3.11/site-packages']
$ MSYSTEM= python3 -c "import site; print(site.getsitepackages())"
['C:\\msys64\\ucrt64\\lib\\python3.11\\site-packages']
edit: I think that is because sys.prefix
and sys.exec_prefix
don't match with MSYSTEM set, so maybe unrelated
-> https://github.com/msys2-contrib/cpython-mingw/issues/142
I've created a meson branch to skip the failing test, in case we update before this is fixed: https://github.com/lazka/meson/tree/msys2-python311-upgrade
edit: we did, so https://github.com/mesonbuild/meson/pull/12049
Noticed because this makes one test in the meson test suite fail:
With Python 3.11.4 and empty MSYSTEM things fail:
With Python 3.10.12 both cases work: