generated from ThalesGroup/template-project
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Broken uv setup since cfa4f39 (but unrelated).
Stumbled upon this problem, for which the following workaround was provided.
Lines 65 to 69 in ac2c3b2
| # Until github.com/astral-sh/uv/issues/15125 is fixed | |
| required-environments = [ | |
| "python_version >= '3.12' and python_version < '3.13'", | |
| "python_version >= '3.13'" | |
| ] |
Still, resolution seems to fail to account for platform properly. For example:
error: Distribution `torch==2.5.0 @ registry+[https://pypi.org/simple`](https://pypi.org/simple%60) can't be installed because it doesn't have a source distribution or wheel for the current platform
hint: You're on Windows (`win_amd64`), but `torch` (v2.5.0) only has wheels for the following platform: `manylinux1_x86_64`; consider adding your platform to `tool.uv.required-environments` to ensure uv resolves to a version with compatible wheels
Will probably temporarily remove lowest from CI.
Metadata
Metadata
Assignees
Labels
No labels