Thursday 21 October 2021

Re: PHP 8.1 transition plan

Thanks, Bryce.

On Thu, Oct 21, 2021 at 11:28:10AM -0700, Bryce Harrington wrote:
> Hi devs,

> I've started on the php 8.1 transition, details are here:

> https://wiki.ubuntu.com/ServerTeam/Transition/Php8.1
> https://people.canonical.com/~ubuntu-archive/transitions/html/html/php8.1.html

> I anticipate this PHP update will be straightforward; the challenge will
> be getting it completed prior to the OpenSSL 3.0 transition starting, as
> the two certainly have potential for intertwining. The OpenSSL
> transition starts the week of Nov 4th, so that gives 2 weeks, which is a
> bit tight for transitioning php but potentially doable if no major
> troubles crop up.

The entanglement is expected to be minimal. If the transitions overlap, php
does not have to be rebuilt against openssl 3 right away, and not doing so
will not block migration of openssl 3 to the release pocket (because
migrating it will not remove, or cause uninstallability of, the libssl1.1
binary packages); and if php8.1 does end up built against openssl 3 (e.g.
because php8.1 has to be reuploaded to fix a bug), we will hopefully not see
openssl 3 blocking it in -proposed for too long (the longest delay with
openssl 3 is likely to be resolving autopkgtest regressions in the
reverse-dependencies, which may involve tracking down and ignoring test
failures from packages that aren't yet ported to openssl 3).

> The php8.1 language runtime itself has been uploaded to -proposed for
> universe; it won't migrate to release until the full transition is
> complete. php8.0 will remain in the archive until that point.

I actually can't see any reason that it would block in -proposed for the
transition as a whole, can you clarify? (php8.0 doesn't built any
unversioned packages which are superseded by php8.1, which would introduce
installability problems; the only unversioned dependency of php8.0 and
php8.1 binary packages is on php-common from php-defaults, which is
compatible between the two releases and has no further dependencies on
unversioned php packages.)

> I've updated php-defaults in -proposed to set 8.1 as the default. This
> allows no-change rebuilds of various php components to build against
> that version. This rebuilding of the PHP ecosystem is what consumes
> most of the time for this transition, and of course help's always
> welcome.

php-defaults of course will block for a while :)

Cheers,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer https://www.debian.org/
slangasek@ubuntu.com vorlon@debian.org