Add Personal Access Token Authentication Support
See original GitHub issue- I have searched the issues of this repo and believe that this is not a duplicate.
- I have searched the documentation and believe that my question is not covered.
Feature Request
I’m using personal access token for installing private git repositories. However, It isn’t supported by poetry.
You can see the error below.
$ poetry add git+https://MY_TOKEN:x-oauth-basic@github.com/efe/my-private-repository.git
[ValueError]
Could not parse version constraint: //MY_TOKEN:x-oauth-basic@github.com/efe/my-private-repository.git
add [-D|--dev] [--git GIT] [--path PATH] [-E|--extras EXTRAS] [--optional] [--python PYTHON] [--platform PLATFORM] [--allow-prereleases] [--dry-run] [--] <name> (<name>)...
Issue Analytics
- State:
- Created 3 years ago
- Reactions:19
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Creating a personal access token - GitHub Docs
Personal access token are an alternative to using passwords for authentication to GitHub when using the GitHub API or the command line. Personal...
Read more >Create a GitHub Personal Access Token example | TechTarget
The GitHub personal access token replaces your password. Any operation like a Git push that requires credentials prompts you for your username ...
Read more >Message "Support for password authentication was removed ...
You need to add a PAT (Personal Access Token) instead, ... go to menu Git → pull and select authentication via Personal Access...
Read more >How to Set Up HTTPS Personal Access Tokens for Github ...
Setting up a PAT will require you to make a new one from Github's settings, and swap your local repositories over to using...
Read more >Introducing fine-grained personal access tokens for GitHub
Fine-grained personal access tokens offer enhanced security to developers and organization owners, to reduce the risk to your data of ...
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 Free
Top 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
So just to verify, there is still no way to use GitHub personal access tokens in Poetry dependencies? If so, that’s a pretty huge blocker for us.
Facing the same issue on 1.1.0.