Bug 2357027 - php doesn't appear to properly obsolete php-pspell
Summary: php doesn't appear to properly obsolete php-pspell
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: php
Version: 42
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Remi Collet
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: AcceptedFreezeException RejectedBlocker
Depends On: 2358783
Blocks: F42FinalFreezeException
TreeView+ depends on / blocked
 
Reported: 2025-04-02 21:16 UTC by Peter Robinson
Modified: 2025-05-01 02:05 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-05-01 02:05:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Peter Robinson 2025-04-02 21:16:22 UTC
In trying to upgrade a system running roundcubemail it seems that php 8.4 has dropped the pspell subpackage but doesn't appear to properly obsolete/provide a replacement for it causing issues upgrading. It's not clear if it should just be removed or if there's a replacement spell check module.


Problem: installed package php-pspell-8.3.19-1.fc41.x86_64 requires php-common(x86-64) = 8.3.19-1.fc41, but none of the providers can be installed
  - php-common-8.3.19-1.fc41.x86_64 does not belong to a distupgrade repository
  - problem with installed package
You can try to add to command line:
  --skip-broken to skip uninstallable packages


Reproducible: Always

Comment 1 Fedora Blocker Bugs Application 2025-04-02 21:17:32 UTC
Proposed as a Blocker for 42-final by Fedora user pbrobinson using the blocker tracking app because:

 Unable to cleanly upgrade a server system

Comment 2 Remi Collet 2025-04-03 05:36:22 UTC
pspell extension has been dropped from PHP upstream

enchant is an alternative, but is not a replacement (different API)

I don't think php should obsolete php-pspell as if this extension is needed, it should block the upgrade
and its removal should be a user choice.

The extension still exists (but unmaintained) as https://pecl.php.net/package/pspell

But it relies on aspell which is deprecated
See https://fedoraproject.org/wiki/Changes/AspellDeprecation

I'm not aware of any PHP app requiring this extension

roundcubemail has weak dependencies for spell checking
  Recommends: php-enchant
  Suggests:   php-pspell

Comment 3 Adam Williamson 2025-04-03 21:36:05 UTC
"I don't think php should obsolete php-pspell as if this extension is needed, it should block the upgrade and its removal should be a user choice."

For the record, whether to obsolete retired packages or not is the maintainer's choice under the policy , but it does hint that they should be obsoleted in case of "upgrade path issues or security concerns": https://docs.fedoraproject.org/en-US/package-maintainers/Package_Retirement_Process/#obsoleting_packages

"Consider what will happen to systems which have the now-retired packages installed. Generally, such packages will simply remain on the system as it is updated, becoming increasingly outdated. If this is not acceptable, such as if there are upgrade path issues or security concerns, add your package to fedora-obsolete-packages."

Comment 4 Adam Williamson 2025-04-03 21:37:53 UTC
+4 FE / -4 blocker in https://pagure.io/fedora-qa/blocker-review/issue/1825 , marking accepted FE, rejected blocker.

Comment 5 Remi Collet 2025-04-10 06:47:08 UTC
php-pecl-pspell submit for review see bug #2358783

Comment 6 Fedora Update System 2025-04-22 13:38:07 UTC
FEDORA-2025-3e90e2418b (php-pecl-pspell-1.0.1-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-3e90e2418b

Comment 7 Fedora Update System 2025-04-23 03:17:15 UTC
FEDORA-2025-3e90e2418b has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-3e90e2418b \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-3e90e2418b

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

Comment 8 Fedora Update System 2025-05-01 02:05:57 UTC
FEDORA-2025-3e90e2418b (php-pecl-pspell-1.0.1-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.


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