Problem/Motivation

The 4.x branch was created from 3.x and still supports Drupal ^10.3 || ^11. Before the rest of the 4.x work can happen, the branch has to drop Drupal 10 and start testing against Drupal 12.

Converting entity types to attributes requires Drupal 11.1. Fixing Drupal 12 deprecations needs a CI job running against the next major.

Proposed resolution

  • Require drupal/core: ^11.1 in composer.json and core_version_requirement: ^11.1 in all *.info.yml files.
  • Require php: ^8.3 (the Drupal 11 minimum).
  • Review dependency constraints and drop branches that only existed for Drupal 10 support (e.g. drupal/inline_entity_form 1.x).
  • In .gitlab-ci.yml, set OPT_IN_TEST_NEXT_MAJOR: 1 and allow that job to fail, so Drupal 12 failures are visible without blocking the pipeline. The job becomes blocking in #3586548: Drupal 12 compatibility.
  • Disable OPT_IN_TEST_PREVIOUS_MAJOR, since Drupal 10 is no longer supported.

Drupal 12 is not declared as supported here; that happens in #3586548: Drupal 12 compatibility once tests pass on Drupal 12.

Remaining tasks

  • Update constraints and CI configuration.
  • Confirm the pipeline is green on Drupal 11.

User interface changes

None.

API changes

None. Drupal 10 and PHP < 8.3 are no longer supported on 4.x.

Data model changes

None.

Issue fork commerce-3638817

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jsacksick created an issue. See original summary.

  • jsacksick committed 923f6363 on 4.x
    chore: #3638817 Require Drupal ^11.1 and PHP ^8.3, test against Drupal...
jsacksick’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.