Repository navigation
Open
Description
Opened by Claude Code at @rfay's request.
Short summary (TL;DR)
The Drupal templates carry three workarounds for Drupal 12 and Drush 15. This issue lists when each one can be removed, checked on 2026-11-17.
Is there an existing issue for this?
- I have searched the existing issues in this repository
Is your feature request related to a problem?
Each workaround below was added for a specific upstream state. Without a record of that state, nobody knows when it is safe to remove them.
| Workaround | Where | Why it is still needed (2026-11-17) | Remove when |
|---|---|---|---|
drush/drush:<15 |
drupal-core/template.tf, drupal-contrib/template.tf, both scripts/test-issue-branches.sh, drupal-core/README.md |
Drush 15's drush command only prints "call dr" and exits 1. Drush 15 also has no site:install, and core's dr has no replacement for it. Drush 15.x-dev now conflicts only with drupal/core < 11.5, so without the pin Drupal 11.5 would get it too. |
Drush 14 stops supporting the Drupal versions we test, and something else can install a site. |
DRUPAL_CORE_CONSTRAINT="12.x-dev" |
drupal-contrib/template.tf |
12.x-dev is the branch alias of core's main. With ^12, Composer installs 12.0.0-beta2 and the cell stops tracking core HEAD. drupal.org #3625969, the Twig error that started this, is fixed. |
Drupal 12.0.0 is tagged. Then decide whether the Drupal 12 cell should test the release or HEAD. |
preferred-install: source for drupal/core on Drupal 12 |
drupal-contrib/template.tf |
A dist install of a dev branch leaves out core/tests. |
The previous row is removed. |
Describe your solution
Check this table when each trigger happens:
- When Drupal 12.0.0 is tagged, change the constraint to
^12and remove thesourceinstall, unless the Drupal 12 cell should keep tracking HEAD. - Keep the Drush pin while Drush 14 works. Drush 14.x has only dev releases, so watch for it to stop supporting Drupal 12 or
main.
Describe alternatives
- Use core's
drfor Drupal 12, as Remove the Drush <15 pin and use core's dr for Drupal 12 #251 proposes. This does not work, becausedrcannot install a site.
Additional context
- fix: pin Drush below 15 so Drupal 12 workspaces finish setup #250: added the Drush pin.
- Remove the Drush <15 pin and use core's dr for Drupal 12 #251: proposed removing the pin by switching to
dr. - https://weitzman.github.io/blog/drush-15: the Drush 15 change.
🤖 Generated with Claude Code
Metadata
Metadata
Assignees
Labels
No labels
Activity