Files
pipenv/news/+cool-down-period.feature.rst
Oz Tiram cff758f706 feat: support cool-down-period in [pipenv] section
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>
2026-05-02 10:44:53 +00:00

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.