Unable to upgrade from Drupal 9.5.9 to Drupal 10.0.9

Created on 23 June 2023, over 1 year ago

Hi Team,

The current version of Drupal is 9.5.9, and I get an error when I upgrade to Drupal 10.0.9 using Composer.

PHP - 8.1.14
Core - 9.5.9
Composer - 2.2.9

After getting the 100% score on Upgrade Status, I run the below comments, - https://www.drupal.org/docs/upgrading-drupal/upgrading-from-drupal-8-or-...

Command 1 - composer require 'drupal/core-recommended:10.0.7' 'drupal/core-composer-scaffold:10.0.7' 'drupal/core-project-message:10.0.7' --update-with-dependencies --no-update

Command 2 - composer update -W --dry-run

And the Error Message:

Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires pantheon-upstreams/upstream-configuration dev-drupal10 -> satisfiable by pantheon-upstreams/upstream-configuration[dev-drupal10].
- pantheon-upstreams/upstream-configuration dev-drupal10 requires drupal/core-composer-scaffold ^9 -> found drupal/core-composer-scaffold[9.0.0-alpha1, ..., 9.5.x-dev] but it conflicts with your root composer.json require (10.0.7).
Problem 2
- drupal/core 10.0.7 requires php >=8.1.0 -> your php version (7.4; overridden via config.platform, actual: 8.1.3) does not satisfy that requirement.
- drupal/core-recommended 10.0.7 requires drupal/core 10.0.7 -> satisfiable by drupal/core[10.0.7].
- Root composer.json requires drupal/core-recommended 10.0.7 -> satisfiable by drupal/core-recommended[10.0.7].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

composer.json

{
"name": "pantheon-upstreams/drupal-project",
"description": "Install Drupal 9 with Composer on Pantheon.",
"type": "project",
"license": "MIT",
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
},
{
"type": "path",
"url": "upstream-configuration"
}
],
"require": {
"drupal/admin_toolbar": "^3.4",
"drupal/autologout": "^1.4",
"drupal/bamboo_twig": "^6.0",
"drupal/better_exposed_filters": "^6.0",
"drupal/color": "^1.0",
"drupal/components": "^3",
"drupal/core-composer-scaffold": "10.0.7",
"drupal/core-project-message": "10.0.7",
"drupal/core-recommended": "10.0.7",
"drupal/ctools": "^4.0",
"drupal/easy_breadcrumb": "^2.0",
"drupal/entity_reference_revisions": "^1.10",
"drupal/field_group": "^3.4",
"drupal/geolocation": "^3.12",
"drupal/jquery_ui": "^1.6",
"drupal/jquery_ui_datepicker": "^1.4",
"drupal/jquery_ui_touch_punch": "^1.1",
"drupal/media_entity_file_replace": "^1.1",
"drupal/menu_block": "^1.10",
"drupal/menus_attribute": "^1.3",
"drupal/metatag": "^1.25",
"drupal/paragraphs": "^1.15",
"drupal/password_policy": "^4.0",
"drupal/pathauto": "^1.11",
"drupal/quickedit": "^1.0",
"drupal/rdf": "^2.0",
"drupal/recommended-project": "^10",
"drupal/redirect": "^1.8",
"drupal/schema_metatag": "^2.4",
"drupal/seckit": "^2.0",
"drupal/session_limit": "^2.0@beta",
"drupal/simple_mobile_menu": "3.x-dev@dev",
"drupal/stable": "^2.0",
"drupal/token": "^1.11",
"drupal/upgrade_status": "^4.0",
"drupal/username_enumeration_prevention": "^1.3",
"drupal/xmlsitemap": "^1.4",
"drush/drush": "^12",
"pantheon-upstreams/upstream-configuration": "dev-drupal10"
},
"conflict": {
"drupal/drupal": "*"
},
"minimum-stability": "dev",
"prefer-stable": true,
"extra": {
"installer-paths": {
"web/core": ["type:drupal-core"],
"web/libraries/{$name}": ["type:drupal-library"],
"web/modules/composer/{$name}": ["type:drupal-module"],
"web/profiles/composer/{$name}": ["type:drupal-profile"],
"web/themes/composer/{$name}": ["type:drupal-theme"],
"drush/Commands/contrib/{$name}": ["type:drupal-drush"],
"web/private/scripts/quicksilver/{$name}/": ["type:quicksilver-script"]
},
"composer-exit-on-patch-failure": true,
"patchLevel": {
"drupal/core": "-p2"
},
"enable-patching": "true",
"patches": {
"drupal/paragraphs": {
"Deprecated function": " https://www.drupal.org/files/issues/2022-09-22/3310161-11.patch "
},
"drupal/jquery_ui_slider": {
"Deprecated function": " https://www.drupal.org/files/issues/2022-06-16/jquery_ui_slider.1.x-dev.... "
}
},
"drupal-scaffold": {
"allowed-packages": [
"pantheon-systems/drupal-integrations"
],
"locations": {
"web-root": "./web"
},
"file-mapping": {
"[project-root]/.editorconfig": false,
"[project-root]/pantheon.upstream.yml": false,
"[project-root]/.gitattributes": false,
"[web-root]/robots.txt": {
"append": "web/sites/default/my-robots-additions.txt"
}
}
}
},
"config": {
"preferred-install": "dist",
"sort-packages": true,
"platform": {
"php": "7.4"
},
"allow-plugins": {
"zaporylie/composer-drupal-optimizations": true,
"drupal/core-composer-scaffold": true,
"cweagans/composer-patches": true,
"composer/installers": true,
"drupal/core-project-message": true
}
},
"require-dev": {
"drupal/core-dev": "^10",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^9.6"
}
}

Command 3: composer prohibits drupal/core:^10

