-
Notifications
You must be signed in to change notification settings - Fork 808
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
General: update WP version requirements to WordPress 6.3. #34127
Conversation
WordPress 6.4 is out, we can now require WP-1, i.e. WP 6.3. Primary issue: #32865
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 The e2e test report can be found here. Please note that it can take a few minutes after the e2e tests checks are complete for the report to be available. Once your PR is ready for review, check one last time that all required checks appearing at the bottom of this PR are passing or skipped. Jetpack plugin: The Jetpack plugin has different release cadences depending on the platform:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Backup plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Search plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Social plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Starter Plugin plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Protect plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Videopress plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Super Cache plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Migration plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Inspect plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. |
<config name="minimum_supported_wp_version" value="6.2" /> | ||
<config name="testVersion" value="5.6-"/> | ||
<config name="minimum_supported_wp_version" value="6.3" /> | ||
<config name="testVersion" value="7.0-"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
I'm guessing a separate PR will be for dropping obsolete code paths, but if we're going to do this here then let's go ahead and drop PHP 5 from other places in CI too:
jetpack/.github/files/generate-ci-matrix.php
Lines 71 to 78 in 133f8db
// PHP 5.6 support was dropped in WP 6.3. Remove this (and everything elsewhere related to PHP 5.6) when we drop support for earlier versions. $matrix[] = array( 'name' => 'PHP tests: PHP 5.6 WP previous', 'script' => 'test-php', 'php' => '5.6', 'wp' => 'previous', 'timeout' => 20, // 2022-01-25: 5.6 tests have started timing out at 15 minutes. Previously: Successful runs seem to take ~8 minutes for PHP 5.6 and for the 7.4 trunk run, ~5.5-6 for 7.x and 8.0. ); Line 8 in 133f8db
MIN_PHP_VERSION=5.6 jetpack/.github/workflows/linting.yml
Line 174 in 133f8db
php-versions: [ '5.6', '7.0', '7.2', '7.4', '8.0', '8.1', '8.2' ]
Bunch of doc references to 5.6 too:
jetpack/docs/coding-guidelines.md
Line 7 in 133f8db
- Jetpack supports PHP 5.6, as per WordPress' own requirements. Keep that in mind when developing for Jetpack. jetpack/docs/development-environment.md
Lines 378 to 384 in 133f8db
* ### Checking Jetpack's PHP for compatibility with different versions of PHP since 5.6 We have a handy `composer` script that will just run the PHP CodeSniffer `PHPCompatibilityWP` ruleset checking for code not compatible with PHP 5.6 ```sh composer phpcs:compatibility ``` Line 45 in 133f8db
All projects should be compatible with PHP versions WordPress supports. That's currently PHP 5.6 to 8.0. Line 213 in 133f8db
Tests are run with a variety of supported PHP versions from 5.6 to 8.0. If you have tests that only need to be run once, run them when `PHP_VERSION` matches that in `.github/versions.sh`. Line 221 in 133f8db
* [yoast/phpunit-polyfills](https://packagist.org/packages/yoast/phpunit-polyfills) supplies polyfills for compatibility with PHPUnit 5.7 to 9.0, to support PHP 5.6 to 8.0. - 5.6 - current
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm guessing a separate PR will be for dropping obsolete code paths,
Yup, doing this in #34126
@@ -1,7 +1,7 @@ | |||
=== Jetpack VaultPress Backup === | |||
Contributors: automattic, bjorsch, fgiannar, initsogar, jeherve, jwebbdev, kraftbj, macbre, samiff, sermitr, williamvianas | |||
Tags: jetpack, backup, restore | |||
Requires at least: 6.2 | |||
Requires at least: 6.3 | |||
Requires PHP: 5.6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we update all these "Requires PHP" lines right away too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was hoping #34126 would get merged before this one, that should help.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's do it!
Proposed changes:
WordPress 6.4 is out, we can now require WP-1, i.e. WP 6.3.
Other information:
Jetpack product discussion
Primary issue: #32865
Does this pull request change what data or activity we track or use?
Testing instructions: