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-torch) Fails To Install in Fedora 43: can't install python3-torch: - nothing provides python3.13dist(typing-extensions) >= 4.10 needed by python3-torch-2.7.0-3.fc43.x86_64 - nothing provides python3.13dist(sympy) >= 1.13.3 needed by python3-torch-2.7.0-3.fc43.x86_64 - nothing provides python3.13dist(setuptools) needed by python3-torch-2.7.0-3.fc43.x86_64 - nothing provides python3.13dist(jinja2) needed by python3-torch-2.7.0-3.fc43.x86_64 - nothing provides python3.13dist(networkx) needed by python3-torch-2.7.0-3.fc43.x86_64 - nothing provides python3.13dist(fsspec) needed by python3-torch-2.7.0-3.fc43.x86_64 - nothing provides python3.13dist(filelock) needed by python3-torch-2.7.0-3.fc43.x86_64 - nothing provides python(abi) = 3.13 needed by python3-torch-2.7.0-3.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-torch 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!
This failed to rebuild for Python 3.14, https://koji.fedoraproject.org/koji/buildinfo?buildID=2728218. The first few error lines were: /builddir/build/BUILD/python-torch-2.7.0-build/pytorch-v2.7.0/torch/csrc/dynamo/cpython_defs.c:25:2: error: #error "Please ensure that the functions below still match the CPython implementation for 3.14" 25 | #error "Please ensure that the functions below still match the CPython implementation for 3.14" | ^~~~~ In file included from /builddir/build/BUILD/python-torch-2.7.0-build/pytorch-v2.7.0/torch/csrc/dynamo/cpython_defs.c:3: /builddir/build/BUILD/python-torch-2.7.0-build/pytorch-v2.7.0/torch/csrc/dynamo/cpython_defs.c: In function ‘THP_PyFrame_MakeAndSetFrameObject’: /builddir/build/BUILD/python-torch-2.7.0-build/pytorch-v2.7.0/torch/csrc/dynamo/cpython_defs.c:102:16: error: invalid use of incomplete typedef ‘_PyInterpreterFrame’ 102 | CHECK(frame->frame_obj == NULL); | ^~ […]
This is caused by fedora's move to 3.14 before 3.14 has been released. I am waiting on 2.8 to land to use the fix the upstream pytorch provided. The timing will be very tight to do all of this before the branch.
Fedora's move to Python 3.14 is a well-known, documented and approved change https://fedoraproject.org/wiki/Changes/Python3.14 The same will happen next year with Python 3.15. Note that Python 3.14.0rc1 was already released upstream.
Here is the upstream discussion https://github.com/pytorch/pytorch/issues/156595
FEDORA-2025-bebbf48f31 (python-einops-0.8.1-1.fc43, python-lion-pytorch-0.2.3-4.fc43, and 7 more) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2025-bebbf48f31
FEDORA-2025-bebbf48f31 (python-einops-0.8.1-1.fc43, python-lion-pytorch-0.2.3-4.fc43, and 7 more) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report.