[pkg-php-pear] How to indicate PHP8 incompatibility for bullseye (and buster-backports)?

Kunal Mehta legoktm at debian.org
Fri Feb 26 22:34:46 GMT 2021


On 2/26/21 2:09 PM, Guilhem Moulin wrote:
> On Fri, 26 Feb 2021 at 21:16:15 +0100, Ondřej Surý wrote:
>> Since there’s no other tight coupling, then there’s nothing that
>> roundcube package can actually do except perhaps add a patch that
>> would check the PHP version in the prominent file and break early with
>> message about PHP 8.0 not supported.
> 
> That's perhaps the easiest, in fact since I added the upper the bound
> Roundcube upstream has released a new version with such a check.  It
> means that Bullseye users upgrading php-common will likely end up with a
> broken Roundcube, but as long as php7.X-* packages are still available
> they should be able to fix things.  Not perfect, but after all we don't
> officially support 3rd-party repositories.  Definitely better than
> blocking the upgrade anyway.  I guess that will do until Bullseye is
> released.

Just to add another data point, this is what MediaWiki does as well. It 
depends on a minimum `php` version and then the application will check 
that the version being used (plus extensions) is compatible with what's 
needed.

-- Kunal



More information about the pkg-php-pear mailing list