wp-cli/builds

No PHP 8.2 compatible release of deb archive

kitserve opened this issue · 3 comments

Please can you package up and release a PHP 8.2 compatible version of php-wcli_2.8.1_all.deb? Only one change is required, adding | php-mysql to the Depends list. I was able to decompress the current deb file, update Depends in DEBIAN/control, rebuild the package, and then install it on Debian Bookworm, which ships with PHP 8.2 as standard. I haven't tested exhaustively but so far I haven't come across any errors.

In the meantime you could just apt-get install php-mysql`

I see!
The last choice is php8.0-mysql.
https://github.com/wp-cli/wp-cli-bundle/blob/2d805d2f519254f8e790b1451a9647a460bdb25b/utils/wp-cli-updatedeb.sh#L34
You could open a PR.

Done! Thanks for the speedy response :-)

@schlessera Can you rebuild php-wpcli_2.8.1_all.deb now that wp-cli/wp-cli-bundle#562 is applied? It looks like php-wpcli_latest_all.deb is out of date too.