CDash
CDash copied to clipboard
Please add support for php 8.x (Ubuntu 22.04)
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].
#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 🤞
Awesome!
@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. :)
Dear @zackgalbreath , any progress on this?