Bug 1958656

Summary: python-fasjson-client is not installable on Fedora 32
Product: [Fedora] Fedora Reporter: Davide Cavalca <davide>
Component: python-fasjson-clientAssignee: Nils Philippsen <nphilipp>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: infra-sig, nphilipp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-jsonpointer-2.0-1.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-10 08:25:22 UTC Type: Bug
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: 1958657    
Bug Blocks:    

Description Davide Cavalca 2021-05-09 15:34:44 UTC
Looks like there's a dependency issue of some sort:

$ sudo dnf install python3-fasjson-client
Last metadata expiration check: 0:03:21 ago on Sun May  9 08:29:13 2021.
Error: 
 Problem: package python3-fasjson-client-0.1.1-6.fc32.noarch requires (python3.8dist(bravado) < 12 with python3.8dist(bravado) >= 10.6), but none of the providers can be installed
  - package python3-bravado-11.0.2-1.fc32.noarch requires python3.8dist(bravado-core) >= 5.16.1, but none of the providers can be installed
  - conflicting requests
  - nothing provides python3.8dist(jsonpointer) > 1.13 needed by python3-bravado-core-5.17.0-1.fc32.1.noarch
(try to add '--skip-broken' to skip uninstallable packages)

Note that all those versions do seem to be available:
$ sudo dnf list avail python3-jsonpointer python3-bravado-core python3-bravado python3-fasjson-client
Last metadata expiration check: 0:01:54 ago on Sun May  9 08:29:13 2021.
Available Packages
python3-bravado.noarch                     11.0.2-1.fc32                 updates
python3-bravado-core.noarch                5.17.0-1.fc32.1               updates
python3-fasjson-client.noarch              0.1.1-6.fc32                  updates
python3-jsonpointer.noarch                 1.13-1.fc32                   updates

This was found while testing centos-packager in https://bodhi.fedoraproject.org/updates/FEDORA-2021-f7c85ad7ff

Comment 1 Nils Philippsen 2021-05-10 08:25:22 UTC
Oops! It looks like we never tested this on Fedora 32.

There, python3-jsonpointer has version 1.13 but python3-bravado-core needs a version greater than that (Fedora 33 and later have 2.0). Resolving this would require updating python3-jsonpointer to a new major version which isn't a good idea in a stable OS release, and Fedora 32 will be EOL in about 2 weeks[1] anyway. I'm not sure if dropping the python3-fasjson-client dependency on Fedora 32 is an option for you, but that's what I'd suggest, or skipping Fedora 32 entirely due to its limited shelf life at this point.

I'll close this one now, as working around it would be quite an effort without violating version stability requirements.

[1]: https://fedorapeople.org/groups/schedule/f-34/f-34-key-tasks.html