Skip to content

Commit 50e85e3

Browse files
committed
lock: emit an experimental warning
1 parent 5f9005d commit 50e85e3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/pip/_internal/commands/lock.py

+6
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,12 @@ def add_options(self) -> None:
9191
def run(self, options: Values, args: List[str]) -> int:
9292
logger.verbose("Using %s", get_pip_version())
9393

94+
logger.warning(
95+
"pip lock is currently an experimental command. "
96+
"It may be removed/changed in a future release "
97+
"without prior warning."
98+
)
99+
94100
session = self.get_default_session(options)
95101

96102
finder = self._build_package_finder(

0 commit comments

Comments
 (0)