1
1
Fork 0
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:
Pradyun Gedam 2021-11-06 09:05:50 +00:00
parent a330ea462f
commit f1c36f4eab
No known key found for this signature in database
GPG key ID: FF99710C4332258E

View file

@ -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,