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>
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.
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.
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.
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."
divya.pm → created an issue.