Bug 2266405

Summary: nothing provides libonnx.so.1.14.0()(64bit) needed by python3-torch-2.1.2-3.fc40.x86_64 from rawhide
Product: [Fedora] Fedora Reporter: Richard W.M. Jones <rjones>
Component: python-torchAssignee: Tom Rix <trix>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 40CC: trix
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: python-torch-2.1.2-11.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-04-25 01:00:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Richard W.M. Jones 2024-02-27 18:45:30 UTC
$ sudo dnf install python3-torch --releasever=40
Last metadata expiration check: 0:04:24 ago on Tue 27 Feb 2024 18:40:14 GMT.
Error: 
 Problem: conflicting requests
  - nothing provides libonnx.so.1.14.0()(64bit) needed by python3-torch-2.1.2-3.fc40.x86_64 from rawhide
  - nothing provides libonnx_proto.so.1.14.0()(64bit) needed by python3-torch-2.1.2-3.fc40.x86_64 from rawhide
(try to add '--skip-broken' to skip uninstallable packages)


I think python-torch needs to be rebuilt because the onnx-libs
dependency was recently bumped and the SONAME has changed:

https://koji.fedoraproject.org/koji/buildinfo?buildID=2409567

Reproducible: Always

Comment 1 Richard W.M. Jones 2024-02-27 19:34:37 UTC
Test scratch rebuild for Rawhide:
https://koji.fedoraproject.org/koji/taskinfo?taskID=114146790

Comment 2 Richard W.M. Jones 2024-02-27 19:58:21 UTC
The build error was:

RPM build errors:
    Installed (but unpackaged) file(s) found:
   /usr/lib64/python3.12/site-packages/torch/distributed/pipeline/sync/_balance/py.typed
   /usr/lib64/python3.12/site-packages/torch/distributed/pipeline/sync/py.typed

But looking at the spec file it seems that is intended somehow?  I'm
not sure I follow the with/withouts in the spec.

Comment 3 Fedora Update System 2024-04-17 12:03:34 UTC
FEDORA-2024-8c2f71ad95 (python-torch-2.1.2-11.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-8c2f71ad95

Comment 4 Fedora Update System 2024-04-18 01:03:58 UTC
FEDORA-2024-8c2f71ad95 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-8c2f71ad95`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-8c2f71ad95

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2024-04-25 01:00:02 UTC
FEDORA-2024-8c2f71ad95 (python-torch-2.1.2-11.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.