You don't even need to edit any files yourself for most simple use cases.
uv init
uv add package
uv run program.py
That's it.
If you inherit a codebase made this way from someone else, merely running uv run program.py will automatically create, launch the venv, configure packages, run your script, seamlessly on first launch.
Uv lets you almost forget virtual environments exist. Almost.
Yep. Poetry was such a delightful upgrade from pipenv, which we’d tested as an upgrade from bare pip, which didn’t have a dependency resolver at the time. If someone’s already fully bought in on poetry, that’d be the one case where I could plausibly imagine them wanting to leave well enough alone.
For everyone else, just try uv and don’t look back.
Poetry which I think is the closest analogue, still requires a [tool.poetry.depenencies] section afaik.