Test module not compatible with Drupal 9

Created on 20 February 2023, over 1 year ago
Updated 10 December 2023, 7 months ago

Problem/Motivation

Installation within Drush fails:

In InfoParserDynamic.php line 88:
  The 'core_version_requirement' constraint (9.5.1) requires the 'core' key not be set in modules/contrib/preprocessors/tests/modules/preprocessors_tests/preprocessors_tests.info.yml

Steps to reproduce

composer require drupal/preprocessors
drush en preprocessors

Proposed resolution

Fix the info file of the "test" module.

NOTE: the 2.x branch is not available in the list of version when creating a new issue. You should fix this in the project settings.

πŸ› Bug report
Status

Closed: won't fix

Version

2.0

Component

Code

Created by

πŸ‡±πŸ‡ΊLuxembourg B-Prod

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @B-Prod
  • Status changed to Needs review over 1 year ago
  • πŸ‡±πŸ‡ΊLuxembourg B-Prod

    Patch below fixes this issue, and correct a typo in the dependencies definition.

  • Status changed to RTBC over 1 year ago
  • πŸ‡΅πŸ‡­Philippines kenyoOwen

    Hi B-Prod

    I applied patch #2 against the Preprocessors 2.0.0-alpha1 and with core version 9.5.3 and it is working properly as expected.

    Please look at the screenshots attached for your reference.

    For your review.
    Thank you.

  • Status changed to Closed: won't fix 7 months ago
  • πŸ‡¨πŸ‡¦Canada ksere Montreal

    2.x will be abandoned unfortunately in favor of 3.x, where test modules will be completely rewritten.

    That being said, thank you for the work so many months ago.

Production build 0.69.0 2024