Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept multiple .env files in --env-file #8463

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

charliermarsh
Copy link
Member

Summary

Closes #8457.

@charliermarsh charliermarsh changed the base branch from main to tracking/050 October 22, 2024 15:01
@charliermarsh charliermarsh added the enhancement New feature or improvement to existing functionality label Oct 22, 2024
@charliermarsh charliermarsh merged commit 87a5a46 into tracking/050 Oct 22, 2024
61 of 63 checks passed
@charliermarsh charliermarsh deleted the charlie/multi-env branch October 22, 2024 15:15
zanieb pushed a commit that referenced this pull request Oct 22, 2024
@zanieb zanieb mentioned this pull request Oct 22, 2024
zanieb pushed a commit that referenced this pull request Oct 24, 2024
@zanieb zanieb mentioned this pull request Oct 24, 2024
zanieb pushed a commit that referenced this pull request Oct 25, 2024
zanieb pushed a commit that referenced this pull request Oct 25, 2024
charliermarsh added a commit that referenced this pull request Oct 28, 2024
zanieb pushed a commit that referenced this pull request Oct 29, 2024
zanieb pushed a commit that referenced this pull request Nov 4, 2024
charliermarsh added a commit that referenced this pull request Nov 4, 2024
charliermarsh added a commit that referenced this pull request Nov 4, 2024
## Summary

This PR pulls in #8263 and
#8463, which were originally merged
into the v0.5 tracking branch but can now be committed separately, as
we've made `.env` loading opt-in.

In summary:

- `.env` loading is now opt-in (`--env-file .env`).
- `.env` remains supported on `uv run`, so it's meant for providing
environment variables to the run command, rather than to uv itself.

---------

Co-authored-by: Eduardo González Vaquero <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

uv run should accept multiple .env files
1 participant