- Issue created by @jason_purdy
- 🇺🇸United States jason_purdy
Actually, I was able to work around it by saying composer require drupal/views_template:1.3 ... thought the ^1.3 would not allow 1.4 to come through.
- 🇮🇳India dev2.addweb
Yes, @jason_purdy installing the Calendar module, it pulls Views Templates version 1.4. Need to modify the composer.json file of the Calendar module to address its dependency. Additionally, Need to release separate Calendar module for Drupal 9 and 10 with the appropriate Views Templates version compatibility.
Need to update views_templates as below in Calendar's composer file for drupal 9,
{ "name": "drupal/calendar", "description": "Provides a Views plugin to display views containing dates as Calendars.", "type": "drupal-module", "license": "GPL-2.0-or-later", "homepage": "https://www.drupal.org/project/calendar", "authors": [ { "name": "Neslee Canil Pinto", "homepage": "https://www.drupal.org/u/neslee-canil-pinto", "role": "Maintainer" }, { "name": "Eric Sol", "homepage": "https://www.drupal.org/u/solide-echt", "role": "Maintainer" } ], "support": { "issues": "https://www.drupal.org/project/issues/calendar", "source": "https://git.drupalcode.org/project/calendar" }, "require": { "drupal/core": "^9.4 || ^10", "drupal/views_templates": "1.3" } }
- 🇺🇸United States jason_purdy
Calendar's current requirement is ^1.2, which in an ideal world would work b/c if view_templates 1.4's composer json said it couldn't work with D9, then it would install 1.3 instead.
- 🇺🇸United States nicxvan
Yeah when updating from obsolete versions sometimes you have to manually pin the version.
I'm glad you were able to figure this out!
Automatically closed - issue fixed for 2 weeks with no activity.