Skip to content

Add option to use a relative dependency cooldown period (--exclude-newer) #908

Description

@ogrisel

Checklist

  • I added a descriptive title
  • I searched open requests and couldn't find a duplicate

What is the idea?

Once mamba introduces support for it (mamba-org/mamba#4254 mamba-org/mamba#4228) it would be nice to allow conda-lock to leverage this option to generate lock files that do not include any recently published package at the time of the command execution.

Why is this needed?

This will help reduce exposure to OSS supply chain attacks by giving more time for security researchers and project maintainers to detect and yank packages that are corrupted with malware.

What should happen?

A CLI option named -exclude-newer that follows the equivalent options in conda & mamba.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions