Skip to content

Pain Points with git worktree #550

Answered by dnicolodi
jbrockmendel asked this question in Q&A
Discussion options

You must be logged in to vote

IIUC meson is symlinking [mumble] into site-packages,

meson-python editable installs do not symlink anything into site-packages. meson-python editable installs produce wheels that contain a custom Python module loader that loads code from the project build and source directory. Only one editable wheel for a given package can be installed in an a Python environment. Therefore you can have only one editable build linked into a Python environment.

The solution is to use a different venv for each version of the code you want to test.

which didn't use to happen with python setup.py build_ext --inplace

In-place builds and editable installs are not the same thing. meson-python does not suppo…

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@rgommers
Comment options

@eli-schwartz
Comment options

@jbrockmendel
Comment options

Answer selected by rgommers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
4 participants
Converted from issue

This discussion was converted from issue #549 on December 09, 2023 17:22.