uv/scripts
konsti 5b0133c0ec
Hint at tool.uv.required-environments (#13575)
For the case where there was no matching wheel on sync, we previously
added a note about which wheels are available vs. on which platform you
are on. We extend this error message to link directly towards
`tool.uv.required-environments`, which otherwise has a discovery
problem.

On Linux (Setting `tool.uv.required-environments` doesn't help here
either, but it's a clear example):

```
[project]
name = "debug"
version = "0.1.0"
requires-python = "==3.10.*"
dependencies = ["tensorflow-macos>=2.13.1"]
```

```
Resolved 41 packages in 24ms
error: Distribution `tensorflow-macos==2.16.2 @ registry+https://pypi.org/simple` can't be installed because it doesn't have a source distribution or wheel for the current platform

hint: You're on Linux (`manylinux_2_39_x86_64`), but there are no wheels for the current platform, consider configuring `tool.uv.required-environments`.
hint: `tensorflow-macos` (v2.16.2) only has wheels for the following platform: `macosx_12_0_arm64`.
```


![image](https://github.com/user-attachments/assets/b6b49461-10d6-4e1d-bc0a-5d35d98e33d0)

---------

Co-authored-by: Zanie Blue <contact@zanie.dev>
2025-06-06 19:15:52 +00:00
..
benchmark Upgrade to the latest Ruff version (#10433) 2025-01-09 10:47:25 -05:00
links Hint at tool.uv.required-environments (#13575) 2025-06-06 19:15:52 +00:00
packages Bump version to 0.7.0 and write changelog (#13201) 2025-04-29 16:37:00 -05:00
popular_packages Update top-pypi-packages filename (#11959) 2025-03-04 18:23:02 -05:00
publish Re-add 3 retries in uv publish (#12041) 2025-03-10 12:38:08 +01:00
requirements Add second apache airflow test case (#10463) 2025-01-10 15:42:03 +01:00
scenarios Update packse scenarios (#13688) 2025-05-28 08:58:38 -05:00
smoke-test Add --version to smoke tests (#12516) 2025-03-27 20:45:25 +00:00
workspaces Use uv sync in workspace tests (#12181) 2025-03-15 20:52:43 +00:00
check_cache_compat.py Set absolute URLs prior to uploading to PyPI (#5038) 2024-07-13 17:29:21 +00:00
check_embedded_python.py Set absolute URLs prior to uploading to PyPI (#5038) 2024-07-13 17:29:21 +00:00
check_registry.py Install and remove managed Python to and from the Windows Registry (PEP 514) (#10634) 2025-01-23 14:13:41 +00:00
check_system_python.py Add downloading of GraalPy (#13172) 2025-05-06 11:02:27 -05:00
create-python-mirror.py Add additional version filter to mirror script. (#10055) 2024-12-20 12:50:59 -06:00
release.sh Remove the preview changelog (#6259) 2024-08-20 16:47:46 +00:00
reverse-changelog.py Reverse and format the archived changelogs (#12099) 2025-03-12 11:58:51 -05:00
sync_scenarios.sh Update packse scenarios (#13688) 2025-05-28 08:58:38 -05:00
transform_readme.py Fix benchmark image in documentation (#5102) 2024-07-16 13:54:06 +00:00
update_schemastore.py Update SchemaStore script (#5024) 2024-07-12 17:49:38 -04:00
uv-run-remote-script-test.py Pin rich==13.7.1 for --exclude-newer in tests (#7713) 2024-09-26 11:54:50 -04:00