mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Deprecate custom progress bar styles
Maintaining these is not particularly useful, since the progress bar provided by rich is capable of degrading gracefully to ASCII and alternative styles provided today aren't particularly usable either.
This commit is contained in:
parent
a330ea462f
commit
f1c36f4eab
1 changed files with 7 additions and 0 deletions
|
@ -276,6 +276,13 @@ class RequirementCommand(IndexGroupCommand):
|
|||
gone_in="22.1",
|
||||
)
|
||||
|
||||
if options.progress_bar not in {"on", "off"}:
|
||||
deprecated(
|
||||
reason="Custom progress bar styles are deprecated",
|
||||
replacement="to use the default progress bar style.",
|
||||
gone_in="22.1",
|
||||
)
|
||||
|
||||
return RequirementPreparer(
|
||||
build_dir=temp_build_dir_path,
|
||||
src_dir=options.src_dir,
|
||||
|
|
Loading…
Reference in a new issue