Skip to content

Invalid exclude-newer type in JSON Schema #17103

@eggplants

Description

@eggplants

Summary

uv/uv.schema.json

Lines 216 to 226 in 5a55bbe

"exclude-newer": {
"description": "Limit candidate packages to those that were uploaded prior to the given date.\n\nAccepts RFC 3339 timestamps (e.g., `2006-12-02T02:07:43Z`), a \"friendly\" duration (e.g.,\n`24 hours`, `1 week`, `30 days`), or an ISO 8601 duration (e.g., `PT24H`, `P7D`, `P30D`).\n\nDurations do not respect semantics of the local time zone and are always resolved to a fixed\nnumber of seconds assuming that a day is 24 hours (e.g., DST transitions are ignored).\nCalendar units such as months and years are not allowed.",
"anyOf": [
{
"$ref": "#/definitions/ExcludeNewerTimestamp"
},
{
"type": "null"
}
]
},

a "friendly" duration (e.g., 24 hours, 1 week, 30 days), or an ISO 8601 duration (e.g., PT24H, P7D, P30D)

They are not contained in ExcludeNewerTimestamp | null.

Platform

Linux 6.17.8-orbstack-00308-g8f9c941121b1 aarch64 GNU/Linux

Version

uv 0.9.17

Python version

Python 3.14.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions