Skip to content

[CI] Fails with uv run --resolution=lowest on Windows #9

@ego-thales

Description

@ego-thales

Broken uv setup since cfa4f39 (but unrelated).

Stumbled upon this problem, for which the following workaround was provided.

scio/pyproject.toml

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions