Problem/Motivation

https://git.drupalcode.org/project/examples/-/commit/00653398e4e96ba7427... already give an initial try for loose requirements for core_version_requirement:

core_version_requirement: ^8.7 || ^9

BTW it is still not enough for Drupal 9.1.x which coming with following error message:

The 'core_version_requirement' can not be used to specify compatibility for a specific version before 8.7.7 in modules/contrib/examples/examples.info.

Steps to reproduce

drush -y site:install

Proposed resolution

Update all *.info.yml as below:

core_version_requirement: ^8.7.7 || ^9
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hswong3i created an issue. See original summary.

hswong3i’s picture

AJV009’s picture

Status: Active » Needs review

Status: Needs review » Needs work
eojthebrave’s picture

Priority: Normal » Major

It's currently not possible to install any of the example's in this project in Drupal 9.2.x without the patch in #2. With that patch applied I can install the module's in this project.

The failing test appears to be because of #3051766: Deprecate and replace jQuery Joyride (for tours). It's in the tour_example and not directly related to this issue. But ... since 9.2.x has replaced the way tour tips are rendered the existing test which inspects the page's HTML fails.

Bumping to major. Though you could probably argue this is a critical issue since it seems the project is currently incompatible with latest release of Drupal core.

  • valthebald committed 28cefee on 3.x
    Issue #3211322 by hswong3i: Loose requirements of examples module for...
valthebald’s picture

@eojthebrave: thanks for pointing out the source of the breaking tests. I've opened #3238712: Change tour_example following deprecation of jQuery joyride as a follow-up issue, marking this one as fixed

valthebald’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.