Skip to content

Commit dba723c

Browse files
committed
Add exclude-newer-than to the lock command
1 parent 57e4210 commit dba723c

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
@@ -68,6 +68,7 @@ def add_options(self) -> None:
6868
self.cmd_opts.add_option(cmdoptions.src())
6969

7070
self.cmd_opts.add_option(cmdoptions.ignore_requires_python())
71+
self.cmd_opts.add_option(cmdoptions.exclude_newer_than())
7172
self.cmd_opts.add_option(cmdoptions.no_build_isolation())
7273
self.cmd_opts.add_option(cmdoptions.use_pep517())
7374
self.cmd_opts.add_option(cmdoptions.no_use_pep517())

0 commit comments

Comments
 (0)