-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Composer 2.5 #172
Comments
@danielbachhuber do you know anything specific that needs fixing, or is it just untested? |
@stefanfisk I think some fixes are needed for this: https://github.com/wp-cli/package-command/actions/runs/4189588371/jobs/7262087460#step:13:318 |
@danielbachhuber cool, that looks easy enough. Is it OK to go with only |
@stefanfisk We can remove |
@danielbachhuber so after making the changes required I found some old related issues where this exact change was abandoned because Composer 2.3 is not compatible with PHP 5.6: #151 #152 So as long as PHP 5.6 compatibility is required this is not fixable. I'm not familiar with the PHP compatibility policy for WP-CLI, is PHP 5.6 compatiblity still required? And if it is, is there any end date for said compatiblity requirement? 5.6 is absolutely ancient by now :/ |
@stefanfisk Ah, good find.
We'll need to support support PHP 5.6 at least as long as WordPress core supports 5.6. Fortunately, that should be over soon. In 2019, our plan was to support PHP 5.6 for at least a year after core removed support. It seems like we may need to revisit that, though. |
As a workaround, I switch from It's a bit ugly, but would you be OK with having to implementations of |
@stefanfisk Yes, that would be a perfectly fine approach |
See wp-cli/package-command#172 for wp-cli/bundle fork reason
See wp-cli/package-command#172 for wp-cli/bundle fork reason
See wp-cli/package-command#172 for wp-cli/bundle fork reason
We should update
wp-cli/package-command
so it can be installed wherecomposer/composer
2.5 is a dependency.From #167 (comment)
Done is:
wp-cli/package-command
supportscomposer/composer:~2.5
.The text was updated successfully, but these errors were encountered: