Skip to content

Commit 4713c6d

Browse files
committed
Add exclude-newer-than to the lock command
1 parent 6cf2bec commit 4713c6d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pip/_internal/commands/lock.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ def add_options(self) -> None:
6767
self.cmd_opts.add_option(cmdoptions.src())
6868

6969
self.cmd_opts.add_option(cmdoptions.ignore_requires_python())
70+
self.cmd_opts.add_option(cmdoptions.exclude_newer_than())
7071
self.cmd_opts.add_option(cmdoptions.no_build_isolation())
7172
self.cmd_opts.add_option(cmdoptions.use_pep517())
7273
self.cmd_opts.add_option(cmdoptions.no_use_pep517())

0 commit comments

Comments
 (0)