Bug 1987894

Summary: python-typer-cli: FTBFS in Fedora rawhide/f35
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: python-typer-cliAssignee: Ben Beasley <code>
Status: CLOSED ERRATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 35CC: code
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-typer-cli-0.0.12-4.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-31 12:48:03 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: 1977513    
Bug Blocks: 1927309, 1992484    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2021-07-29 16:45:53 UTC
python-typer-cli failed to build from source in Fedora rawhide/f35

https://koji.fedoraproject.org/koji/taskinfo?taskID=72483683


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Please fix python-typer-cli at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
python-typer-cli will be orphaned. Before branching of Fedora 36,
python-typer-cli will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2021-07-29 16:45:56 UTC
Created attachment 1808548 [details]
build.log

Comment 2 Fedora Release Engineering 2021-07-29 16:45:59 UTC
Created attachment 1808549 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2021-07-29 16:46:01 UTC
Created attachment 1808550 [details]
state.log

Comment 4 Ben Beasley 2021-07-29 17:52:44 UTC
Both python-typer-cli and its dependency python-typer need a significant patch to support python-click version 8. Either a python-click7 compat package or (hopefully) an upstream fix will be required. I’m monitoring the situation and will follow up if nothing materializes upstream in the next few weeks. See also https://bugzilla.redhat.com/show_bug.cgi?id=1977513.

Comment 5 Ben Cotton 2021-08-10 13:28:23 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 35 development cycle.
Changing version to 35.

Comment 6 Ben Beasley 2021-08-20 19:04:37 UTC
I’ve announced my intent to retire this and python-typer since upstream has not even showed signs of working on this.

https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/33BAFLW7URTBY56NFVRGW6VDIKQUAT6I/

Comment 7 Ben Beasley 2021-08-27 13:33:43 UTC
The package is retired in F35 and Rawhide.

Comment 8 Ben Beasley 2021-08-31 11:44:16 UTC
Upstream suddenly reappeared and fixed the critical click 8.x incompatibility in python-typer (https://bugzilla.redhat.com/show_bug.cgi?id=1977513) just a few days after I retired the package. Both packages have been unretired in Rawhide and F35 and a python-typer update was provided to fix the issue.

This package still needs further work—hopefully forthcoming shortly from upstream, but possibly downstream following upstream’s example in typer—to work with click 8.x, as it has an implicit click 7.x dependency via the older version of typer. The upstream bug is: https://github.com/tiangolo/typer-cli/issues/50

Comment 9 Fedora Update System 2021-08-31 12:43:30 UTC
FEDORA-2021-916ff07e1b has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-916ff07e1b

Comment 10 Ben Beasley 2021-08-31 12:47:34 UTC
I’ve dealt with this by patching out shell completion and --help support. I will file a new issue to track the missing features as I await a proper upstream fix.

Comment 11 Fedora Update System 2021-08-31 17:57:48 UTC
FEDORA-2021-916ff07e1b has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-916ff07e1b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-916ff07e1b

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

Comment 12 Fedora Update System 2021-09-24 20:12:26 UTC
FEDORA-2021-916ff07e1b has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.