wooden-dentist-97629
08/08/2022, 1:16 AMrequirements.txt
with a GIT_TOKEN
env variable that usually get expanded when using pip. For example:
my-lib@$GIT_TOKEN@github.com/my-org/my-lib.git@v1.0.0
but when trying to use the python_sources
I get a ValueError
saying it's an invalid URL. What's the best way to tackle this?hundreds-father-404
08/08/2022, 3:05 AMworkaround_for_git_token()
, i.e. the name of your target generator, which will create a python_requirement
target
I'm happy to give more detailed instructions if that approach sounds viable and you're not sure how to proceedfreezing-lamp-12123
08/08/2022, 6:14 AMhappy-kitchen-89482
08/08/2022, 12:15 PMwooden-dentist-97629
08/12/2022, 11:08 PMpoetry_requirements
with the dependency declared as a path, but I'm guessing for PEX lockfile to work with relative paths I would need to instead declare the dependency explicitly in the BUILD
file or something similar?hundreds-father-404
08/13/2022, 1:05 PM[python-repos].repos
(aka --find-links
) to host the files, although I'm tbh not totally sure how to do that