Bug 2220218

Summary: F39FailsToInstall: python3-fastapi+all, python3-fastapi
Product: [Fedora] Fedora Reporter: Fedora Fails To Install <fti-bugs>
Component: python-fastapiAssignee: Ben Beasley <code>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: code, paul.wouters, rominf
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-fastapi-0.99.0-4.fc39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-06 04:21:10 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: 2220383, 2220402, 2220550    
Bug Blocks: 2168845, 2135404    

Description Fedora Fails To Install 2023-07-05 19:11:40 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-fastapi) Fails To Install in Fedora 39:

can't install python3-fastapi+all:
  - nothing provides python(abi) = 3.11 needed by python3-fastapi+all-0.99.0-1.fc39.noarch
  - nothing provides python3.11dist(pyyaml) >= 5.3.1 needed by python3-fastapi+all-0.99.0-1.fc39.noarch
  - nothing provides python3.11dist(email-validator) >= 1.1.1 needed by python3-fastapi+all-0.99.0-1.fc39.noarch
  - nothing provides ((python3.11dist(ujson) < 4.0.2 or python3.11dist(ujson) > 4.0.2) with (python3.11dist(ujson) < 4.1 or python3.11dist(ujson) > 4.1) with (python3.11dist(ujson) < 4.2 or python3.11dist(ujson) > 4.2) with (python3.11dist(ujson) < 4.3 or python3.11dist(ujson) > 4.3) with (python3.11dist(ujson) < 5 or python3.11dist(ujson) > 5) with (python3.11dist(ujson) < 5.1 or python3.11dist(ujson) > 5.1) with python3.11dist(ujson) >= 4.0.1) needed by python3-fastapi+all-0.99.0-1.fc39.noarch
  - nothing provides python3.11dist(httpx) >= 0.23 needed by python3-fastapi+all-0.99.0-1.fc39.noarch
  - nothing provides python3.11dist(itsdangerous) >= 1.1 needed by python3-fastapi+all-0.99.0-1.fc39.noarch
  - nothing provides python3.11dist(jinja2) >= 2.11.2 needed by python3-fastapi+all-0.99.0-1.fc39.noarch
  - nothing provides python3.11dist(python-multipart) >= 0.0.5 needed by python3-fastapi+all-0.99.0-1.fc39.noarch
  
can't install python3-fastapi:
  - nothing provides python(abi) = 3.11 needed by python3-fastapi-0.99.0-1.fc39.noarch
  - nothing provides ((python3.11dist(pydantic) < 1.8 or python3.11dist(pydantic) > 1.8) with (python3.11dist(pydantic) < 1.8.1 or python3.11dist(pydantic) > 1.8.1) with python3.11dist(pydantic) < 2~~ with python3.11dist(pydantic) >= 1.7.4) needed by python3-fastapi-0.99.0-1.fc39.noarch
  - nothing provides (python3.11dist(starlette) < 0.28~~ with python3.11dist(starlette) >= 0.27) needed by python3-fastapi-0.99.0-1.fc39.noarch
  - nothing provides python3.11dist(typing-extensions) >= 4.5 needed by python3-fastapi-0.99.0-1.fc39.noarch
  
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-39-x86_64 --config-opts mirrored=False install python3-fastapi+all python3-fastapi


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 Ben Beasley 2023-07-05 23:14:33 UTC
$ fedpkg mockbuild --enablerepo=local
Error: 
 Problem 1: package python3-peewee-3.16.2-1.fc39.x86_64 from fedora requires python(abi) = 3.11, but none of the providers can be installed
  - package python3-devel-3.12.0~b3-2.fc39.x86_64 from @System conflicts with python3 < 3.12.0~b3-2.fc39 provided by python3-3.11.4-1.fc39.i686 from fedora
  - package python3-devel-3.12.0~b3-2.fc39.x86_64 from @System conflicts with python3 < 3.12.0~b3-2.fc39 provided by python3-3.11.4-1.fc39.x86_64 from fedora
  - cannot install the best candidate for the job
 Problem 2: package python3-orjson-3.8.12-1.fc39.x86_64 from fedora requires python(abi) = 3.11, but none of the providers can be installed
  - package python3-devel-3.12.0~b3-2.fc39.x86_64 from @System conflicts with python3 < 3.12.0~b3-2.fc39 provided by python3-3.11.4-1.fc39.i686 from fedora
  - package python3-devel-3.12.0~b3-2.fc39.x86_64 from @System conflicts with python3 < 3.12.0~b3-2.fc39 provided by python3-3.11.4-1.fc39.x86_64 from fedora
  - cannot install the best candidate for the job
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

The apparent blockers here are python-peewee and python-orjson.

Comment 2 Ben Beasley 2023-07-06 04:12:11 UTC
Now that python-peewee is fixed, if I temporarily patch out python-orjson (as I did before it was packaged) and python-uvicorn, I can get a successful build.

Comment 3 Fedora Update System 2023-07-06 04:20:28 UTC
FEDORA-2023-7ed5b860c1 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-7ed5b860c1

Comment 4 Fedora Update System 2023-07-06 04:21:10 UTC
FEDORA-2023-7ed5b860c1 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.