Drush 13 compatibility

Created on 27 February 2025, 2 months ago

"drupal/install_profile_generator": "^4.0.x-dev",
"drush/drush": "^13",

When drupal/install_profile_generator (dev-4.0.x) is installed with Drush v12.x this is fine, but getting errors when installing drush 13

Problem 1

- drupal/install_profile_generator dev-4.0.x requires drush/drush ^11 || ^12 -> found drush/drush[11.0.0-rc1, ..., 11.x-dev, 12.0.0-beta1, ..., 12.x-dev] but it conflicts with your root composer.json require (^13).

πŸ› Bug report
Status

Active

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jakegibs617

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

Merge Requests

Comments & Activities

  • Issue created by @jakegibs617
  • πŸ‡¨πŸ‡¦Canada SKAUGHT

    Seems like it would be a good time to include Drupal 11 in the modules .info.yml. I'm not sure if tests are running here..

  • πŸ‡ΊπŸ‡ΈUnited States jakegibs617

    thats a good idea @skaught

    and sorry if I am making a mess of these 2 branches. First time for me trying to update via a fork. I tried using a patch at first, but it would not work for some reason.

    So far trying to get things to work like this...

    {
      "name": "foobar/foobar",
      "description": "Custom foobar Drupal profile",
      "type": "profile",
      "license": "GPL-2.0-or-later",
      "repositories": {
        "0": {
          "type": "vcs",
          "url": "https://git.drupalcode.org/issue/install_profile_generator-3509491.git"
        },
      "require": {
        "composer/installers": "^2.3",
        "php": "^8.0",
        "drupal/core-recommended": "10.4.2",
        "symfony/polyfill-mbstring": "^1.27.0",
        "drush/drush": "^13",
        "drupal/install_profile_generator": "dev-4.0.x",
    

    Mainly focusing on Drush 13 so far. Still getting some errors

  • πŸ‡ΊπŸ‡ΈUnited States jakegibs617

    jakegibs617 β†’ changed the visibility of the branch 3509491-drush-13-compatibility to hidden.

  • πŸ‡ΊπŸ‡ΈUnited States jakegibs617

    jakegibs617 β†’ changed the visibility of the branch 4.0.1 to hidden.

  • πŸ‡ΊπŸ‡ΈUnited States jakegibs617

    jakegibs617 β†’ changed the visibility of the branch 3509491-drush-13-compatibility to active.

  • Merge request !12drupal 11 and drush 13 β†’ (Open) created by Unnamed author
  • πŸ‡¨πŸ‡¦Canada SKAUGHT

    Assuming you have your composer.json setup to use Patch, you can apply the "plain diff" of this patch from the dev line of the projects repo

Production build 0.71.5 2024