uv/scripts/links
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
..
build_tag-1.0.0-1-py2.py3-none-any.whl Add test coverage for build tag prioritization (#9680) 2024-12-06 09:32:19 -05:00
build_tag-1.0.0-3-py2.py3-none-any.whl Add test coverage for build tag prioritization (#9680) 2024-12-06 09:32:19 -05:00
build_tag-1.0.0-5-py2.py3-none-any.whl Add test coverage for build tag prioritization (#9680) 2024-12-06 09:32:19 -05:00
bz2-1.0.0.tar.bz2 Replace Twisted with an empty bz2 package (#3258) 2024-04-25 03:45:23 +00:00
extras-0.0.1.tar.gz Add test for avoiding irrelevant extras (#3107) 2024-04-19 00:47:27 +00:00
extras-0.0.2.tar.gz Add test for avoiding irrelevant extras (#3107) 2024-04-19 00:47:27 +00:00
maturin-1.4.0-py3-none-any.whl Respect --no-build and --no-binary in --find-links (#2826) 2024-04-05 02:00:39 +00:00
maturin-2.0.0-py3-none-linux_x86_64.whl Respect --no-build and --no-binary in --find-links (#2826) 2024-04-05 02:00:39 +00:00
ok-1.0.0-py3-none-any.whl Add test case for wheel installation with different path (#4396) 2024-06-19 09:39:55 -05:00
ok-2.0.0-py3-none-any.whl Add test case for wheel installation with different path (#4396) 2024-06-19 09:39:55 -05:00
simple_launcher-0.1.0-py3-none-any.whl Respect --no-build and --no-binary in --find-links (#2826) 2024-04-05 02:00:39 +00:00
tqdm-4.66.1-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl Respect --no-build and --no-binary in --find-links (#2826) 2024-04-05 02:00:39 +00:00
tqdm-999.0.0.tar.gz Respect --no-build and --no-binary in --find-links (#2826) 2024-04-05 02:00:39 +00:00
tqdm-1000.0.0-py3-none-any.whl Respect --no-build and --no-binary in --find-links (#2826) 2024-04-05 02:00:39 +00:00
validation-1.0.0-py3-none-any.whl Add backtracking tests for distribution incompatibilities (#2839) 2024-04-05 18:16:18 +00:00
validation-2.0.0-py3-none-any.whl Add backtracking tests for distribution incompatibilities (#2839) 2024-04-05 18:16:18 +00:00
validation-3.0.0-py3-none-any.whl Add backtracking tests for distribution incompatibilities (#2839) 2024-04-05 18:16:18 +00:00
wheel_tag_test-0.1.0-py3-none-win_amd64.whl Hint at tool.uv.required-environments (#13575) 2025-06-06 19:15:52 +00:00