Bug 2262523

Summary: F40FailsToInstall: python3-sqlalchemy+postgresql_pg8000
Product: [Fedora] Fedora Reporter: Fedora Fails To Install <fti-bugs>
Component: python-sqlalchemyAssignee: Nils Philippsen <nphilipp>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: infra-sig, mbayer, mhroncok, nphilipp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-02-08 13:29:20 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: 2086460    
Bug Blocks: 2231790    

Description Fedora Fails To Install 2024-02-03 16:55:24 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-sqlalchemy) Fails To Install in Fedora 40:

can't install python3-sqlalchemy+postgresql_pg8000:
  - nothing provides python3.12dist(pg8000) >= 1.29.1 needed by python3-sqlalchemy+postgresql_pg8000-2.0.25-1.fc40.x86_64
  
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-40-x86_64 --config-opts mirrored=False install python3-sqlalchemy+postgresql_pg8000


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 Miro HronĨok 2024-02-03 17:10:37 UTC
I see the package uses this for packaging extras subpackages:

  %pyproject_extras_subpkg -n python3-sqlalchemy %python_pkg_extras

When you do that, please also do something like this:

  %generate_buildrequires
  %pyproject_buildrequires -x %{gsub %{quote:%python_pkg_extras} %%s+ ,}

Or define %python_pkg_extras as a comma-separated list rather than space-separated and do:

  %generate_buildrequires
  %pyproject_buildrequires -x %python_pkg_extras


That way, when the package is built, it will BuildRequire the runtime dependencies of all the packaged extras (and fail to build if they are not available).

Comment 2 Fedora Fails To Install 2024-02-08 13:29:20 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/

All subpackages of a package against which this bug was filled are now installable or removed from Fedora 40.

Thanks for taking care of it!