mirror of
https://github.com/pypa/pipenv.git
synced 2026-05-06 08:26:42 -04:00
cff758f706
Reads the new `cool-down-period = "<n>d"` Pipfile setting introduced in plette 2.2.1 and forwards it to pip's `--uploaded-prior-to P<n>D` flag during dependency resolution, restricting the resolver to package versions uploaded at least N days ago. Includes unit tests for the arg-conversion helper and the injection into `extra_pip_args`, an integration test verifying the lock succeeds with the setting present, and documentation in docs/pipfile.md. Signed-off-by: Oz Tiram <oz.tiram@gmail.com>
5 lines
269 B
ReStructuredText
5 lines
269 B
ReStructuredText
Added support for ``cool-down-period`` in the ``[pipenv]`` section of the Pipfile.
|
|
Setting ``cool-down-period = "30d"`` instructs the resolver to only consider
|
|
package versions uploaded at least the specified number of days ago, via pip's
|
|
``--uploaded-prior-to`` flag.
|