Skip to content

Bug: torchvision as a hard dependency breaks install on Intel Mac (x86_64) #318

Description

@ssarmin

Describe the bug

torchvision>=0.25.0 is listed as a required (non-optional) dependency in pyproject.toml, which pulls in torch 2.10–2.12. Neither torch nor torchvision publish wheels for macosx_*_x86_64 at those versions.

As a result, fenn cannot be installed at all on Intel Macs, even by users who only want the CLI or dashboard and never touch the torch-based trainers.

How to reproduce

uv sync --group dev

Expected behavior

uv sync should succeed on Intel Macs, at least for users not opting into vision/torch features.

Observed behavior

error: Distribution `torch==2.12.1 @ 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 macOS (`macosx_26_0_x86_64`), but `torch` (v2.12.1) only has wheels for the following platforms: `manylinux_2_28_aarch64`, `manylinux_2_28_x86_64`, `macosx_14_0_arm64`, `win_amd64`; consider adding "sys_platform == 'darwin' and platform_machine == 'x86_64'" to `tool.uv.required-environments` to ensure uv resolves to a version with compatible wheels

Screenshots

No response

Environment

  • OS: macOS 26.6.2 (build 25G83), Intel (x86_64)
  • Python version: project requires >=3.11 (per pyproject.toml); uv resolves/manages this itself — system python3 is 3.9.6 and isn't what's used
  • Package version: fenn v0.2.4; failing dependency is torchvision>=0.25.0, resolving to torch==2.12.1
  • Installation method: uv sync (uv 0.11.29, x86_64-apple-darwin)

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions