You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Using tox (or any venv in the same directory as the meson.build/pyproject.toml) with meson and trying to link with any dependencies (e.g. numpy) causes the "Tried to form an absolute path to a dir in the source tree." error. Given the substantial ecosystem build around having the venv in-tree, either having the venv auto-detected and ignored (especially given this is where the files are going to be installed), or being able to mark the directory as ignored, seems like a better use of effort than trying to change the python ecosystem.
Describe the bug
Using tox (or any venv in the same directory as the meson.build/pyproject.toml) with meson and trying to link with any dependencies (e.g. numpy) causes the "Tried to form an absolute path to a dir in the source tree." error. Given the substantial ecosystem build around having the venv in-tree, either having the venv auto-detected and ignored (especially given this is where the files are going to be installed), or being able to mark the directory as ignored, seems like a better use of effort than trying to change the python ecosystem.
To Reproduce
Minimal example at https://github.com/aragilar/meson-tox-example
Expected behavior
tox and meson do not conflict, and build succeed in the same as if the venv was somewhere else (e.g. in the user's home directory).
system parameters
meson --version
ninja --version
if it's a Ninja buildThe text was updated successfully, but these errors were encountered: