mirror of https://github.com/pypa/pip
Compare commits
8 Commits
1faf81df78
...
e834e03c83
Author | SHA1 | Date |
---|---|---|
Roberto Polli | e834e03c83 | |
Tzu-ping Chung | a15dd75d98 | |
Tzu-ping Chung | d8ab6dc6c1 | |
Qiming Xu | fe10d368f6 | |
Qiming Xu | 28250baffb | |
Qiming Xu | 88ac529219 | |
Roberto Polli | 7222bb2a10 | |
Roberto Polli | 0872b5193a |
|
@ -45,8 +45,8 @@ When looking at the items to be installed, pip checks what type of item
|
|||
each is, in the following order:
|
||||
|
||||
1. Project or archive URL.
|
||||
2. Local directory (which must contain a ``setup.py``, or pip will report
|
||||
an error).
|
||||
2. Local directory (which must contain a ``pyproject.toml`` or ``setup.py``,
|
||||
otherwise pip will report an error).
|
||||
3. Local file (a sdist or wheel format archive, following the naming
|
||||
conventions for those formats).
|
||||
4. A requirement, as specified in :pep:`440`.
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Fix outdated pip install argument description in documentation.
|
|
@ -0,0 +1 @@
|
|||
Mask the user when the password is empty.
|
|
@ -507,12 +507,13 @@ def redact_netloc(netloc: str) -> str:
|
|||
|
||||
For example:
|
||||
- "user:pass@example.com" returns "user:****@example.com"
|
||||
- "user:@example.com" returns "****@example.com"
|
||||
- "accesstoken@example.com" returns "****@example.com"
|
||||
"""
|
||||
netloc, (user, password) = split_auth_from_netloc(netloc)
|
||||
if user is None:
|
||||
return netloc
|
||||
if password is None:
|
||||
if not password:
|
||||
user = "****"
|
||||
password = ""
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue