mirror of https://github.com/pypa/pip
Deprecate --skip-requirements-regex
This commit is contained in:
parent
7f8be22584
commit
a47fef71c2
|
@ -0,0 +1 @@
|
|||
Deprecate undocumented ``--skip-requirements-regex`` option.
|
|
@ -131,6 +131,17 @@ class Command(CommandContextMixIn):
|
|||
) + message
|
||||
deprecated(message, replacement=None, gone_in=None)
|
||||
|
||||
if options.skip_requirements_regex:
|
||||
deprecated(
|
||||
"--skip-requirements-regex is unsupported and will be removed",
|
||||
replacement=(
|
||||
"manage requirements/constraints files explicitly, "
|
||||
"possibly generating them from metadata"
|
||||
),
|
||||
gone_in="20.1",
|
||||
issue=7297,
|
||||
)
|
||||
|
||||
# TODO: Try to get these passing down from the command?
|
||||
# without resorting to os.environ to hold these.
|
||||
# This also affects isolated builds and it should.
|
||||
|
|
Loading…
Reference in New Issue