News for hackers. Stuff that matters.
Re:Pyenv – lets you easily switch between multiple versions ... by Hackbraten on Tuesday March 26, 2024 @01:07PM (#39830257)
> Now you […] need to keep track of updating all of those poetry installs.

You’re absolutely right.

On second thought, I guess I only need these Poetry installs just once anyway: for creating the venv and then never again. That’s not worth it.

So here’s a new method that does away with these extra Poetry installs:

    pyenv exec python -m venv .venv && poetry install
assuming that a `poetry.toml` exists with `virtualenvs.in-project` set to `true`.

Going to adopt this variant from now on, I guess. Thank you for your thoughts!

There are no comments on this comment yet.