I used to have hundreds of venv folders scattered around my machine. These days I use "uv run" or "uvx" or "uv run --with boto3 python" and uv handles all of the bookkeeping for me.
uv run --with boto3 python> The key issue uv solved wasn't dependencies, it was environments.
and not specific, niche features.
I don't know of such a command in Poetry, but it could still be solved with dev groups or running Python in the virtual environment and installing the package.