Info from https://repo.packagist.org: #StandWithUkraine
drupal/core-recommended            9.5.9       requires          drupal/core (9.5.9)                                      
drupal/jquery_ui_slider            1.1.0       requires          drupal/core (^8 || ^9)                                   
drupal/core                        10.0.9      requires          php (>=8.1.0 but 7.4 is installed)                       
drupal/core                        10.0.9      requires          symfony/console (^6.2)                                   
pantheon-upstreams/drupal-project  dev-master  does not require  symfony/console (but v4.4.49 is installed)               
drupal/core                        10.0.9      requires          symfony/dependency-injection (^6.2)                      
pantheon-upstreams/drupal-project  dev-master  does not require  symfony/dependency-injection (but v4.4.49 is installed)  
drupal/core                        10.0.9      requires          symfony/event-dispatcher (^6.2)                          
pantheon-upstreams/drupal-project  dev-master  does not require  symfony/event-dispatcher (but v4.4.44 is installed)      
drupal/core                        10.0.9      requires          symfony/http-foundation (^6.2)                           
pantheon-upstreams/drupal-project  dev-master  does not require  symfony/http-foundation (but v4.4.49 is installed)       
drupal/core                        10.0.9      requires          symfony/http-kernel (^6.2)                               
pantheon-upstreams/drupal-project  dev-master  does not require  symfony/http-kernel (but v4.4.50 is installed)           
drupal/core                        10.0.9      requires          symfony/mime (^6.2)                                      
pantheon-upstreams/drupal-project  dev-master  does not require  symfony/mime (but v5.4.13 is installed)                  
drupal/core                        10.0.9      requires          symfony/routing (^6.2)                                   
pantheon-upstreams/drupal-project  dev-master  does not require  symfony/routing (but v4.4.44 is installed)               
drupal/core                        10.0.9      requires          symfony/serializer (^6.2)                                
pantheon-upstreams/drupal-project  dev-master  does not require  symfony/serializer (but v4.4.47 is installed)            
drupal/core                        10.0.9      requires          symfony/validator (^6.2)                                 
pantheon-upstreams/drupal-project  dev-master  does not require  symfony/validator (but v4.4.48 is installed)             
drupal/core                        10.0.9      requires          symfony/process (^6.2)                                   
pantheon-upstreams/drupal-project  dev-master  does not require  symfony/process (but v4.4.44 is installed)               
drupal/core                        10.0.9      requires          symfony/yaml (^6.2)                                      
pantheon-upstreams/drupal-project  dev-master  does not require  symfony/yaml (but v4.4.45 is installed)                  
drupal/core                        10.0.9      requires          twig/twig (^3.4.3)                                       
pantheon-upstreams/drupal-project  dev-master  does not require  twig/twig (but v2.15.5 is installed)                     
drupal/core                        10.0.9      requires          guzzlehttp/guzzle (^7.5)                                 
pantheon-upstreams/drupal-project  dev-master  does not require  guzzlehttp/guzzle (but 6.5.8 is installed)               
drupal/core                        10.0.9      requires          guzzlehttp/psr7 (^2.4)                                   
pantheon-upstreams/drupal-project  dev-master  does not require  guzzlehttp/psr7 (but 1.9.1 is installed)                 
drupal/core                        10.0.9      requires          asm89/stack-cors (^2.1)                                  
pantheon-upstreams/drupal-project  dev-master  does not require  asm89/stack-cors (but 1.3.0 is installed)                
drupal/core                        10.0.9      requires          psr/log (^3.0)                                           
pantheon-upstreams/drupal-project  dev-master  does not require  psr/log (but 1.1.4 is installed)

Error Message :

Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires pantheon-upstreams/upstream-configuration dev-drupal10 -> satisfiable by pantheon-upstreams/upstream-configuration[dev-drupal10].
- pantheon-upstreams/upstream-configuration dev-drupal10 requires drupal/core-composer-scaffold ^9 -> found drupal/core-composer-scaffold[9.0.0-alpha1, ..., 9.5.x-dev] but it conflicts with your root composer.json require (^10).
Problem 2
- drupal/core-recommended 10.0.x-dev requires drupal/core 10.0.x-dev -> satisfiable by drupal/core[10.0.x-dev].
- drupal/core-recommended 10.1.x-dev requires drupal/core 10.1.x-dev -> satisfiable by drupal/core[10.1.x-dev].
- drupal/core-recommended 10.0.0-alpha1 requires drupal/core 10.0.0-alpha1 -> satisfiable by drupal/core[10.0.0-alpha1].
- drupal/core-recommended 10.0.0-alpha2 requires drupal/core 10.0.0-alpha2 -> satisfiable by drupal/core[10.0.0-alpha2].
- drupal/core-recommended 10.0.0-alpha3 requires drupal/core 10.0.0-alpha3 -> satisfiable by drupal/core[10.0.0-alpha3].
- drupal/core-recommended 10.0.0-alpha4 requires drupal/core 10.0.0-alpha4 -> satisfiable by drupal/core[10.0.0-alpha4].
- drupal/core-recommended 10.0.0-alpha5 requires drupal/core 10.0.0-alpha5 -> satisfiable by drupal/core[10.0.0-alpha5].
- drupal/core-recommended 10.0.0-alpha6 requires drupal/core 10.0.0-alpha6 -> satisfiable by drupal/core[10.0.0-alpha6].
- drupal/core-recommended 10.0.0-alpha7 requires drupal/core 10.0.0-alpha7 -> satisfiable by drupal/core[10.0.0-alpha7].
- drupal/core-recommended 10.0.0-beta1 requires drupal/core 10.0.0-beta1 -> satisfiable by drupal/core[10.0.0-beta1].
- drupal/core-recommended 10.0.0-beta2 requires drupal/core 10.0.0-beta2 -> satisfiable by drupal/core[10.0.0-beta2].
- drupal/core-recommended 10.0.0-rc1 requires drupal/core 10.0.0-rc1 -> satisfiable by drupal/core[10.0.0-rc1].
- drupal/core-recommended 10.0.0-rc2 requires drupal/core 10.0.0-rc2 -> satisfiable by drupal/core[10.0.0-rc2].
- drupal/core-recommended 10.0.0-rc3 requires drupal/core 10.0.0-rc3 -> satisfiable by drupal/core[10.0.0-rc3].
- drupal/core-recommended 10.0.0 requires drupal/core 10.0.0 -> satisfiable by drupal/core[10.0.0].
- drupal/core-recommended 10.0.1 requires drupal/core 10.0.1 -> satisfiable by drupal/core[10.0.1].
- drupal/core-recommended 10.0.2 requires drupal/core 10.0.2 -> satisfiable by drupal/core[10.0.2].
- drupal/core-recommended 10.0.3 requires drupal/core 10.0.3 -> satisfiable by drupal/core[10.0.3].
- drupal/core-recommended 10.0.4 requires drupal/core 10.0.4 -> satisfiable by drupal/core[10.0.4].
- drupal/core-recommended 10.0.5 requires drupal/core 10.0.5 -> satisfiable by drupal/core[10.0.5].
- drupal/core-recommended 10.0.6 requires drupal/core 10.0.6 -> satisfiable by drupal/core[10.0.6].
- drupal/core-recommended 10.0.7 requires drupal/core 10.0.7 -> satisfiable by drupal/core[10.0.7].
- drupal/core-recommended 10.0.8 requires drupal/core 10.0.8 -> satisfiable by drupal/core[10.0.8].
- drupal/core-recommended 10.0.9 requires drupal/core 10.0.9 -> satisfiable by drupal/core[10.0.9].
- drupal/core-recommended 10.1.0-alpha1 requires drupal/core 10.1.0-alpha1 -> satisfiable by drupal/core[10.1.0-alpha1].
- drupal/core-recommended 10.1.0-beta1 requires drupal/core 10.1.0-beta1 -> satisfiable by drupal/core[10.1.0-beta1].
- drupal/core-recommended 10.1.0-rc1 requires drupal/core 10.1.0-rc1 -> satisfiable by drupal/core[10.1.0-rc1].
- drupal/core-recommended 10.1.0 requires drupal/core 10.1.0 -> satisfiable by drupal/core[10.1.0].
- drupal/core[10.0.0-alpha2, ..., 10.1.x-dev] require php >=8.1.0 -> your php version (7.4; overridden via config.platform, actual: 8.1.3) does not satisfy that requirement.
- drupal/core 10.0.0-alpha1 requires php >=8.0.2 -> your php version (7.4; overridden via config.platform, actual: 8.1.3) does not satisfy that requirement.
- Root composer.json requires drupal/core-recommended ^10 -> satisfiable by drupal/core-recommended[10.0.0-alpha1, ..., 10.1.x-dev].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

