Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin composer dependencies using ~ to allow point upgrades #1158

Open
jameswilson opened this issue Jun 13, 2022 · 1 comment
Open

Pin composer dependencies using ~ to allow point upgrades #1158

jameswilson opened this issue Jun 13, 2022 · 1 comment

Comments

@jameswilson
Copy link

I'm unable to test and upgrade Drupal module dependencies on our project release schedule, because Acquia CMS locks some dependencies down to exact major.minor.patch (X.Y.Z) versions.

Case in point:

  • Facets 2.0.2 came out but Acquia CMS is still pinned to 2.0.1
  • Geocoder 8.x-3.28 came out but Acquia CMS is still pinned to 8.x-3.25

Describe the solution you'd like

Instead of pinning to specific point releases, allow projects using acquia_cms to make and test their own updates using ~X.Y.Z which will allow updating the Z but not the X or Y.

This is inline with a change that was just made in Drupal core-recommended as of Drupal 9.5

https://www.drupal.org/node/3285240

Describe alternatives you've considered

I'm not sure there are any other alternatives besides waiting for an official acquia_cms release where the dependencies are updated.

@rajeshreeputra
Copy link
Contributor

In Acquia CMS Search module Facets required with ^.
In Acquia CMS Place module Geocoder required with ^.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants