Bug 2432009 - F44FailsToInstall: python3-mpmath+gmpy
Summary: F44FailsToInstall: python3-mpmath+gmpy
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-mpmath
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Susi Lehtola
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F44FailsToInstall F45FailsToInstall, RAWHIDEFailsToInstall
TreeView+ depends on / blocked
 
Reported: 2026-01-22 11:20 UTC by Fedora Fails To Install
Modified: 2026-03-13 20:02 UTC (History)
3 users (show)

Fixed In Version: python-mpmath-1.4.0b3-2.fc44
Clone Of:
Environment:
Last Closed: 2026-03-13 00:16:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Fedora Fails To Install 2026-01-22 11:20:43 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-mpmath) Fails To Install in Fedora 44:

can't install python3-mpmath+gmpy:
  - nothing provides python3.14dist(mpmath[gmpy2]) needed by python3-mpmath+gmpy-1.4.0b3-1.fc44.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-44-x86_64 --config-opts mirrored=False install python3-mpmath+gmpy


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 2026-01-22 11:36:19 UTC
This is an interesting situation.

pyproject.toml has:

  [project.optional-dependencies]
  ...
  gmpy2 = ['gmpy2>=2.3.0a1,<2.3.0a2']
  gmpy = ['mpmath[gmpy2]']

The %prep has:

  # Drop the gmpy2 req. We have an older version packaged and we don't
  # want to depend on an alpha release.
  sed -r -i "/^gmpy2 =/d" pyproject.toml

Hence, the mpmath[gmpy2] extras is not defined at all.

Ideally, this would die already in %pyproject_buildrequires -x gmpy. However:

 - this unwarps the gmpy extra to add the gmpy2 extra
 - nonexisting extras are silently ignored, see bz2360766

Comment 2 Zbigniew Jędrzejewski-Szmek 2026-01-22 11:49:30 UTC
Yeah, I screwed up here. Suggestions are welcome.

Comment 3 Miro Hrončok 2026-01-22 12:09:01 UTC
If you cannot package the gmpy2 extra, don't package the gmpy extra either.

Don't path pyproject.toml for this, drop the `%pyproject_extras_subpkg -n python3-mpmath gmpy` line instead.

Comment 4 Miro Hrončok 2026-01-22 12:59:46 UTC
As a side note, by using 1.4.0b3 as a version, you won't be able to update to 1.4.0 final without introducing an epoch.

Comment 5 Fedora Fails To Install 2026-01-31 18:52:30 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/

This package fails to install and maintainers are advised to take one of the following actions:

 - Fix this bug and close this bugzilla once the update makes it to the repository.
   (The same script that posted this comment will eventually close this bugzilla
   when the fixed package reaches the repository, so you don't have to worry about it.)

or

 - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet.

or

 - Orphan the package if you no longer plan to maintain it.


If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue.
This package may be orphaned in 7+ weeks.
This is the first reminder (step 3) from the policy.

Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug.

Comment 6 Susi Lehtola 2026-02-02 09:59:19 UTC
(In reply to Zbigniew Jędrzejewski-Szmek from comment #2)
> Yeah, I screwed up here. Suggestions are welcome.

Zbigniew, can you take care of this?

Comment 7 Fedora Fails To Install 2026-02-28 12:38:31 UTC
Hello,

Please note that this comment was generated automatically by https://forge.fedoraproject.org/releng/tooling/src/branch/main/release-process/bug-filing/follow-policy/follow_policy.py
If you feel that this output has mistakes, please open an issue at https://forge.fedoraproject.org/releng/tickets/issues

This package fails to install and maintainers are advised to take one of the following actions:

 - Fix this bug and close this bugzilla once the update makes it to the repository.
   (The same script that posted this comment will eventually close this bugzilla
   when the fixed package reaches the repository, so you don't have to worry about it.)

or

 - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet.

or

 - Orphan the package if you no longer plan to maintain it.


If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue.
This package may be orphaned in 4+ weeks.
This is the second reminder (step 4) from the policy.

Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug.

Comment 8 Fedora Update System 2026-03-04 10:15:56 UTC
FEDORA-2026-3b9d2a6407 (python-mpmath-1.4.0b3-2.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-3b9d2a6407

Comment 9 Fedora Update System 2026-03-05 01:43:34 UTC
FEDORA-2026-3b9d2a6407 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-3b9d2a6407`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-3b9d2a6407

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2026-03-13 00:16:28 UTC
FEDORA-2026-3b9d2a6407 (python-mpmath-1.4.0b3-2.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Zbigniew Jędrzejewski-Szmek 2026-03-13 08:57:05 UTC
Susi, thank you for handling this.


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