Steps to reproduce

When trying to upgrade from beta1 to beta 2 on a Drupal 9.1.9 site, I get the following error:

Drupal\Core\Extension\InfoParserException: The 'core_version_requirement' constraint (9.1.9) requires the 'core' key not be set in temporary://update-extraction-21a7228c/entity_legal/tests/modules/entity_legal_test/entity_legal_test.info.yml

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:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

djg_tram created an issue. See original summary.

djg_tram’s picture

Issue summary: View changes
djg_tram’s picture

Issue summary: View changes

radimklaska made their first commit to this issue’s fork.

radimklaska’s picture

Status: Active » Needs review
pfrenssen’s picture

Status: Needs review » Reviewed & tested by the community

Thanks! Straightforward fix.

claudiu.cristea’s picture

Version: 3.0.0-beta2 » 3.0.x-dev
Status: Reviewed & tested by the community » Closed (duplicate)
Related issues: +#3163553: Convert tests to PHPUnit

Already fixed in #3163553: Convert tests to PHPUnit. Thank you

MFH’s picture

I get the same when trying to add the module "php" (8.x) in my Drupal 9.4.1 (via /admin/modules/install):

Drupal\Core\Extension\InfoParserException: The 'core_version_requirement' constraint (9.4.1) requires the 'core' key not be set in temporary://update-extraction-4b3eafae/php/tests/modules/php_views_test_config/php_views_test_config.info.yml in Drupal\Core\Extension\InfoParserDynamic->parse() (line 88 of ~/www/mysite/core/lib/Drupal/Core/Extension/InfoParserDynamic.php).