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
I've recently started using Git Worktrees for a project that uses Poetry. I would like to create an environment in the bare base directory and reuse that within the worktrees instead of creating it new every time. Obviously I can just activate that environment by referring directly to the environment from the base directory. I wonder though if its possible to configure the pyproject.toml in a way that allows poetry to look for an environment with a specific name that does not change and therefore always point to the same virtual environment instance.
Pardon if that use case is already written down somewhere. In my quick look in the doc, I could not find anything for this.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everybody,
I've recently started using Git Worktrees for a project that uses Poetry. I would like to create an environment in the bare base directory and reuse that within the worktrees instead of creating it new every time. Obviously I can just activate that environment by referring directly to the environment from the base directory. I wonder though if its possible to configure the pyproject.toml in a way that allows poetry to look for an environment with a specific name that does not change and therefore always point to the same virtual environment instance.
Pardon if that use case is already written down somewhere. In my quick look in the doc, I could not find anything for this.
Best wishes
Philipp
Beta Was this translation helpful? Give feedback.
All reactions