Documentation should mention variable expansion works only in [[source]] entries
See original GitHub issueAt least on Windows, in a file
string, environment variables are not being expanded.
_python-ldap = {platform_system = "== 'Windows'", file = "%USERPROFILE%/Downloads/python_ldap-3.1.0-cp36-cp36m-win_amd64.whl"}
WARNING: Invalid requirement, parse error at “‘%USERPRO’” ABORTING INSTALL… You will have to reinstall any packages that failed to install.
The same thing happens for ${USERPROFILE}
and $USERPROFILE
.
Python 3.6.5
Pipenv 2018.05.18
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:10 (8 by maintainers)
Top Results From Across the Web
Where variables can be used - GitLab Docs
The variable expansion is made by the execution shell environment. artifacts:name, yes, Runner, The variable expansion is made by GitLab Runner's shell ...
Read more >"Make" Variables | Bazel
"Make" variables are a special class of expandable string variables available to attributes marked as "Subject to 'Make variable' substitution". These can ......
Read more >Custom variables expansion — Dataiku DSS 11 documentation
Variables expansion in a mechanism in DSS that allows you to use some shared and reusable variables in several parts of the Studio....
Read more >Using Variables - Ansible Documentation
Defining variables at runtime You can define variables when you run your playbook by passing variables at the command line using the --extra-vars...
Read more >GNU make
Note that this rule not only is not a prerequisite, it also does not have any prerequisites, ... Then make will perform variable...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The documentation should make it clear that they only work in
[[source]]
. The whole section may even be redundant to the “Injecting credentials into Pipfiles via environment variables” section.The implementation uses
expandvars
, which (according to the documentation) accepts%...%
form on Windows. But yeah${...}
is probably better if you want to do this on multiple platforms.Reopening (and changing the title) to track the doc amendment.