Skip to content

Commit e36f0c1

Browse files
authored
Update uv's JSON schema (SchemaStore#5232)
This updates uv's JSON schema to [44d1a302c885d034c7712834270e34706b2d1de5](astral-sh/uv@44d1a30)
1 parent 7172903 commit e36f0c1

File tree

1 file changed

+27
-8
lines changed

1 file changed

+27
-8
lines changed

src/schemas/json/uv.json

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@
176176
}
177177
},
178178
"exclude-newer": {
179-
"description": "Limit candidate packages to those that were uploaded prior to a given point in time.\n\nAccepts a superset of [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339.html) (e.g.,\n`2006-12-02T02:07:43Z`). A full timestamp is required to ensure that the resolver will\nbehave consistently across timezones.",
179+
"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.",
180180
"anyOf": [
181181
{
182182
"$ref": "#/definitions/ExcludeNewerTimestamp"
@@ -187,7 +187,7 @@
187187
]
188188
},
189189
"exclude-newer-package": {
190-
"description": "Limit candidate packages for specific packages to those that were uploaded prior to the given date.\n\nAccepts package-date pairs in a dictionary format.",
190+
"description": "Limit candidate packages for specific packages to those that were uploaded prior to the\ngiven date.\n\nAccepts a dictionary format of `PACKAGE = \"DATE\"` pairs, where `DATE` is an RFC 3339\ntimestamp (e.g., `2006-12-02T02:07:43Z`), a \"friendly\" duration (e.g., `24 hours`, `1 week`,\n`30 days`), or a 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.",
191191
"anyOf": [
192192
{
193193
"$ref": "#/definitions/ExcludeNewerPackage"
@@ -416,7 +416,7 @@
416416
]
417417
},
418418
"python-downloads-json-url": {
419-
"description": "URL pointing to JSON of custom Python installations.\n\nNote that currently, only local paths are supported.",
419+
"description": "URL pointing to JSON of custom Python installations.",
420420
"type": ["string", "null"]
421421
},
422422
"python-install-mirror": {
@@ -485,6 +485,17 @@
485485
}
486486
]
487487
},
488+
"torch-backend": {
489+
"description": "The backend to use when fetching packages in the PyTorch ecosystem.\n\nWhen set, uv will ignore the configured index URLs for packages in the PyTorch ecosystem,\nand will instead use the defined backend.\n\nFor example, when set to `cpu`, uv will use the CPU-only PyTorch index; when set to `cu126`,\nuv will use the PyTorch index for CUDA 12.6.\n\nThe `auto` mode will attempt to detect the appropriate PyTorch index based on the currently\ninstalled CUDA drivers.\n\nThis setting is only respected by `uv pip` commands.\n\nThis option is in preview and may change in any future release.",
490+
"anyOf": [
491+
{
492+
"$ref": "#/definitions/TorchMode"
493+
},
494+
{
495+
"type": "null"
496+
}
497+
]
498+
},
488499
"trusted-publishing": {
489500
"description": "Configure trusted publishing.\n\nBy default, uv checks for trusted publishing when running in a supported environment, but\nignores it if it isn't configured.\n\nuv's supported environments for trusted publishing include GitHub Actions and GitLab CI/CD.",
490501
"anyOf": [
@@ -628,7 +639,7 @@
628639
"default": false
629640
},
630641
"source-exclude": {
631-
"description": "Glob expressions which files and directories to exclude from the source distribution.",
642+
"description": "Glob expressions which files and directories to exclude from the source distribution.\n\nThese exclusions are also applied to wheels to ensure that a wheel built from a source tree\nis consistent with a wheel built from a source distribution.",
632643
"type": "array",
633644
"default": [],
634645
"items": {
@@ -765,9 +776,8 @@
765776
}
766777
},
767778
"ExcludeNewerTimestamp": {
768-
"description": "Exclude distributions uploaded after the given timestamp.\n\nAccepts both RFC 3339 timestamps (e.g., `2006-12-02T02:07:43Z`) and local dates in the same format (e.g., `2006-12-02`).",
769-
"type": "string",
770-
"pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}:\\d{2}(Z|[+-]\\d{2}:\\d{2}))?$"
779+
"description": "Exclude distributions uploaded after the given timestamp.\n\nAccepts both RFC 3339 timestamps (e.g., `2006-12-02T02:07:43Z`) and local dates in the same format (e.g., `2006-12-02`), as well as relative durations (e.g., `1 week`, `30 days`, `6 months`). Relative durations are resolved to a timestamp at lock time.",
780+
"type": "string"
771781
},
772782
"ExtraBuildDependencies": {
773783
"type": "object",
@@ -1448,7 +1458,7 @@
14481458
"type": ["string", "null"]
14491459
},
14501460
"torch-backend": {
1451-
"description": "The backend to use when fetching packages in the PyTorch ecosystem.\n\nWhen set, uv will ignore the configured index URLs for packages in the PyTorch ecosystem,\nand will instead use the defined backend.\n\nFor example, when set to `cpu`, uv will use the CPU-only PyTorch index; when set to `cu126`,\nuv will use the PyTorch index for CUDA 12.6.\n\nThe `auto` mode will attempt to detect the appropriate PyTorch index based on the currently\ninstalled CUDA drivers.\n\nThis option is in preview and may change in any future release.",
1461+
"description": "The backend to use when fetching packages in the PyTorch ecosystem.\n\nWhen set, uv will ignore the configured index URLs for packages in the PyTorch ecosystem,\nand will instead use the defined backend.\n\nFor example, when set to `cpu`, uv will use the CPU-only PyTorch index; when set to `cu126`,\nuv will use the PyTorch index for CUDA 12.6.\n\nThe `auto` mode will attempt to detect the appropriate PyTorch index based on the currently\ninstalled CUDA drivers.\n\nThis setting is only respected by `uv pip` commands.\n\nThis option is in preview and may change in any future release.",
14521462
"anyOf": [
14531463
{
14541464
"$ref": "#/definitions/TorchMode"
@@ -1681,6 +1691,10 @@
16811691
}
16821692
]
16831693
},
1694+
"lfs": {
1695+
"description": "Whether to use Git LFS when cloning the repository.",
1696+
"type": ["boolean", "null"]
1697+
},
16841698
"marker": {
16851699
"$ref": "#/definitions/MarkerTree"
16861700
},
@@ -2324,6 +2338,11 @@
23242338
"type": "string",
23252339
"const": "cu80"
23262340
},
2341+
{
2342+
"description": "Use the PyTorch index for ROCm 6.4.",
2343+
"type": "string",
2344+
"const": "rocm6.4"
2345+
},
23272346
{
23282347
"description": "Use the PyTorch index for ROCm 6.3.",
23292348
"type": "string",

0 commit comments

Comments
 (0)