Skip to content

Commit e7ca74b

Browse files
authored
Add warning about ~/.netrc for Poetry credential configuration (#10630)
1 parent d29c2c0 commit e7ca74b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/repositories.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ Then, assuming the repository requires authentication, configure credentials for
4141
```bash
4242
poetry config http-basic.foo <username> <password>
4343
```
44+
{{% warning %}}
45+
If you have completed configuring credentials and are receiving authorization failures, check for the presence of `~/.netrc`, which has been known to conflict with Poetry's configured authentication.
46+
{{% /warning %}}
4447

4548
{{% warning %}}
4649
Depending on your system configuration, credentials might be saved in your command line history.

0 commit comments

Comments
 (0)