Skip to content

uv does not auto-load .env files like pipenv did #413

@fenekku

Description

@fenekku

Package version (if known): 1.9

Describe the bug

When pipenv is used as the python package manager, any local .env file is automatically loaded by pipenv run operations. It's not the case for uv run operations. The .env file is not loaded automatically unless export UV_ENV_FILE=.env.

This might be a case of Hyrum's law, so I can probably live with whatever decision. Should be communicated in release notes at least if same behavior not kept.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions