Skip to content

Allow relative exclude-newer values like "one week ago"Β #14992

@GeoVizNow

Description

@GeoVizNow

Summary

I am not very experienced with uv yet, but see great benefits with what I have tried.

Benefit of adding functionality to parse natural date into exclude-newer would be to easily be able to keep uv from puling very freshly published dependencies in case of yet to be detected malware.

I would really appreciated to be able to state in pyproject.toml something like below, example:

[tool.uv]
exclude-newer = "one week ago"

or

[tool.uv]
exclude-newer = "14 days ago"

I do not know if this is hard to implement and if it is inconsistent with other configurations. E.g. one would not want this filter to apply for an editable package under development.

Would be interesting to hear your thoughts on this or if this is already being discussed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or improvement to existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions