Bug 2372113

Summary: F43FailsToInstall: python3-safetensors+numpy, python3-safetensors+torch, python3-safetensors
Product: [Fedora] Fedora Reporter: Fedora Fails To Install <fti-bugs>
Component: python-safetensorsAssignee: Alexander Lent <lx>
Status: CLOSED ERRATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: lx, python-packagers-sig, rust-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-safetensors-0.5.3-3.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-06-26 02:29:05 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:
Bug Depends On: 2372164    
Bug Blocks: 2339435, 2322407    

Description Fedora Fails To Install 2025-06-11 08:17:59 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

Your package (python-safetensors) Fails To Install in Fedora 43:

can't install python3-safetensors+numpy:
  - nothing provides python(abi) = 3.13 needed by python3-safetensors+numpy-0.5.3-2.fc43.x86_64
  - nothing provides python3.13dist(numpy) >= 1.21.6 needed by python3-safetensors+numpy-0.5.3-2.fc43.x86_64
  
can't install python3-safetensors+torch:
  - nothing provides python(abi) = 3.13 needed by python3-safetensors+torch-0.5.3-2.fc43.x86_64
  
can't install python3-safetensors:
  - nothing provides python(abi) = 3.13 needed by python3-safetensors-0.5.3-2.fc43.x86_64
  
If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.


If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.


P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors. To reproduce, use the koji/local repo only, e.g. in mock:

    $ mock -r fedora-43-x86_64 --config-opts mirrored=False install python3-safetensors+numpy python3-safetensors+torch python3-safetensors


P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter-dependent-packages

Thanks!

Comment 1 Alexander Lent 2025-06-11 10:50:59 UTC
I investigated this failure yesterday, the issue is that python3-torch is not ready for Python 3.14.

While dropping the torch extra at least temporarily would fix that, I was planning to wait a little while to see if the torch maintainers fix the issue. (Builds succeed on s390x/ppc64le, which don't ship the extra because we don't ship torch on those arches.)

Comment 2 Fedora Update System 2025-06-26 02:26:27 UTC
FEDORA-2025-9f3e0e18d8 (python-safetensors-0.5.3-3.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-9f3e0e18d8

Comment 3 Fedora Update System 2025-06-26 02:29:05 UTC
FEDORA-2025-9f3e0e18d8 (python-safetensors-0.5.3-3.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Alexander Lent 2025-06-26 02:56:06 UTC
Fixed by temporarily dropping the torch extra.