inveniosoftware / inveniosoftware/invenio-cli

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

Open
#413 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
14
Forks
49
PR merge metrics
No merged PRs in 30d

Description

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](https://www.hyrumslaw.com/), so I can probably live with whatever decision. Should be communicated in release notes at least if same behavior not kept.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.