|
179 | 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.", |
180 | 180 | "anyOf": [ |
181 | 181 | { |
182 | | - "$ref": "#/definitions/ExcludeNewerTimestamp" |
| 182 | + "$ref": "#/definitions/ExcludeNewerValue" |
183 | 183 | }, |
184 | 184 | { |
185 | 185 | "type": "null" |
|
244 | 244 | } |
245 | 245 | ] |
246 | 246 | }, |
| 247 | + "http-proxy": { |
| 248 | + "description": "The URL of the HTTP proxy to use.", |
| 249 | + "anyOf": [ |
| 250 | + { |
| 251 | + "$ref": "#/definitions/ProxyUrl" |
| 252 | + }, |
| 253 | + { |
| 254 | + "type": "null" |
| 255 | + } |
| 256 | + ] |
| 257 | + }, |
| 258 | + "https-proxy": { |
| 259 | + "description": "The URL of the HTTPS proxy to use.", |
| 260 | + "anyOf": [ |
| 261 | + { |
| 262 | + "$ref": "#/definitions/ProxyUrl" |
| 263 | + }, |
| 264 | + { |
| 265 | + "type": "null" |
| 266 | + } |
| 267 | + ] |
| 268 | + }, |
247 | 269 | "index": { |
248 | 270 | "description": "The indexes to use when resolving dependencies.\n\nAccepts either a repository compliant with [PEP 503](https://peps.python.org/pep-0503/)\n(the simple repository API), or a local directory laid out in the same format.\n\nIndexes are considered in the order in which they're defined, such that the first-defined\nindex has the highest priority. Further, the indexes provided by this setting are given\nhigher priority than any indexes specified via [`index_url`](#index-url) or\n[`extra_index_url`](#extra-index-url). uv will only consider the first index that contains\na given package, unless an alternative [index strategy](#index-strategy) is specified.\n\nIf an index is marked as `explicit = true`, it will be used exclusively for the\ndependencies that select it explicitly via `[tool.uv.sources]`, as in:\n\n```toml\n[[tool.uv.index]]\nname = \"pytorch\"\nurl = \"https://download.pytorch.org/whl/cu121\"\nexplicit = true\n\n[tool.uv.sources]\ntorch = { index = \"pytorch\" }\n```\n\nIf an index is marked as `default = true`, it will be moved to the end of the prioritized list, such that it is\ngiven the lowest priority when resolving packages. Additionally, marking an index as default will disable the\nPyPI default index.", |
249 | 271 | "type": ["array", "null"], |
|
286 | 308 | ] |
287 | 309 | }, |
288 | 310 | "link-mode": { |
289 | | - "description": "The method to use when installing packages from the global cache.\n\nDefaults to `clone` (also known as Copy-on-Write) on macOS, and `hardlink` on Linux and\nWindows.\n\nWARNING: The use of symlink link mode is discouraged, as they create tight coupling between\nthe cache and the target environment. For example, clearing the cache (`uv cache clean`)\nwill break all installed packages by way of removing the underlying source files. Use\nsymlinks with caution.", |
| 311 | + "description": "The method to use when installing packages from the global cache.\n\nDefaults to `clone` (also known as Copy-on-Write) on macOS and Linux, and `hardlink` on\nWindows.\n\nWARNING: The use of symlink link mode is discouraged, as they create tight coupling between\nthe cache and the target environment. For example, clearing the cache (`uv cache clean`)\nwill break all installed packages by way of removing the underlying source files. Use\nsymlinks with caution.", |
290 | 312 | "anyOf": [ |
291 | 313 | { |
292 | 314 | "$ref": "#/definitions/LinkMode" |
|
345 | 367 | "description": "Ignore all registry indexes (e.g., PyPI), instead relying on direct URL dependencies and\nthose provided via `--find-links`.", |
346 | 368 | "type": ["boolean", "null"] |
347 | 369 | }, |
| 370 | + "no-proxy": { |
| 371 | + "description": "A list of hosts to exclude from proxying.", |
| 372 | + "type": ["array", "null"], |
| 373 | + "items": { |
| 374 | + "type": "string" |
| 375 | + } |
| 376 | + }, |
348 | 377 | "no-sources": { |
349 | 378 | "description": "Ignore the `tool.uv.sources` table when resolving dependencies. Used to lock against the\nstandards-compliant, publishable package metadata, as opposed to using any local or Git\nsources.", |
350 | 379 | "type": ["boolean", "null"] |
351 | 380 | }, |
| 381 | + "no-sources-package": { |
| 382 | + "description": "Ignore `tool.uv.sources` for the specified packages.", |
| 383 | + "type": ["array", "null"], |
| 384 | + "items": { |
| 385 | + "$ref": "#/definitions/PackageName" |
| 386 | + } |
| 387 | + }, |
352 | 388 | "offline": { |
353 | 389 | "description": "Disable network access, relying only on locally cached data and locally available files.", |
354 | 390 | "type": ["boolean", "null"] |
|
772 | 808 | "ExcludeNewerPackage": { |
773 | 809 | "type": "object", |
774 | 810 | "additionalProperties": { |
775 | | - "$ref": "#/definitions/ExcludeNewerTimestamp" |
| 811 | + "$ref": "#/definitions/PackageExcludeNewer" |
776 | 812 | } |
777 | 813 | }, |
778 | | - "ExcludeNewerTimestamp": { |
| 814 | + "ExcludeNewerValue": { |
779 | 815 | "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 | 816 | "type": "string" |
781 | 817 | }, |
|
1016 | 1052 | ] |
1017 | 1053 | }, |
1018 | 1054 | "LinkMode": { |
| 1055 | + "description": "The method to use when linking.\n\nDefaults to [`Clone`](LinkMode::Clone) on macOS and Linux (which support copy-on-write on\nAPFS and btrfs/xfs/bcachefs respectively), and [`Hardlink`](LinkMode::Hardlink) on other\nplatforms.", |
1019 | 1056 | "oneOf": [ |
1020 | 1057 | { |
1021 | | - "description": "Clone (i.e., copy-on-write) packages from the wheel into the `site-packages` directory.", |
| 1058 | + "description": "Clone (i.e., copy-on-write) packages from the source into the destination.", |
1022 | 1059 | "type": "string", |
1023 | 1060 | "const": "clone" |
1024 | 1061 | }, |
1025 | 1062 | { |
1026 | | - "description": "Copy packages from the wheel into the `site-packages` directory.", |
| 1063 | + "description": "Copy packages from the source into the destination.", |
1027 | 1064 | "type": "string", |
1028 | 1065 | "const": "copy" |
1029 | 1066 | }, |
1030 | 1067 | { |
1031 | | - "description": "Hard link packages from the wheel into the `site-packages` directory.", |
| 1068 | + "description": "Hard link packages from the source into the destination.", |
1032 | 1069 | "type": "string", |
1033 | 1070 | "const": "hardlink" |
1034 | 1071 | }, |
1035 | 1072 | { |
1036 | | - "description": "Symbolically link packages from the wheel into the `site-packages` directory.", |
| 1073 | + "description": "Symbolically link packages from the source into the destination.", |
1037 | 1074 | "type": "string", |
1038 | 1075 | "const": "symlink" |
1039 | 1076 | } |
|
1066 | 1103 | "$ref": "#/definitions/ConfigSettings" |
1067 | 1104 | } |
1068 | 1105 | }, |
| 1106 | + "PackageExcludeNewer": { |
| 1107 | + "oneOf": [ |
| 1108 | + { |
| 1109 | + "description": "Disable exclude-newer for this package.", |
| 1110 | + "type": "boolean", |
| 1111 | + "const": false |
| 1112 | + }, |
| 1113 | + { |
| 1114 | + "$ref": "#/definitions/ExcludeNewerValue" |
| 1115 | + } |
| 1116 | + ] |
| 1117 | + }, |
1069 | 1118 | "PackageName": { |
1070 | 1119 | "description": "The normalized name of a package.\n\nConverts the name to lowercase and collapses runs of `-`, `_`, and `.` down to a single `-`.\nFor example, `---`, `.`, and `__` are all converted to a single `-`.\n\nSee: <https://packaging.python.org/en/latest/specifications/name-normalization/>", |
1071 | 1120 | "type": "string" |
|
1176 | 1225 | "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.", |
1177 | 1226 | "anyOf": [ |
1178 | 1227 | { |
1179 | | - "$ref": "#/definitions/ExcludeNewerTimestamp" |
| 1228 | + "$ref": "#/definitions/ExcludeNewerValue" |
1180 | 1229 | }, |
1181 | 1230 | { |
1182 | 1231 | "type": "null" |
|
1293 | 1342 | ] |
1294 | 1343 | }, |
1295 | 1344 | "link-mode": { |
1296 | | - "description": "The method to use when installing packages from the global cache.\n\nDefaults to `clone` (also known as Copy-on-Write) on macOS, and `hardlink` on Linux and\nWindows.\n\nWARNING: The use of symlink link mode is discouraged, as they create tight coupling between\nthe cache and the target environment. For example, clearing the cache (`uv cache clean`)\nwill break all installed packages by way of removing the underlying source files. Use\nsymlinks with caution.", |
| 1345 | + "description": "The method to use when installing packages from the global cache.\n\nDefaults to `clone` (also known as Copy-on-Write) on macOS and Linux, and `hardlink` on\nWindows.\n\nWARNING: The use of symlink link mode is discouraged, as they create tight coupling between\nthe cache and the target environment. For example, clearing the cache (`uv cache clean`)\nwill break all installed packages by way of removing the underlying source files. Use\nsymlinks with caution.", |
1297 | 1346 | "anyOf": [ |
1298 | 1347 | { |
1299 | 1348 | "$ref": "#/definitions/LinkMode" |
|
1359 | 1408 | "description": "Ignore the `tool.uv.sources` table when resolving dependencies. Used to lock against the\nstandards-compliant, publishable package metadata, as opposed to using any local or Git\nsources.", |
1360 | 1409 | "type": ["boolean", "null"] |
1361 | 1410 | }, |
| 1411 | + "no-sources-package": { |
| 1412 | + "description": "Ignore `tool.uv.sources` for the specified packages.", |
| 1413 | + "type": ["array", "null"], |
| 1414 | + "items": { |
| 1415 | + "$ref": "#/definitions/PackageName" |
| 1416 | + } |
| 1417 | + }, |
1362 | 1418 | "no-strip-extras": { |
1363 | 1419 | "description": "Include extras in the output file.\n\nBy default, uv strips extras, as any packages pulled in by the extras are already included\nas dependencies in the output file directly. Further, output files generated with\n`--no-strip-extras` cannot be used as constraints files in `install` and `sync` invocations.", |
1364 | 1420 | "type": ["boolean", "null"] |
|
1522 | 1578 | } |
1523 | 1579 | ] |
1524 | 1580 | }, |
| 1581 | + "ProxyUrl": { |
| 1582 | + "description": "A proxy URL (e.g., `http://proxy.example.com:8080`).", |
| 1583 | + "type": "string", |
| 1584 | + "format": "uri" |
| 1585 | + }, |
1525 | 1586 | "PythonDownloads": { |
1526 | 1587 | "oneOf": [ |
1527 | 1588 | { |
|
1634 | 1695 | ], |
1635 | 1696 | "default": null |
1636 | 1697 | } |
1637 | | - } |
| 1698 | + }, |
| 1699 | + "additionalProperties": false |
1638 | 1700 | }, |
1639 | 1701 | "SchemaConflictSet": { |
1640 | 1702 | "description": "Like [`ConflictSet`], but for deserialization in `pyproject.toml`.\n\nThe schema format is different from the in-memory format. Specifically, the\nschema format does not allow specifying the package name (or will make it\noptional in the future), where as the in-memory format needs the package\nname.", |
|
2338 | 2400 | "type": "string", |
2339 | 2401 | "const": "cu80" |
2340 | 2402 | }, |
| 2403 | + { |
| 2404 | + "description": "Use the PyTorch index for ROCm 7.1.", |
| 2405 | + "type": "string", |
| 2406 | + "const": "rocm7.1" |
| 2407 | + }, |
| 2408 | + { |
| 2409 | + "description": "Use the PyTorch index for ROCm 7.0.", |
| 2410 | + "type": "string", |
| 2411 | + "const": "rocm7.0" |
| 2412 | + }, |
2341 | 2413 | { |
2342 | 2414 | "description": "Use the PyTorch index for ROCm 6.4.", |
2343 | 2415 | "type": "string", |
|
0 commit comments