Skip to content

Update dependencies to latest and fix torchcodec CPU loading - #60

Merged
will-rice merged 2 commits into
mainfrom
claude/dependency-updates-7x8xno
Jul 23, 2026
Merged

Update dependencies to latest and fix torchcodec CPU loading#60
will-rice merged 2 commits into
mainfrom
claude/dependency-updates-7x8xno

Conversation

@will-rice

Copy link
Copy Markdown
Owner

- Bump direct dependency floors to their latest resolved versions and
  regenerate uv.lock. The torch stack now resolves to torch 2.13,
  torchvision 0.28, torchaudio 2.11 (its latest), and torchcodec 0.15,
  alongside transformers 5.14, pytorch-lightning 2.6.5, mypy 2.3,
  ruff 0.15, pytest 9.1, wandb 0.28, and others.
- Bump torchcodec 0.11 -> 0.15 (latest; supports torch >= 2.11).
- Lift the numpy<2.4 cap. numba now bounds numpy transitively, so the
  explicit cap is unnecessary and the resolver picks the latest
  compatible numpy on its own.
- Remove the invalid [tool.uv] torch-backend field, which is unknown to
  uv and emitted a TOML parse warning on every invocation.
- Delete the stale autogenerated requirements.txt; uv.lock is the single
  source of truth for pinned versions.
- CI: after uv sync, reinstall CPU-only torch/torchaudio/torchvision/
  torchcodec wheels from the PyTorch CPU index and verify torchcodec's
  AudioDecoder imports. The PyPI torchcodec wheel links CUDA NPP
  (libnppicc), which is absent on CPU-only runners; the CPU wheels do
  not. Also bump checkout/setup-python action versions.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CnieBtBKfRzKAYpc7N7hWP
@cursor

cursor Bot commented Jul 22, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

The pedalboard 0.9.24 cp313 wheel aborts with "Fatal Python error:
Illegal instruction" (SIGILL) on GitHub Actions runners, failing the
build (3.13) job at import time. The cp311/cp312 wheels are fine, so
this is specific to the 0.9.24 (and 0.9.23) 3.13 build. Pin back to
0.9.22, which is the version main already locks and CI validated across
all three Python versions.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CnieBtBKfRzKAYpc7N7hWP
@will-rice
will-rice merged commit 424bdd4 into main Jul 23, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants