Skip to content

fix(packaging): avoid forcing Windows PyTorch upgrade - #8

Merged
btmlnsn merged 1 commit into
publication/stagingfrom
fix/windows-pytorch-metadata
Sep 29, 2026
Merged

btmlnsn merged 1 commit into
publication/stagingfrom
fix/windows-pytorch-metadata

Conversation

@btmlnsn

@btmlnsn btmlnsn commented Sep 29, 2026

Copy link
Copy Markdown
Owner

Summary

Removes the unintended Windows-specific PyTorch 2.8 dependency pins from published package metadata.

Origin

The original Windows CI fix preinstalled a known-compatible CPU-only PyTorch family in Nox. Before that, the clean Windows test environment resolved unpinned PyTorch packages from PyPI, which could drift across versions and conflict with the project’s NumPy constraint.

That CI constraint was appropriate, but the same exact pins were also added to published package metadata. As a result, ordinary Windows upgrades forced users from their existing PyTorch installation—including GPU-enabled 2.0.1+cu118 environments—to PyTorch 2.8.0. This PR keeps the deterministic CI setup while removing the unintended end-user upgrade requirement.

Change

  • Restores unpinned public torch, torchvision, and torchaudio dependencies.
  • Retains the fixed CPU PyTorch 2.8 family only in the Windows Nox CI setup.
  • Allows existing supported GPU environments, including PyTorch 2.0.1+cu118, to remain installed when LabGym is upgraded.

Verification

  • git diff --check passed.
  • Parsed pyproject.toml and confirmed the public dependency declarations are exactly torch, torchvision, and torchaudio.
  • CI is the validation gate for the retained Windows Nox configuration.

Scope

No documentation, version, changelog, or macOS CI configuration changes are included.

@btmlnsn
btmlnsn merged commit 9203b12 into publication/staging Sep 29, 2026
3 checks passed
@btmlnsn
btmlnsn deleted the fix/windows-pytorch-metadata branch October 5, 2026 21:27
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.

1 participant