💬 Support request
Status

Active

Version

10.0

Component
Composer 

Last updated 5 days ago

No maintainer
Created by

🇮🇳India divya.pm

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

Comments & Activities

  • Issue created by @divya.pm
  • Status changed to Postponed: needs info over 1 year ago
  • Please read these over:

    - Root composer.json requires pantheon-upstreams/upstream-configuration dev-drupal10 -> satisfiable by pantheon-upstreams/upstream-configuration[dev-drupal10].
    - pantheon-upstreams/upstream-configuration dev-drupal10 requires drupal/core-composer-scaffold ^9 -> found drupal/core-composer-scaffold[9.0.0-alpha1, ..., 9.5.x-dev] but it conflicts with your root composer.json require (10.0.7).
    Problem 2
    - drupal/core 10.0.7 requires php >=8.1.0 -> your php version (7.4; overridden via config.platform, actual: 8.1.3) does not satisfy that requirement.

    pantheon-upstreams/upstream-configuration dev-drupal10 requires Drupal 9. Talk to Pantheon.

    Drupal 10 requires PHP 8.1. That site is running 7.4.

  • 🇮🇳India divya.pm

    Thanks,
    I already updated the PHP version on pantheon.yml to php_version: 8.1, and the status report shows as 8.1.14.

    I will check with Pantheon on "pantheon-upstreams/upstream-configuration dev-drupal10 requires Drupal 9."

  • Is the CLI version of PHP also 8.1?

  • Actually in fact the problem with PHP is that the config.platform.php in composer.json is set to 7.4, although the actual version is 8.1.3. The error message is saying exactly that.

  • 🇮🇳India divya.pm

    Hello,

    I followed https://docs.pantheon.io/drupal-10, and I am getting the below error.

    Your requirements could not be resolved to an installable set of packages.
    
      Problem 1
        - Root composer.json requires pantheon-upstreams/upstream-configuration dev-master, dev-drupal10, found pantheon-upstreams/upstream-configuration[dev-master, dev-drupal10] but it does not match the constraint.
      Problem 2
        - zendframework/zend-feed[2.11.0, ..., 2.12.0] require php ^5.6 || ^7.0 -> your php version (8.2.0; overridden via config.platform, actual: 8.1.3) does not satisfy that requirement.
        - laminas/laminas-feed[2.12.0, ..., 2.12.3] require php ^5.6 || ^7.0 -> your php version (8.2.0; overridden via config.platform, actual: 8.1.3) does not satisfy that requirement.
        - symfony-cmf/routing[1.4.0-RC1, ..., 1.4.1] require php ^5.3.9|^7.0 -> your php version (8.2.0; overridden via config.platform, actual: 8.1.3) does not satisfy that requirement.
        - drupal/core[8.9.11, ..., 8.9.20] require php ^7.0.8 -> your php version (8.2.0; overridden via config.platform, actual: 8.1.3) does not satisfy that requirement.
        - drupal/core[9.0.10, ..., 9.0.14] require php ^7.3 -> your php version (8.2.0; overridden via config.platform, actual: 8.1.3) does not satisfy that requirement.
        - drupal/better_exposed_filters 6.0.3 requires drupal/jquery_ui_datepicker ^2.0 -> found drupal/jquery_ui_datepicker[2.0.0] but it conflicts with your root composer.json require (^1.4).
        - laminas/laminas-feed[2.13.0, ..., 2.14.1] require php ^7.3 || ~8.0.0 -> your php version (8.2.0; overridden via config.platform, actual: 8.1.3) does not satisfy that requirement.
        - Root composer.json requires drupal/color ^1.0 -> satisfiable by drupal/color[1.0.1, 1.0.2, 1.0.3].
        - drupal/core[8.8.0-rc1, ..., 8.8.12] require zendframework/zend-feed ^2.12 -> satisfiable by laminas/laminas-feed[2.12.0, ..., 2.19.0], zendframework/zend-feed[2.12.0].
        - Root composer.json requires pantheon-systems/drupal-integrations ^10 -> satisfiable by pantheon-systems/drupal-integrations[10.0.0, 10.0.1].
        - drupal/jquery_ui_slider 1.1.0 requires drupal/core ^8 || ^9 -> satisfiable by drupal/core[8.0.0-rc1, ..., 8.9.20, 9.0.0-rc1, ..., 9.5.9].
        - drupal/better_exposed_filters[6.0.1, ..., 6.0.2] require drupal/jquery_ui_slider ^1.1 -> satisfiable by drupal/jquery_ui_slider[1.1.0].
        - pantheon-systems/drupal-integrations[10.0.0, ..., 10.0.1] conflict with drupal/core 9.5.9.
        - pantheon-systems/drupal-integrations[10.0.0, ..., 10.0.1] conflict with drupal/core 9.5.8.
        - pantheon-systems/drupal-integrations[10.0.0, ..., 10.0.1] conflict with drupal/core 9.5.7.
        - pantheon-systems/drupal-integrations[10.0.0, ..., 10.0.1] conflict with drupal/core 9.5.6.
        - pantheon-systems/drupal-integrations[10.0.0, ..., 10.0.1] conflict with drupal/core 9.5.5.
        - pantheon-systems/drupal-integrations[10.0.0, ..., 10.0.1] conflict with drupal/core 9.5.4.
        - pantheon-systems/drupal-integrations[10.0.0, ..., 10.0.1] conflict with drupal/core 9.5.3.
        - pantheon-systems/drupal-integrations[10.0.0, ..., 10.0.1] conflict with drupal/core 9.5.2.
        - pantheon-systems/drupal-integrations[10.0.0, ..., 10.0.1] conflict with drupal/core 9.5.1.
        - pantheon-systems/drupal-integrations[10.0.0, ..., 10.0.1] conflict with drupal/core 9.5.0.
        - pantheon-systems/drupal-integrations[10.0.0, ..., 10.0.1] conflict with drupal/core 9.5.0-rc2.
        - pantheon-systems/drupal-integrations[10.0.0, ..., 10.0.1] conflict with drupal/core 9.5.0-rc1.
        - pantheon-systems/drupal-integrations[10.0.0, ..., 10.0.1] conflict with drupal/core 9.4.15.
        - pantheon-systems/drupal-integrations[10.0.0, ..., 10.0.1] conflict with drupal/core 9.4.14.
        - pantheon-systems/drupal-integrations[10.0.0, ..., 10.0.1] conflict with drupal/core 9.4.13.
        - pantheon-systems/drupal-integrations[10.0.0, ..., 10.0.1] conflict with drupal/core 9.4.12.
        - pantheon-systems/drupal-integrations[10.0.0, ..., 10.0.1] conflict with drupal/core 9.4.11.
        - pantheon-systems/drupal-integrations[10.0.0, ..., 10.0.1] conflict with drupal/core 9.4.10.
        - pantheon-systems/drupal-integrations[10.0.0, ..., 10.0.1] conflict with drupal/core 9.4.9.
        - pantheon-systems/drupal-integrations[10.0.0, ..., 10.0.1] conflict with drupal/core 9.4.8.
        - pantheon-systems/drupal-integrations[10.0.0, ..., 10.0.1] conflict with drupal/core 9.4.7.
        - pantheon-systems/drupal-integrations[10.0.0, ..., 10.0.1] conflict with drupal/core 9.4.6.
        - pantheon-systems/drupal-integrations[10.0.0, ..., 10.0.1] conflict with drupal/core 9.4.5.
        - pantheon-systems/drupal-integrations[10.0.0, ..., 10.0.1] conflict with drupal/core 9.4.4.
        - Only one of these can be installed: drupal/core[8.0.0-rc1, ..., 8.9.20, 9.0.0-rc1, ..., 9.4.3], drupal/color[1.0.1, 1.0.2, 1.0.3]. drupal/core replaces drupal/color and thus cannot coexist with it.
        - drupal/core[8.4.0-rc1, ..., 8.9.10] require symfony-cmf/routing ^1.4 -> satisfiable by symfony-cmf/routing[1.4.0-RC1, ..., 1.4.1].
        - drupal/core[8.2.0-rc1, ..., 8.3.9] require symfony-cmf/routing ~1.4 -> satisfiable by symfony-cmf/routing[1.4.0-RC1, ..., 1.4.1].
        - Root composer.json requires drupal/better_exposed_filters ^6.0 -> satisfiable by drupal/better_exposed_filters[6.0.1, 6.0.2, 6.0.3].
    
    Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
  • If there is a problem with Pantheon's documentation you should take that up with them.

    Did you pass --with-all-dependencies to composer install?

  • 🇮🇳India divya.pm

    Hi Team,

    Here is the more details,

    PHP 8.1.3 (cli) (built: Feb 28 2022 07:27:37) (NTS)
    Copyright (c) The PHP Group
    Zend Engine v4.1.3, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.3, Copyright (c), by Zend Technologies

    Command 1 : composer require drupal/core-recommended:10.1.0 drupal/core-composer-scaffold:10.1.0 drupal/core-project-message:10.1.0 --update-with-all-dependencies

    ./composer.json has been updated
    Running composer update drupal/core-recommended drupal/core-composer-scaffold drupal/core-project-message --with-all-dependencies
    Gathering patches for root package.
    Loading composer repositories with package information
    Info from https://repo.packagist.org: #StandWithUkraine
    Updating dependencies
    Your requirements could not be resolved to an installable set of packages.

    Problem 1
    - Root composer.json requires drupal/core-recommended 10.1.0 -> satisfiable by drupal/core-recommended[10.1.0].
    - drupal/core-recommended 10.1.0 requires drupal/core 10.1.0 -> found drupal/core[10.1.0] but these were not loaded, likely because it conflicts with another require.
    Problem 2
    - Root composer.json requires pantheon-upstreams/upstream-configuration * -> satisfiable by pantheon-upstreams/upstream-configuration[dev-master, dev-drupal10mig].
    - pantheon-upstreams/upstream-configuration[dev-master, dev-drupal10mig] require drupal/core-composer-scaffold ^9 -> found drupal/core-composer-scaffold[9.0.0-alpha1, ..., 9.5.x-dev] but it conflicts with your root composer.json require (10.1.0).

    Installation failed, reverting ./composer.json and ./composer.lock to their original content.

  • As before, this is pantheon-upstreams/upstream-configuration causing the problem. Are you in contact with Pantheon support?

  • 🇮🇳India divya.pm

    Yes, I have contacted pantheon, and they suggested following the below steps.

    Here's what I've done to make that happen:

    1). The error with this package "pantheon-upstreams/upstream-configuration" was caused by another composer file inside upstream-configuration folder. It included outdated dependencies and was causing the update to fail. I'm attaching the copy of mine, so make the changes as the attached file on your copy. Just make sure you edit this file: yourlifeaba/upstream-configuration/composer.json and not the main one in the root folder.

    2). I had to remove this package better_exposed_filters from main composer.json file as it is not compatible with Drupal 10

    3). I've updated drush to version 12, with this line change "drush/drush": "^12"

    Once that done, you should be able to successfully run composer update -W and have a fresh Drupal 10 version.

    And I get error message again,

    Your requirements could not be resolved to an installable set of packages.

    Problem 1
    - drush/drush[12.0.0-beta1, ..., 12.x-dev] require php >=8.1 -> your php version (7.4; overridden via config.platform, actual: 8.1.3) does not satisfy that requirement.
    - Root composer.json requires drush/drush ^12 -> satisfiable by drush/drush[12.0.0-beta1, ..., 12.x-dev].

    Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

  • Please refer back to my comment #6. I don't know why Pantheon support isn't saying the same.

  • 🇮🇳India divya.pm

    Hi,

    The Pantheon team replied to update "drush/drush": "^11 || ^12".

    I have run the below code,

    composer require drupal/core-recommended:10.1.0 drupal/core-composer-scaffold:10.1.0 drupal/core-project-message:10.1.0 --update-with-all-dependencies

    I got the below error.

    <em>Your requirements could not be resolved to an installable set of packages.
    
      Problem 1
        - Root composer.json requires drush/drush ^11 || ^12, found drush/drush[11.0.0-rc1, ..., 11.x-dev, 12.0.0-beta1, ..., 12.x-dev] but the package is fixed to 10.6.2 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
      Problem 2
        - Root composer.json requires drupal/core-recommended 10.1.0 -> satisfiable by drupal/core-recommended[10.1.0].
        - drupal/core-recommended 10.1.0 requires drupal/core 10.1.0 -> found drupal/core[10.1.0] but these were not loaded, likely because it conflicts with another require.
    
    Installation failed, reverting ./composer.json and ./composer.lock to their original content.</em>
  • As the output says (emphasis, mine):

    Root composer.json requires drush/drush ^11 || ^12, found drush/drush[11.0.0-rc1, ..., 11.x-dev, 12.0.0-beta1, ..., 12.x-dev] but the package is fixed to 10.6.2 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

  • 🇮🇳India himanshu_jhaloya Indore

    I am tring to upgrade

    composer require drupal/core-recommended:10.1.0 drupal/core-composer-scaffold:10.1.0 drupal/core-project-message:10.1.0 --update-with-all-dependencies

  • Status changed to Needs work over 1 year ago
  • 🇮🇳India Vinodhini.E chennai

    Hi,

    I am tring to upgrade

    composer require drupal/core-recommended:10.0.0 drupal/core-composer-scaffold:10.0.0 drupal/core-project-message:10.0.0 --update-with-all-dependencies

    But got this

    Your requirements could not be resolved to an installable set of packages.

    Problem 1
    - Root composer.json requires drupal/core-recommended 10.0.0 -> satisfiable by drupal/core-recommended[10.0.0].
    - drupal/core-recommended 10.0.0 requires drupal/core 10.0.0 -> found drupal/core[10.0.0] but these were not loaded, likely because it conflicts with another require.

    Installation failed, reverting ./composer.json and ./composer.lock to their original content.

    Can anyone help with this?

  • Status changed to Postponed: needs info over 1 year ago
  • Support requests can be "needs work".

    What is the Composer version?

  • Status changed to Needs work about 1 year ago
  • 🇮🇳India Vinodhini.E chennai

    The Composer Version is 2.6.3.

  • Status changed to Postponed: needs info about 1 year ago
  • Support requests cannot be "needs work".

    Do make sure you are following https://www.drupal.org/docs/upgrading-drupal/upgrading-from-drupal-8-or-... and come back with more information.

  • Status changed to Closed: duplicate about 1 year ago
  • 🇺🇸United States chandans1316

    I am struggling with these errors

    Problem 1
    - zendframework/zend-feed[dev-master, dev-develop, 2.11.0, ..., 2.13.x-dev] require php ^5.6 || ^7.0 -> your php version (8.1.29; overridden via config.platform, same as actual) does not satisfy that requirement.
    - laminas/laminas-feed[2.12.0, ..., 2.12.x-dev] require php ^5.6 || ^7.0 -> your php version (8.1.29; overridden via config.platform, same as actual) does not satisfy that requirement.
    - symfony/psr-http-message-bridge[v1.1.2, ..., 1.1.x-dev] require php ^5.3.3 || ^7.0 -> your php version (8.1.29; overridden via config.platform, same as actual) does not satisfy that requirement.
    - symfony-cmf/routing[1.4.0-RC1, ..., 1.4.x-dev] require php ^5.3.9|^7.0 -> your php version (8.1.29; overridden via config.platform, same as actual) does not satisfy that requirement.
    - drupal/core 8.0.0-beta6 requires doctrine/common dev-master#a45d110f71c323e29f41eb0696fa230e3fa1b1b5 -> found doctrine/common[dev-remove-int-cast, dev-3.4.x-merge-up-into-3.5.x_Nw2dYaQO, 2.1.3, ..., 2.13.x-dev, 3.0.0, ..., 3.5.x-dev] but it does not match the constraint.
    - drupal/core[8.0.0-beta7, ..., 8.0.0-beta10] require phpunit/phpunit 4.4.* -> found phpunit/phpunit[4.4.0, ..., 4.4.5] but it conflicts with your root composer.json require (^4.8.35 || ^6.5 || ^7 || ^8 || ^9).
    - drupal/core[8.0.0-beta11, ..., 8.0.0-beta12] require phpunit/phpunit 4.6.* -> found phpunit/phpunit[4.6.0, ..., 4.6.10] but it conflicts with your root composer.json require (^4.8.35 || ^6.5 || ^7 || ^8 || ^9).
    - drupal/core[8.0.0-beta13, ..., 8.0.0-beta15] require guzzlehttp/guzzle dev-master#1879fbe853b0c64d109e369c7aeff09849e62d1e -> found guzzlehttp/guzzle[dev-set-cookie-typing, dev-curl-version, dev-test, v1.0.3, v1.0.4, v2.0.0, ..., v2.8.8, v3.0.0, ..., v3.8.1, 4.0.0-rc.1, ..., 4.x-dev, 5.0.0, ..., 5.3.x-dev, 6.0.0, ..., 6.5.x-dev, 7.0.0-beta.1, ..., 7.9.x-dev, 8.0.x-dev] but it does not match the constraint.
    - drupal/core[8.9.11, ..., 8.9.x-dev] require php ^7.0.8 -> your php version (8.1.29; overridden via config.platform, same as actual) does not satisfy that requirement.
    - symfony/psr-http-message-bridge[v1.2.0, ..., v1.3.0] require php ^7.1 -> your php version (8.1.29; overridden via config.platform, same as actual) does not satisfy that requirement.
    - drupal/core[9.0.10, ..., 9.0.x-dev] require php ^7.3 -> your php version (8.1.29; overridden via config.platform, same as actual) does not satisfy that requirement.
    - laminas/laminas-feed[2.13.0, ..., 2.14.x-dev] require php ^7.3 || ~8.0.0 -> your php version (8.1.29; overridden via config.platform, same as actual) does not satisfy that requirement.
    - drupal/core-recommended 10.1.5 requires drupal/core 10.1.5 -> satisfiable by drupal/core[10.1.5].
    - drupal/core[8.4.0-alpha1, ..., 8.7.7] require symfony-cmf/routing ^1.4 -> satisfiable by symfony-cmf/routing[1.4.0-RC1, ..., 1.4.x-dev].
    - drupal/core[8.2.0-beta1, ..., 8.3.x-dev] require symfony-cmf/routing ~1.4 -> satisfiable by symfony-cmf/routing[1.4.0-RC1, ..., 1.4.x-dev].
    - drupal/core[9.0.0-alpha1, ..., 9.0.0-alpha2] require symfony/psr-http-message-bridge ^1.2.0 -> satisfiable by symfony/psr-http-message-bridge[v1.2.0, v1.3.0].
    - drupal/core[8.7.8, ..., 8.9.10] require symfony/psr-http-message-bridge ^1.1.2 -> satisfiable by symfony/psr-http-message-bridge[v1.1.2, 1.1.x-dev, v1.2.0, v1.3.0].
    - drupal/core[8.8.0-alpha1, ..., 8.8.x-dev] require zendframework/zend-feed ^2.12 -> satisfiable by laminas/laminas-feed[2.12.0, ..., 2.23.x-dev], zendframework/zend-feed[2.12.0, 2.12.x-dev, 2.13.x-dev].
    - drupal/default_content_deploy[1.0.0-beta1, ..., 1.0.0-beta2] require drupal/default_content ~1.0@alpha -> found drupal/default_content[1.0.0-alpha1, ..., 1.0.0-alpha9] but it conflicts with your root composer.json require (^2.0@alpha).
    - Root composer.json requires drupal/core-recommended 10.1.5 -> satisfiable by drupal/core-recommended[10.1.5].
    - drupal/default_content_deploy 1.0.0-beta3 requires drupal/core ^8 || ^9 -> satisfiable by drupal/core[8.0.0-beta6, ..., 8.9.x-dev, 9.0.0-alpha1, ..., 9.5.x-dev].
    - You can only install one version of a package, so only one of these can be installed: drupal/core[8.0.0-beta6, ..., 8.9.x-dev, 9.0.0-alpha1, ..., 9.5.x-dev, 10.0.0-alpha1, ..., 10.4.x-dev, 11.0.0-alpha1, 11.0.0-beta1, 11.0.x-dev, 11.x-dev].
    - Only one of these can be installed: drupal/core-utility[8.2.0-beta1, ..., 8.9.x-dev, 9.0.0-alpha1, ..., 9.5.x-dev, 10.0.0-alpha1, ..., 10.4.x-dev], drupal/core[8.0.0-beta12, ..., 8.9.x-dev, 9.0.0-alpha1, ..., 9.5.x-dev, 10.0.0-alpha1, ..., 10.4.x-dev, 11.0.0-alpha1, 11.0.0-beta1, 11.0.x-dev, 11.x-dev]. drupal/core replaces drupal/core-utility and thus cannot coexist with it.
    - You can only install one version of a package, so only one of these can be installed: drupal/core[8.7.0-alpha1, ..., 8.9.x-dev, 9.0.0-alpha1, ..., 9.5.x-dev, 10.0.0-alpha1, ..., 10.4.x-dev, 11.0.0-alpha1, 11.0.0-beta1, 11.0.x-dev, 11.x-dev].
    - Root composer.json requires drupal/default_content_deploy ^1.0@beta -> satisfiable by drupal/default_content_deploy[1.0.0-beta1, 1.0.0-beta2, 1.0.0-beta3].

    Here's my composer.json

    {
    "name": "acquia/blt-project",
    "type": "project",
    "description": "Project for madewithnestle.ca.",
    "license": "GPL-2.0-only",
    "require": {
    "php": "8.1.29",
    "acquia/blt": "^13",
    "acquia/blt-drupal-vm": "dev-master",
    "acquia/blt-phpcs": "^1",
    "acquia/blt-site-studio": "dev-develop",
    "acquia/cohesion": "^6.9",
    "acquia/cohesion-theme": "^6.9",
    "acquia/drupal-environment-detector": "^1.2",
    "acquia/memcache-settings": "^1.0",
    "bower-asset/jquery-simple-color": "^1.2",
    "bower-asset/spectrum": "^1.8",
    "composer/installers": "^1.9",
    "cweagans/composer-patches": "^1.7.0",
    "drupal/acquia_connector": "^4.0",
    "drupal/acquia_contenthub_publisher": "^2.22",
    "drupal/acquia_lift": "~4.0",
    "drupal/acquia_purge": "^1.1",
    "drupal/acquia_search": "^3.0",
    "drupal/allowed_formats": "^2.0",
    "drupal/amp": "^3.5",
    "drupal/amptheme": "^3.1",
    "drupal/anchor_link": "^2.6",
    "drupal/better_exposed_filters": "^6.0",
    "drupal/bulkdelete": "1.x-dev",
    "drupal/cacheexclude": "^2.0",
    "drupal/ckeditor_font": "^2.0@beta",
    "drupal/ckwordcount": "^2.1",
    "drupal/color_field": "^3.0",
    "drupal/colorbutton": "^1.5",
    "drupal/conditional_fields": "^4.0@alpha",
    "drupal/config_ignore": "2.x-dev",
    "drupal/config_split": "^1.6",
    "drupal/config_update": "^2.0@alpha",
    "drupal/context": "^5.0@RC",
    "drupal/context_mobile_condition": "^1.0",
    "drupal/core-composer-scaffold": "10.1.5",
    "drupal/core-recommended": "10.1.5",
    "drupal/core_context": "^1.0",
    "drupal/default_content": "^2.0@alpha",
    "drupal/default_content_deploy": "^1.0@beta",
    "drupal/draggableviews": "^2.0",
    "drupal/dx8_addtoany": "^1.3",
    "drupal/editor_file": "^2.0@RC",
    "drupal/embed": "^1.7",
    "drupal/entity_browser": "2.x-dev",
    "drupal/entity_browser_block": "^1.3",
    "drupal/entity_class_formatter": "^2.0",
    "drupal/entity_clone": "^1.0@beta",
    "drupal/entity_embed": "^1.6",
    "drupal/facets": "^1.6",
    "drupal/facets_block": "^1.3",
    "drupal/filefield_paths": "^1.0@beta",
    "drupal/filter_perms": "^1.0@alpha",
    "drupal/google_tag": "^1.4",
    "drupal/honeypot": "^2.1",
    "drupal/htmlawed": "^4.1",
    "drupal/htmlpurifier": "^1.0",
    "drupal/imagecache_external": "^3.0",
    "drupal/insert_view": "^2.0@beta",
    "drupal/jsonapi_role_access": "^1.0",
    "drupal/language_switcher_extended": "^1.0@beta",
    "drupal/layout_builder_restrictions": "^2.19",
    "drupal/layout_builder_styles": "^2.0",
    "drupal/layout_library": "^1.0@beta",
    "drupal/lightning_layout": "^2.14",
    "drupal/lightning_scheduler": "^1.2",
    "drupal/lightning_workflow": "^3.15",
    "drupal/link_attributes": "^2.1",
    "drupal/mailsystem": "^4.3",
    "drupal/masonry_views": "^4.0",
    "drupal/media_embed_extra": "^1.0@beta",
    "drupal/media_migration": "^1.0@alpha",
    "drupal/memcache": "^2.3",
    "drupal/menu_item_extras": "^2.13",
    "drupal/migrate_devel": "^2.0@alpha",
    "drupal/migrate_drupal_d8": "1.x-dev@dev",
    "drupal/migrate_plus": "^6.0",
    "drupal/migrate_tools": "^6.0",
    "drupal/migrate_upgrade": "^4.0",
    "drupal/mysql56": "^1.0",
    "drupal/panels": "^4.7",
    "drupal/path_redirect_import": "^2.0",
    "drupal/rabbit_hole": "^1.0@beta",
    "drupal/reroute_email": "^2.2",
    "drupal/scheduled_transitions": "^2.3",
    "drupal/search_api_attachments": "^9.0",
    "drupal/search_api_autocomplete": "^1.4",
    "drupal/search_api_solr": "^4.1",
    "drupal/swiftmailer": "^2.2",
    "drupal/taxonomy_delete": "^1.1",
    "drupal/taxonomy_menu": "^3.4",
    "drupal/translatable_menu_link_uri": "^2.0",
    "drupal/upgrade_status": "^4.0",
    "drupal/views_attach_library": "^2.0",
    "drupal/views_contextual_filters_or": "^1.2",
    "drupal/views_infinite_scroll": "^2.0",
    "drupal/votingapi": "^3.0@beta",
    "drupal/votingapi_widgets": "1.x-dev@dev",
    "drupal/we_megamenu": "^1.11",
    "drupal/webform": "^6.2",
    "drupal/weight": "^3.2",
    "drupal/workbench_email": "^2.0",
    "drupal/xmlsitemap": "^1.0",
    "furf/jquery-ui-touch-punch": "*",
    "gigya/drupal": "dev-master",
    "gigya/php-sdk": "^3.0",
    "hernansartorio/jquery-nice-select": "^1.1",
    "library/swiper": "^4.5",
    "lightnest/dsu_c_core": "^1.12",
    "lightnest/dsu_c_externalvideo": "^3.1",
    "lightnest/dsu_c_text": "^2.4",
    "lightnest/dsu_product": "^1.5",
    "lightnest/dsu_security": "^2.17",
    "lightnest/dsu_srh": "^2.7",
    "lightnest/lightnest": "4.13.0",
    "lightnest/ln_ciam": "^2.2",
    "lightnest/ln_price_spider": "^1.1",
    "lightnest/ln_shopify": "^1.1",
    "masterminds/html5": "^2.7",
    "npm-asset/select2": "^4.0",
    "oomphinc/composer-installers-extender": "^1.1 || ^2",
    "swiftmailer/swiftmailer": "^6.3"
    },
    "require-dev": {
    "acquia/blt-behat": "v1.3.0",
    "acquia/blt-drupal-check": "dev-master",
    "acquia/blt-drupal-test": "dev-master",
    "geerlingguy/drupal-vm": "~6.0",
    "phpunit/phpunit": "^4.8.35 || ^6.5 || ^7 || ^8 || ^9"
    },
    "config": {
    "platform": {
    "php": "8.1.29"
    },
    "sort-packages": true,
    "allow-plugins": {
    "cweagans/composer-patches": true,
    "drupal/core-composer-scaffold": true,
    "composer/installers": true,
    "acquia/blt": true,
    "dealerdirect/phpcodesniffer-composer-installer": true,
    "acquia/blt-phpcs": true,
    "oomphinc/composer-installers-extender": true
    }
    },
    "extra": {
    "merge-plugin": {
    "require": [
    "composer.dsu_repositories.json"
    ],
    "include": [
    "docroot/modules/contrib/masonry/composer.libraries.json"
    ],
    "merge-extra": true,
    "merge-extra-deep": true,
    "merge-scripts": true,
    "replace": false,
    "ignore-duplicates": true
    },
    "drupal-scaffold": {
    "locations": {
    "web-root": "./docroot"
    },
    "file-mapping": {
    "[web-root]/sites/default/default.services.yml": {
    "mode": "replace",
    "path": "docroot/core/assets/scaffold/files/default.services.yml",
    "overwrite": false
    },
    "[web-root]/sites/default/default.settings.php": {
    "mode": "replace",
    "path": "docroot/core/assets/scaffold/files/default.settings.php",
    "overwrite": false
    },
    "[web-root]/.htaccess": {
    "append": "patches/htaccess/htaccess-brand-domains.txt"
    },
    "[web-root]/robots.txt": {
    "force-append": true,
    "append": "patches/robots/robots-sitemap.txt"
    }
    }
    },
    "enable-patching": true,
    "installer-paths": {
    "docroot/core": [
    "type:drupal-core"
    ],
    "docroot/modules/contrib/gigya": [
    "gigya/drupal"
    ],
    "docroot/modules/contrib/{$name}": [
    "type:drupal-module"
    ],
    "docroot/modules/custom/{$name}": [
    "type:drupal-custom-module"
    ],
    "docroot/profiles/contrib/{$name}": [
    "type:drupal-profile"
    ],
    "docroot/profiles/custom/{$name}": [
    "type:drupal-custom-profile"
    ],
    "docroot/themes/contrib/{$name}": [
    "type:drupal-theme"
    ],
    "docroot/themes/custom/{$name}": [
    "type:drupal-custom-theme"
    ],
    "docroot/libraries/{$name}": [
    "type:drupal-library",
    "type:bower-asset",
    "type:npm-asset"
    ],
    "drush/Commands/{$name}": [
    "type:drupal-drush"
    ]
    },
    "installer-types": [
    "bower-asset",
    "npm-asset"
    ],
    "patchLevel": {
    "drupal/core": "-p2"
    },
    "patches": {
    "drupal/default_content_deploy": {
    "3173769 - Error using dcdi command": " https://www.drupal.org/files/issues/2020-09-29/default_content_deploy-er... "
    },
    "lightnest/dsu_c_core": {
    "Error while using language switcher extended": "./patches/dsu_c_core_error_using_langauage_swithcer_extended.patch"
    },
    "drupal/core": {
    "2671162: Also use CKEditor for summary": " https://www.drupal.org/files/issues/2022-12-14/2671162-9.5.x-116.patch ",
    "2797583: Dynamically provide action plugins for every moderation state change": "./patches/2797583-merge-request-176.patch"
    },
    "lightnest/ln_price_spider": {
    "Update price spider module to take current page language for displaying links": "./patches/0001-LPS-000-Update-price-spider-module-to-take-current-p.patch"
    },
    "drupal/media_migration": {
    "media_migration_multilingual": "./patches/media_migration_multilingual.patch"
    },
    "lightnest/dsu_srh": {
    "Lightnest SRH integration fix": "./patches/dsu_srh_importer_tags.patch"
    },
    "drupal/dx8_addtoany": {
    "Add Yummly share button": "./patches/dx8_addtoany_yum_share.patch"
    },
    "drupal/search_api": {
    "2799497: public-where-condition": " https://www.drupal.org/files/issues/2020-10-16/2799497-7-public-where-co... "
    },
    "drupal/lightning_media": {
    "2924489: Lightning Media browser filefield_paths error": " https://www.drupal.org/files/issues/2021-03-22/2924489-6.patch "
    },
    "drupal/twig_tweak": {
    "Resolve Twig Tweak / Site Studio naming collision": "./patches/twig-tweak-site-studio-collision-3230941.patch"
    },
    "drupal/context_mobile_condition": {
    "Compatible with drupal 10": " https://www.drupal.org/files/issues/2023-09-07/support-for-drupal-338571... "
    }
    },
    "patches-ignore": {
    "lightnest/lightnest": {
    "drupal/core": {
    "Label Issue": " https://www.drupal.org/files/issues/2020-04-08/2985882-field-85.patch ",
    "3261924 - Warning: imagecreatefrompng()": " https://www.drupal.org/files/issues/2023-03-04/drupal-3261924-25.patch ",
    "2985882 - Workaround for Call to a member function getLabel() after enabling layout_builder": " https://www.drupal.org/files/issues/2022-11-16/2985882-field-153.patch "
    },
    "drupal/views_infinite_scroll": {
    "Make Views Infinite Scroll more SEO friendly": " https://www.drupal.org/files/issues/2020-07-07/views_infinite_scroll-228... "
    },
    "drupal/google_tag": {
    "3153800 - Add Google Tag Snippets": " https://www.drupal.org/files/issues/2020-06-23/3153800-google-tag-script... "
    },
    "drupal/external_hreflang": {
    "Add hreflang reference URL for more usability": " https://www.drupal.org/files/issues/2020-07-10/external_hreflang_link_re... "
    },
    "drupal/video_embed_field": {
    "Provide a method to to configure alternative image thumbnail other than the provider's image thumbnail": " https://www.drupal.org/files/issues/2020-06-15/2883932-video-embed-field... "
    },
    "drupal/field_group": {
    "3290992 - Recursion tracker doesn't work": " https://www.drupal.org/files/issues/2022-06-17/3290992-fix-recursion-tra... "
    },
    "drupal/classy_paragraphs": {
    "2830403 - Allow to filter classy styles": " https://www.drupal.org/files/issues/2020-08-28/choose_and_order-2830403-... "
    },
    "drupal/seckit": {
    "3064669 - Remove div tag from header": " https://www.drupal.org/files/issues/2021-02-15/3064669-14.patch "
    },
    "drupal/bootstrap_library": {
    "3145714 - Drupal 9 depricated function fixes": " https://www.drupal.org/files/issues/2020-06-05/drupal_9_deprecated-31457... ",
    "3034302 - Deprecated strtolower need to be replaced": " https://www.drupal.org/files/issues/2020-10-07/change_strtolower_remove_... "
    }
    },
    "lightnest/ln_srh": {
    "drupal/ds": {
    "3091319 - Notice: Undefined index: #type in _ds_field_ui_table_layouts()": " https://www.drupal.org/files/issues/2021-07-29/ds-undefined-index-type-3... "
    }
    },
    "lightnest/dsu_security": {
    "Remove the jquery alter hook to use drupal core jquery version": "./patches/dsu_security/remove-jquery-alter-code.patch",
    "Fix url matching issue for blocked path": "./patches/dsu_security/fix-url-matching-issue-for-blocked-path.patch",
    "drupal/password_policy": {
    "Password policies apply to Forgot password form": " https://www.drupal.org/files/issues/2020-07-22/password_policy-prlp-14.p... "
    }
    },
    "gigya/gigya-drupal": {
    "https://github.com/gigya/drupal8/pull/143 - Fix autowired drupal 10.2.x version": " https://patch-diff.githubusercontent.com/raw/gigya/drupal8/pull/143.patch"
    }
    }
    },
    "autoload": {
    "psr-4": {
    "Nestle\\": "blt/src/"
    }
    },
    "autoload-dev": {
    "psr-4": {
    "Drupal\\Tests\\PHPUnit\\": "tests/phpunit/src/"
    }
    },
    "repositories": {
    "blt-site-studio": {
    "type": "vcs",
    "url": "https://github.com/davidtrainer/blt-site-studio.git"
    },
    "drupal": {
    "type": "composer",
    "url": "https://packages.drupal.org/8"
    },
    "asset-packagist": {
    "type": "composer",
    "url": "https://asset-packagist.org"
    },
    "lightnest": {
    "type": "composer",
    "url": "https://satis.lightnest.nestle.com/"
    },
    "gigyaphpsdk": {
    "type": "git",
    "url": "https://github.com/SAP/gigya-php-sdk.git"
    },
    "gigyadrupal": {
    "type": "package",
    "package": {
    "name": "gigya/drupal",
    "version": "dev-master",
    "type": "drupal-module",
    "source": {
    "url": "https://github.com/gigya/drupal8.git",
    "type": "git",
    "reference": "master"
    }
    }
    },
    "niceselect": {
    "type": "package",
    "package": {
    "name": "hernansartorio/jquery-nice-select",
    "version": "1.1.0",
    "type": "drupal-library",
    "dist": {
    "url": "https://github.com/hernansartorio/jquery-nice-select/archive/v1.1.0.zip",
    "type": "zip"
    }
    }
    },
    "swiper": {
    "type": "package",
    "package": {
    "name": "library/swiper",
    "version": "4.5.3",
    "type": "drupal-library",
    "dist": {
    "url": "https://github.com/nolimits4web/swiper/archive/v4.5.3.zip",
    "type": "zip"
    }
    }
    },
    "jqueryui": {
    "type": "package",
    "package": {
    "name": "furf/jquery-ui-touch-punch",
    "version": "0.0.1",
    "type": "drupal-library",
    "source": {
    "url": "https://github.com/furf/jquery-ui-touch-punch",
    "type": "git",
    "reference": "master"
    }
    }
    }
    },
    "minimum-stability": "dev",
    "prefer-stable": true,
    "scripts": {
    "post-create-project-cmd": [
    "blt internal:create-project:init-repo"
    ],
    "post-drupal-scaffold-cmd": [
    "cd docroot && patch -p1 < ../patches/htaccess/htaccess-static-folder-and-sitemap.patch"
    ],
    "nuke": [
    "rm -rf vendor docroot/core docroot/modules/contrib docroot/profiles/contrib docroot/themes/contrib",
    "@composer clearcache --ansi",
    "@composer install --ansi"
    ]
    }
    }

  • I suggest reading over the specific error messages like “drupal/core replaces drupal/core-utility and thus cannot coexist with it” and the PHP version errors. Composer is explaining the problems.

  • 🇨🇴Colombia camilo.escobar

    I was also facing the error:

    Problem 1
        - Root composer.json requires pantheon-upstreams/upstream-configuration * -> satisfiable by pantheon-upstreams/upstream-configuration[dev-master, dev-drupal10].
        - pantheon-upstreams/upstream-configuration[dev-master, dev-drupal10] require drupal/core-composer-scaffold ^9 -> found drupal/core-composer-scaffold[9.0.0-alpha1, ..., 9.5.x-dev] but it conflicts with your root composer.json require (^10).

    As @divya.pm mentioned in #11, the issue was due to an incorrect composer.json file inside the upstream-configuration folder. @divya.pm said she had attached her copy of the file, but I’m not seeing it attached here (possibly because .json file uploads aren’t allowed). So, I’m pasting below the content of the file that worked for me:

    {
        "name": "pantheon-upstreams/upstream-configuration",
        "type": "project",
        "repositories": [
            {
                "type": "composer",
                "url": "https://packages.drupal.org/8"
            }
        ],
        "require": {
        },
        "extra": {
            "_README": "To make a custom upstream, clone this repository and add any dependencies to be provided by this upstream to this composer.json file. Leave the root-level composer.json file for the exclusive use of each individual site; do not modify it after your custom upstream has been published. See https://pantheon.io/docs/create-custom-upstream for more information."
        }
    }
    
Production build 0.71.5 2024