Upgrade compatibility / PyPI / 2.5.1 to 2.6.0
Does upgrading torch to 2.6.0 break Alpine 3.20?
3 of 4 distro images resolve a compatible artifact for torch 2.6.0; the license is unchanged (BSD-3-Clause).
Written by Osty EngineeringPublished Updated Ed25519-signed seed preview
- Distro images broken
- Alpine 3.20
- License
- BSD-3-Clause, unchanged
- Removed public symbols
- 0
- Analyzer
- Python AST
ELF and libc compatibility matrix
The resolver picks the artifact each distro image would install, then reads its DT_NEEDED and VERNEED entries against the libc that ships in that image.
| Distro | libc | Resolved artifact | Required symbol version | DT_NEEDED | Verdict |
|---|---|---|---|---|---|
| Debian 12 (bookworm) | glibc 2.36 | torch-2.6.0-cp312-cp312-manylinux_2_28_x86_64.whl | GLIBC_2.28 | libc.so.6, libm.so.6, libpthread.so.0, libgomp.so.1, libstdc++.so.6 | Compatible |
| Ubuntu 24.04 (noble) | glibc 2.39 | torch-2.6.0-cp312-cp312-manylinux_2_28_x86_64.whl | GLIBC_2.28 | libc.so.6, libm.so.6, libpthread.so.0, libgomp.so.1, libstdc++.so.6 | Compatible |
| Alpine 3.20 | musl 1.2.5 | torch-2.6.0.tar.gz | musl source build | libc.so.6, libm.so.6, libpthread.so.0, libgomp.so.1, libstdc++.so.6 | Source build required |
| RHEL 9 | glibc 2.34 | torch-2.6.0-cp312-cp312-manylinux_2_28_x86_64.whl | GLIBC_2.28 | libc.so.6, libm.so.6, libpthread.so.0, libgomp.so.1, libstdc++.so.6 | Compatible |
SPDX license shift
License identifiers are read from package metadata and LICENSE files of both versions and normalized to SPDX.
| From | To | Shift |
|---|---|---|
BSD-3-Clause | BSD-3-Clause | Unchanged |
Public API break summary
Exported symbols of both versions are compared with a language-native analyzer; removed and re-typed symbols break callers at build time.
| Analyzer | Added | Removed | Changed signatures | Removed symbols named |
|---|---|---|---|---|
| Python AST | 9 | 0 | 1 | None named |
More from the upgrade compatibility atlas
- github.com/cilium/ebpf4 of 4 distro images resolve a compatible artifact for cilium/ebpf v0.16.0; the license is unchanged (MIT).
- github.com/godror/godror3 of 4 distro images resolve a compatible artifact for godror/godror v0.44.0; the license is unchanged (Apache-2.0).
- github.com/mattn/go-sqlite34 of 4 distro images resolve a compatible artifact for mattn/go-sqlite3 v1.14.23; the license is unchanged (MIT).
- Upgrade dossiersBefore a fleet upgrade, check which distro images can load the new artifact, whether the license moved, and how many public symbols disappeared.