CDash icon indicating copy to clipboard operation
CDash copied to clipboard

Please add support for php 8.x (Ubuntu 22.04)

Open emmenlau opened this issue 3 years ago • 2 comments

Since Ubuntu 22.04 has come out we tried to update, but now our CDash instance stopped working. The website said php 7.3 or newer would be supported, but it seems that does not include the php 8.x releases?

I get errors like:

CDash> composer update
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]? yes
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires php ^7.3 but your php version (8.1.2) does not satisfy that requirement.
  Problem 2
    - Root composer.json requires PHP extension ext-xdebug * but it is missing from your system. Install or enable PHP's xdebug extension.
  Problem 3
    - Root composer.json requires bernard/bernard 1.0.0-alpha9 -> satisfiable by bernard/bernard[1.0.0-alpha9].
    - bernard/bernard 1.0.0-alpha9 requires php ^5.6 || ^7.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 4
    - Root composer.json requires php-http/guzzle6-adapter 2 -> satisfiable by php-http/guzzle6-adapter[v2.0.0].
    - php-http/guzzle6-adapter v2.0.0 requires php ^7.1 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 5
    - phpunit/phpunit[7.0.0, ..., 7.5.20] require php ^7.1 -> your php version (8.1.2) does not satisfy that requirement.
    - Root composer.json requires phpunit/phpunit ^7.0 -> satisfiable by phpunit/phpunit[7.0.0, ..., 7.5.20].

emmenlau avatar Jul 25 '22 07:07 emmenlau

#1258 was merged yesterday. That removed the dependency on a pinned version of Bernard, which was a big blocker for PHP 8 support. I hope to revisit this soon to see if we can support PHP 8 in the near future 🤞

zackgalbreath avatar Aug 12 '22 18:08 zackgalbreath

Awesome!

emmenlau avatar Aug 12 '22 19:08 emmenlau

@zackgalbreath Am I correct that #1258 was merged after the last CDash release (3.1)?

PHP 7.x security updates end in 2 days, so it seems a new release of CDash is in order. :)

seanm avatar Nov 25 '22 23:11 seanm

Dear @zackgalbreath , any progress on this?

emmenlau avatar Dec 04 '22 13:12 emmenlau