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

Support environment variables in index URLs in requirements files #2036

Merged
merged 3 commits into from
Feb 28, 2024

Conversation

charliermarsh
Copy link
Member

Summary

This also preserves the environment variables in the output file, e.g.:

Resolved 1 package in 216ms
# This file was autogenerated by uv via the following command:
#    uv pip compile requirements.in --emit-index-url
--index-url https://test.pypi.org/${SUFFIX}

requests==2.5.4.1

I'm torn on whether that's correct or undesirable here.

Closes #2035.

@charliermarsh charliermarsh added bug Something isn't working compatibility Compatibility with a specification or another tool labels Feb 28, 2024
@charliermarsh charliermarsh force-pushed the charlie/verbatim branch 3 times, most recently from 86313c8 to 655d3ae Compare February 28, 2024 19:30
@charliermarsh charliermarsh enabled auto-merge (squash) February 28, 2024 19:33
@charliermarsh charliermarsh merged commit b873e3e into main Feb 28, 2024
7 checks passed
@charliermarsh charliermarsh deleted the charlie/verbatim branch February 28, 2024 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working compatibility Compatibility with a specification or another tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Respect environment variables in index URLs provided via requirements.txt
2 participants