Skip to content

Commit dd6c4ad

Browse files
authored
Remove section about non-existing --force-keyring flag (#12455)
I must have messed up while merging/rebasing at some point...
1 parent c10dda5 commit dd6c4ad

File tree

2 files changed

+1
-19
lines changed

2 files changed

+1
-19
lines changed

docs/html/topics/authentication.md

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -163,25 +163,6 @@ from the subprocess in which they run Pip. You won't know whether the keyring
163163
backend is waiting the user input or not in such situations.
164164
```
165165

166-
pip is conservative and does not query keyring at all when `--no-input` is used
167-
because the keyring might require user interaction such as prompting the user
168-
on the console. You can force keyring usage by passing `--force-keyring` or one
169-
of the following:
170-
171-
```bash
172-
# possibly with --user, --global or --site
173-
$ pip config set global.force-keyring true
174-
# or
175-
$ export PIP_FORCE_KEYRING=1
176-
```
177-
178-
```{warning}
179-
Be careful when doing this since it could cause tools such as pipx and Pipenv
180-
to appear to hang. They show their own progress indicator while hiding output
181-
from the subprocess in which they run Pip. You won't know whether the keyring
182-
backend is waiting the user input or not in such situations.
183-
```
184-
185166
Note that `keyring` (the Python package) needs to be installed separately from
186167
pip. This can create a bootstrapping issue if you need the credentials stored in
187168
the keyring to download and install keyring.

news/12455.doc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Removed section about non-existing ``--force-keyring`` flag.

0 commit comments

Comments
 (0)