I have a project and an existing virtual environment created with poetry (poetry install/init). So, as far as I know, the purpouse of a virtual environment is avoiding to modify the system base environment and the possibility of isolation (per project, per development, per system etc...).
How can I create another brand new environment for my project in poetry? How can I eventually duplicate and use an existing one?
I mean that the current one (activated) should be not involved in this (except for eventually copying it) because I want to test another set of dependencies and code.
I am aware of this:
- https://github.com/python-poetry/poetry/issues/4055 (answer is not clear and ticket is not closed)
- https://python-poetry.org/docs/managing-environments/ (use command seems not to work in the requested way)