I have a tilt environment spinning up a docker container that has a private repository as a dependency that looks something like
some_dep @ git+https://${USER}:${SECRET}@github.com/user/[email protected] in my requirements.in.
I have a cmd_button to run a script that sets up an environment within tilt & runs pip-compile --allow-unsafe requirements.in . (I would like to use --generate-hashes, but tags are apparently unhashable, planning on referencing a tar.gz as I believe that's hashable, but niether here nor there. A later me problem)
I have confirmed USER & SECRET are properly loaded into the script's environment, but when pip-compile is ran ${VARS} never expands, so the generation of requirements.txt fails. Hard coding the values works, but that's not a solution here. This issue https://github.com/jazzband/pip-tools/issues/966 is my intended behavior.