Public bug reported:

[Description]
The canonical-server team is requesting a feature freeze exception for
acceptance of a transition of the PHP stack to PHP 7.3 from 7.2.

[Rationale]
Ubuntu has been on PHP 7.2 since 18.04.  Updating to PHP 7.3 in eoan
will give people ample time to test and update dependent packages prior
to starting the LTS.

All the version dependent PHP packages on the transitions page[1] have
been verified to build with no changes[2].  There are no new
dependencies, no dependency version changes, and no patches needing
applied apart from the php-defaults switch itself.

However, Mysql is also currently undergoing a transition to Mysql 8.0,
and recommendation from Foundations team is to fully complete the Mysql
transition, and don't cross the streams.  While this transition is
nearly completed, few days remain before FF, so it is likely the start
of the PHP transition needs delayed until after Feature Freeze.


[Timeline]
The PHP uploads have already been staged in a PPA and tested in LXD.
Next step is to start package uploads, which can begin as soon as the
Mysql8 transition is complete; current estimates suggest late August
(Aug 26th?), possibly sooner.

Uploads would occur in phases, as follows:

0.  php-defaults

    The version in the PPA is patched to switch it from 7.2 to 7.3.
    Upload it, wait for it to finish building and publishing.

1.  php-apcu php-msgpack php-propro

    Several subsequent packages depend on these three.  Build, and wait
    for them to fully publish.

2.  php-apcu-bc php-igbinary php-imagick

    Intermediary dependencies.

3.  php-raphf       php-memcache    php-pinba       php-smbclient php-uuid      
 libvirt-php
    owfs            php-cassandra   php-geoip       php-ps        php-solr      
 php-ssh2
    php-amqp        php-ds          php-geos        php-lua       php-mongodb   
 php-radius
    php-excimer     php-gmagick     php-luasandbox  php-oauth     php-stomp     
 php-zmq
    php-gnupg       php-mailparse   php-rrd         php-yac       php-yaml      
 php-uploadprogress

    In no particular order here, if steps 0, 1, and 2 worked fine, these
    should go in no problem.

4.  php-redis       php-memcached   libguestfs      php-ast       php-facedetect
    php-pecl-http   mapserver       remctl          sassphp       
uwsgi-plugin-php
    wikidiff2       php-horde-lz4   php-gearman     tideways      xdebug
    zeroc-ice

    Again, no particular order, just make sure everything in step 3 has
    built and published first.  

    Note that zeroc-ice is a lengthy build.

In theory, each phase can be completed within a day, but will depend on
Launchpad build loads.  Dep8 test failures or build breakages due to
mysql8 issues may result in additional days for troubleshooting.
Ideally, if all goes to plan, the transition should be completed within
one week; if not, two weeks would be a more conservative estimate.

A worksheet for tracking the transition progress is available to team
members here, including initial findings from local dep8 testing:

https://docs.google.com/spreadsheets/d/1v4OhTYkx3PYimgGJxZIwfqhcZ1kq4Zvp7iU6DDPm7k0/edit#gid=1376284803


[Risks]
7.3 is an incremental release over 7.2, and what's shown in the
changelog seems mainly refinements and enhancements, so breakage from
the upgrade itself is not expected; this seems to be borne out from
results of rebuilds and testing so far.  Debian has been carrying 7.3
for a while and Eoan has already sync'd/merged fixes for issues they've
found.  Thus PHP 7.3 itself seems low risk for Eoan.

But since the PHP 7.3 stack and Mysql8.0 stack have not been tested in
combination yet, this seems like a potential area for problems to crop
up.  For example, Mysql8 deprecates mysql_install_db, which affects at
least php7.*.  But if problems do arise, it would be valuable to tackle
them now while the Mysql8 transition experience is fresh.

Having this transition completed in Eoan will leave us in a good spot
going into 20.04.


1: 
https://people.canonical.com/~ubuntu-archive/transitions/html/html/php7.3.html
2: https://launchpad.net/~bryce/+archive/ubuntu/php7.3-transition.4/+packages
3: https://launchpad.net/~mysql-ubuntu/+archive/ubuntu/mysql-8.0

** Affects: php-defaults (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1840330

Title:
  [FFe] PHP 7.3 transition

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php-defaults/+bug/1840330/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to