Bug 2262523 - F40FailsToInstall: python3-sqlalchemy+postgresql_pg8000
Summary: F40FailsToInstall: python3-sqlalchemy+postgresql_pg8000
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: python-sqlalchemy
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nils Philippsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2086460
Blocks: F40FailsToInstall
TreeView+ depends on / blocked
 
Reported: 2024-02-03 16:55 UTC by Fedora Fails To Install
Modified: 2024-02-08 13:29 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-02-08 13:29:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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!


Note You need to log in before you can comment on or make changes to this bug.