Problem/Motivation

drupal.org's composer facade turns each module's info.yml dependencies into drupal/<name>: * requires, so the published package required drupal/media_directories_editor: *, whose only stable releases (2.0.x) cap at drupal/core ^8.8.3 || ^9; a Drupal 11 site could not resolve cucumber_core at all.

Steps to reproduce

Require drupal/cucumber_core (or composer create-project webship/cucumber-project) on a Drupal 11 codebase; Composer fails to resolve due to the media_directories_editor ^8.8.3||^9 core cap.

Proposed resolution

Require drupal/media_directories, drupal/media_directories_ui and drupal/media_directories_editor at ^3.0@rc: the 3.0 line supports core ^10.2 || ^11 || ^12, and editor 3.0.0-rc1 requires media_directories ^3, so the 2.x and 3.x components cannot be mixed. Verified: with this pin plus the distribution's root stability, composer create-project webship/cucumber-project and bin/drush site:install cucumber complete on Drupal 11.4.7 + PHP 8.4; the lock has 9 non-stable of 186 packages.

AI-Generated: Yes

Remaining tasks

  • ✅ File an issue about this project
  • ❌ Addition/Change/Update/Fix to this project
  • ❌ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ UX/UI designer responsibilities
  • ➖ Accessibility and Readability
  • ❌ Reviewed by a human
  • ❌ Code review by maintainers
  • ❌ Full testing and approval
  • ❌ Credit contributors
  • ❌ Review with the product owner
  • ❌ Update Release Notes
  • ❌ Release

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • N/A
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

rajab natshah created an issue. See original summary.

  • rajab natshah committed d2733ea6 on 12.0.x
    fix: #3625348 Pin the Media Directories family so Cucumber Core can be...
rajab natshah’s picture

Status: Active » Fixed
Issue tags: +cucumber_core-12.0.2

✅ Released in cucumber_core 12.0.2.

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.

Status: Fixed » Closed (fixed)

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