Bug 2316869

Summary: python-twisted FTBFS in F41+
Product: [Fedora] Fedora Reporter: Yaakov Selkowitz <yselkowi>
Component: python-twistedAssignee: Jonathan Steffan <jonathansteffan>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 41CC: blaise, eclipseo, jonathan, jonathansteffan, python-packagers-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: python-twisted-24.10.0-1.fc42 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-01-17 16:28:58 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: 2299957, 2307417, 2326173, 2326298, 2335587    
Bug Blocks: 2255342, 2265357    

Description Yaakov Selkowitz 2024-10-06 21:46:42 UTC
I am currently unable to build python-twisted in Fedora 41 or rawhide, which (among other things) is blocking 3 flatpaks from being updated to Fedora 41.

* twisted.conch.test.test_userauth:LoopbackTests hangs.
* If skipped via a patch, various tests fail with SSL issues.
* Even with `OPENSSL_ENABLE_SHA1_SIGNATURES` defined, there are still failures: https://koji.fedoraproject.org/koji/taskinfo?taskID=124199508
* Updating to 24.7 does not help: https://copr.fedorainfracloud.org/coprs/yselkowitz/python-twisted-24.07/build/8112212/

Reproducible: Always

Comment 1 Yaakov Selkowitz 2024-10-28 01:33:57 UTC
python-twisted has been unbuildable for at least a month; can you fix this please?

Comment 2 Blaise Pabon 2024-11-13 23:08:59 UTC
I contacted the upstream maintainer so he thinks he knows the solution. He is not a Fedora contributor so I am passing the message.

Comment 3 Blaise Pabon 2024-11-13 23:09:42 UTC
I contacted the upstream maintainer so he thinks he knows the solution. He is not a Fedora contributor so I am passing the message.

Comment 4 Jonathan Steffan 2024-11-14 06:04:45 UTC
Spec URL: https://jsteffan.fedorapeople.org/python-twisted/python-twisted.spec
SRPM URL: https://jsteffan.fedorapeople.org/python-twisted/python-twisted-24.10.0-1.fc40/python-twisted-24.10.0-1.fc42.src.rpm


I've finished the update but wont check it into distgit until we resolve the dependencies.

Comment 5 Yaakov Selkowitz 2024-12-03 00:56:58 UTC
Any update on this?

Comment 6 Jonathan Steffan 2024-12-03 02:46:57 UTC
We are waiting on updates to existing packages and a new package to support the Python Twisted update.

python-incremental - https://bugzilla.redhat.com/show_bug.cgi?id=2299957 (complete but not closed, good enough for rawhide)
python-Automat - https://bugzilla.redhat.com/show_bug.cgi?id=2307417 (stalled, the current maintainers have not taken my updates)
python-pydoctor - https://bugzilla.redhat.com/show_bug.cgi?id=2326298 (stalled, no reviewer has taken this package yet)

Comment 7 Jonathan Steffan 2025-01-04 17:44:46 UTC
python-urllib3 - https://bugzilla.redhat.com/show_bug.cgi?id=2335587 (need to update to >=2)

Comment 8 Jonathan Steffan 2025-01-04 19:37:57 UTC
python-urllib3 will not be updated in F41, so we might need to do a compat package. I've asked.

Comment 9 Jonathan Steffan 2025-01-06 16:19:33 UTC
Once we get everything stable in Rawhide, we'll try relaxing the python-urllib3 requirement in python-pydoctor for F41. https://github.com/twisted/pydoctor/commit/551b8dc035101da832b92935173695bc8cd02f17

Comment 10 Yaakov Selkowitz 2025-01-16 20:35:18 UTC
(In reply to Jonathan Steffan from comment #9)
> Once we get everything stable in Rawhide, we'll try relaxing the
> python-urllib3 requirement in python-pydoctor for F41.
> https://github.com/twisted/pydoctor/commit/
> 551b8dc035101da832b92935173695bc8cd02f17

https://src.fedoraproject.org/rpms/python-pydoctor/pull-request/1

Even if we just get all this committed to rawhide, I can build from there just for flatpaks and finally get the last few migrated to f41.  Automat is in rawhide, so we just need twisted itself now.  With that pydoctor change and your twisted update above, I'm able to build everything locally.

Comment 11 Jonathan Steffan 2025-01-16 20:59:06 UTC
As soon as the Automat update hits Rawhide I'll get this fixed. (so tomorrow)

Comment 12 Fedora Update System 2025-01-17 16:26:54 UTC
FEDORA-2025-c36c6a3ccb (python-twisted-24.10.0-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-c36c6a3ccb

Comment 13 Fedora Update System 2025-01-17 16:28:58 UTC
FEDORA-2025-c36c6a3ccb (python-twisted-24.10.0-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Yaakov Selkowitz 2025-01-17 17:51:44 UTC
Thank you, I have built the rawhide commits for F41 Flatpaks (only) and am now proceeding with updating the last apps to F41 and EOL'ing the F40 runtimes.

Comment 15 Blaise Pabon 2025-01-21 23:37:29 UTC
Thank you Yaakov