- Issue created by @pahles
- 🇬🇧United Kingdom Rob-PS
Same here.
There is no 2.0.1 version
If I try manually like this composer require 'drupal/views_accordion:^2.0.1' I getcomposer require 'drupal/views_accordion:^2.0.1' --dry-run
Your requirements could not be resolved to an installable set of packages.Problem 1
- Root composer.json requires drupal/views_accordion ^2.0.1 -> satisfiable by drupal/views_accordion[2.0.1, 2.0.x-dev].
- drupal/views_accordion[2.0.1, ..., 2.0.x-dev] require drupal/jquery_ui_accordion ^2.0 -> found drupal/jquery_ui_accordion[dev-2.x, 2.0.0, 2.x-dev (alias of dev-2.x)] but it conflicts with your root composer.json require (^1.1).-W does not work either
- 🇫🇷France selinav
Same problem for me.
I have this in my composer.json file :"drupal/views_accordion": "^2.0",
- heddn Nicaragua
When running composer update, add
composer u -W
(the -W). Your dependency on the jquery ui accordion module also needs to update a major version from 1.x to 2.x. - 🇳🇱Netherlands pahles
This is what I tried (-W or --with-all-dependencies, see the original issue). It does not work. Also requiring it in a new project does not install the new version.
- 🇨🇦Canada jodavidson
Confirmed what @heddn said in #5. The jquery_ui_accordion was stuck at version ^1.0 in composer.json. Updating that entry to
"drupal/jquery_ui_accordion": "^2.0",
allowed the views_accordion update to proceed.
This necessary step should be noted in the release notes.
- 🇧🇪Belgium bart lambert
Ok, This trick #7 worked!
Changing jquery_ui_accordion in my composer.json file from '^1.1' to '^2.0' and then composer update fixed the update.
But it shouldn't be that way imho. Every update should work out of the box. Not all amateur-webmasters are so handy in to solve these kind of problems.
- Status changed to Fixed
over 1 year ago 2:23pm 22 March 2023 - heddn Nicaragua
I've updated the release notes: https://www.drupal.org/project/views_accordion/releases/2.0.1 →
Automatically closed - issue fixed for 2 weeks with no activity.