Support using env vars in pip requirements.txt
files (for GitHub PATs for private repositories)
#262
Labels
requirements.txt
files (for GitHub PATs for private repositories)
#262
Required Terms
What service(s) is this request for?
No response
Tell us about what you're trying to solve. What challenges are you facing?
Heroku doesn't seem to support personal access tokens for private GitHub repositories in
requirements.txt
for Python. I tried setting my GitHub PAT as a config var but got hit with "fatal: could not read Password for 'https://${GITHUB_PAT}@github.com': No such device or address" in the build log.In the docs, Heroku suggests using HTTP Basic Authentication through the user:password format. However, this method has been deprecated on GitHub since 2021.
Is there any reason why Heroku can't do this natively? Any help would be appreciated.
The text was updated successfully, but these errors were encountered: