Bug 2291697

Summary: F41FailsToInstall: 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.110.3-3.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-30 05:14:33 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: 2256753, 2290559, 2291666, 2291854, 2291855, 2291856, 2291931    
Bug Blocks: 2260877, 2244836, 2291530, 2291807, 2291813, 2291914    

Description Fedora Fails To Install 2024-06-12 11:23:13 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 41:

can't install python3-fastapi+all:
  - nothing provides python(abi) = 3.12 needed by python3-fastapi+all-0.110.3-2.fc41.noarch
  - nothing provides python3.12dist(email-validator) >= 2 needed by python3-fastapi+all-0.110.3-2.fc41.noarch
  - nothing provides python3.12dist(pyyaml) >= 5.3.1 needed by python3-fastapi+all-0.110.3-2.fc41.noarch
  - nothing provides python3.12dist(python-multipart) >= 0.0.7 needed by python3-fastapi+all-0.110.3-2.fc41.noarch
  - nothing provides ((python3.12dist(ujson) < 4.0.2 or python3.12dist(ujson) > 4.0.2) with (python3.12dist(ujson) < 4.1 or python3.12dist(ujson) > 4.1) with (python3.12dist(ujson) < 4.2 or python3.12dist(ujson) > 4.2) with (python3.12dist(ujson) < 4.3 or python3.12dist(ujson) > 4.3) with (python3.12dist(ujson) < 5 or python3.12dist(ujson) > 5) with (python3.12dist(ujson) < 5.1 or python3.12dist(ujson) > 5.1) with python3.12dist(ujson) >= 4.0.1) needed by python3-fastapi+all-0.110.3-2.fc41.noarch
  - nothing provides python3.12dist(httpx) >= 0.23 needed by python3-fastapi+all-0.110.3-2.fc41.noarch
  - nothing provides python3.12dist(itsdangerous) >= 1.1 needed by python3-fastapi+all-0.110.3-2.fc41.noarch
  - nothing provides python3.12dist(jinja2) >= 2.11.2 needed by python3-fastapi+all-0.110.3-2.fc41.noarch
  - nothing provides python3.12dist(orjson) >= 3.2.1 needed by python3-fastapi+all-0.110.3-2.fc41.noarch
  - nothing provides python3.12dist(uvicorn) >= 0.12 needed by python3-fastapi+all-0.110.3-2.fc41.noarch
  - nothing provides python3.12dist(uvicorn[standard]) >= 0.12 needed by python3-fastapi+all-0.110.3-2.fc41.noarch
  
can't install python3-fastapi:
  - nothing provides python(abi) = 3.12 needed by python3-fastapi-0.110.3-2.fc41.noarch
  - nothing provides python3.12dist(typing-extensions) >= 4.8 needed by python3-fastapi-0.110.3-2.fc41.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-41-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 2024-06-15 13:04:27 UTC
I rebuilt Starlette for Python 3.13, but FastAPI is still blocked on Pydantic:

Problem 1: cannot install the best candidate for the job
  - nothing provides python(abi) = 3.12 needed by python3-pydantic-2.7.3-1.fc41.noarch from fedora
  - nothing provides python3.12dist(annotated-types) >= 0.4 needed by python3-pydantic-2.7.3-1.fc41.noarch from fedora
  - nothing provides python3.12dist(pydantic-core) = 2.18.4 needed by python3-pydantic-2.7.3-1.fc41.noarch from fedora
  - nothing provides python3.12dist(typing-extensions) >= 4.6.1 needed by python3-pydantic-2.7.3-1.fc41.noarch from fedora
 Problem 2: cannot install the best candidate for the job
  - nothing provides python(abi) = 3.12 needed by python3-pydantic-extra-types-2.8.0-1.fc41.noarch from fedora
 Problem 3: cannot install the best candidate for the job
  - nothing provides python(abi) = 3.12 needed by python3-pydantic-settings-2.3.1-1.fc41.noarch from fedora
  - nothing provides python3.12dist(python-dotenv) >= 0.21 needed by python3-pydantic-settings-2.3.1-1.fc41.noarch from fedora
You can try to add to command line:
  --no-best to not limit the transaction to the best candidates

Comment 2 Fedora Update System 2024-06-30 05:11:17 UTC
FEDORA-2024-9f45e81734 (python-fastapi-0.110.3-3.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-9f45e81734

Comment 3 Fedora Update System 2024-06-30 05:14:33 UTC
FEDORA-2024-9f45e81734 (python-fastapi-0.110.3-3.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.