When I install a local python package with pip 21.1 (pip install .
)I get a deprecation warning:
DEPRECATION: A future pip version will change local packages to be built in-place without first copying to a temporary directory. We recommend you use --use-feature=in-tree-build to test your packages with this new behavior before it becomes the default.
pip 21.3 will remove support for this functionality. You can find discussion regarding this at https://github.com/pypa/pip/issues/7555.
I do not understand what what means. Also, how can I fix it?
In short, my understanding:
To fix this and additional issues. they will change the behaviour of pip install. So to test if that will affect you in any way you can test it before by using --use-feature=in-tree-build
as described by @Jason Harrison.
As mentioned in the warning there is a github discussion which explains it in much more detail here.