Kitware / CDash

An open source, web-based software testing server
http://www.cdash.org/
Other
218 stars 76 forks source link

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

Closed emmenlau closed 1 year ago

emmenlau commented 2 years ago

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].
zackgalbreath commented 2 years ago

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 🤞

emmenlau commented 2 years ago

Awesome!

seanm commented 2 years ago

@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. :)

emmenlau commented 1 year ago

Dear @zackgalbreath , any progress on this?

seanm commented 1 year ago

@zackgalbreath would it help if we ran current master on our test server? We could do some testing against PHP 8.1 and see if anything pops up...

zackgalbreath commented 1 year ago

Sorry for the delay, we're working on it!

On Tue, Dec 13, 2022 at 7:07 PM Sean McBride @.***> wrote:

@zackgalbreath https://github.com/zackgalbreath would it help if we ran current master on our test server? We could do some testing against PHP 8.1 and see if anything pops up...

— Reply to this email directly, view it on GitHub https://github.com/Kitware/CDash/issues/1257#issuecomment-1350124035, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABW3UBRKGBEBFP3MS5TDZTWNEFVRANCNFSM54RF6GRA . You are receiving this because you were mentioned.Message ID: @.***>

seanm commented 1 year ago

@zackgalbreath any news?

Also to repeat my previous question: would it help if we ran current master on our test server? We could do some testing against PHP 8.1 and see if anything pops up...

zackgalbreath commented 1 year ago

Yes, CDash master has been updated to require PHP 8.1. We're hoping to release CDash v3.2 soon.

williamjallen commented 1 year ago

Zack has created a branch for the CDash 3.2 release, which contains support for PHP 8.1. We expect to finish the release candidate phase and make an official release in the next few weeks.

emmenlau commented 1 year ago

Any updates on this?

williamjallen commented 1 year ago

We currently have a release branch for 3.2, but we're waiting for final validation before making a new release.

emmenlau commented 1 year ago

Sounds great, I can not wait to switch to 3.2! Thanks for the thumbs up!

williamjallen commented 1 year ago

We don't expect to make any major changes to the release branch, so if you're itching to try out the new release, feel free to use the current release candidate. https://open.cdash.org and https://my.cdash.org have been running the release candidate for a few months now.

seanm commented 1 year ago

Since last week, we are now running cdash 3.2rc1 with PHP 8.1, and it's been working well.