-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Expand environment variables in path field #3746
Comments
Would be nice to have this feature.
|
This seems not true regarding #3751 |
@frostming, https://pipenv.readthedocs.io/en/latest/advanced/#support-for-environment-variables
|
@andyneff It seems that
|
I am having the same problem trying to insert GitLab token on the URL. Pipfile
tried changing the key ERROR:
|
@bkemmer Your Pipfile is not valid, |
bit of a workaround but I managed to do environment variable substitution with this: check https://github.com/a8m/envsubst for details on installing the tool |
Can this issue be rechecked on the latest |
It would be nice if the injection of environment variables worked for the path variable too
@njgrisafi from #1688
Is your feature request related to a problem? Please describe.
Environment expansion does not work for
path
orfile
as observed in #2317Describe the solution you'd like
I'd like the variable expansion to work for the path/file fields. Unfortunately, this probably involves an expansion in the
Pipfile.lock
too, so that both can truly be portable with respect to the environment variableDescribe alternatives you've considered
I tried this in
pipenv/project.py
as a failed POC.I will have to use symlinks in the meantime
The text was updated successfully, but these errors were encountered: