Python venv setup does not allow active code development
In our current dune-venv
setup the packages installed are not replaced/updated upon configuring once the source files changed. Running the appropriate CMake command with ADDITIONAL_PIP_PARAMS --force-reinstall --upgrade --no-deps
always upgrades the packages, but won't install any required packages that could be retrieved from the web.
--upgrade
alone does not work because pip
is not able to reinstall other Dune module dependencies.
--force-reinstall
alone dubiously seems to have no effect at all.
One workaround might be to place all requirements into a requirements.txt
file again, like before. However, it remains unclear then how --upgrade
can be called if another Dune Python module is specifically required.
see Issue 81 on dune-common for reference