Update dependencies to use ctools ^4.0

Created on 21 June 2023, over 1 year ago

Problem/Motivation

Now, on composer.json we have the required dependency "drupal/ctools": "^3.0".
So, I cannot install the Cloudflare module with Ctools module version ^4.0

Steps to reproduce

With Ctools ^4.0 installed, try to run composer require 'drupal/cloudflare:^1.0@beta' -W
The next message

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

Problem 1
- drupal/cloudflare[1.0.0-beta1, ..., 1.0.0-beta3] require drupal/ctools ^3.0 -> found drupal/ctools[dev-3.x, 3.0.0-alpha17, ..., 3.x-dev (alias of dev-3.x)] but it conflicts with your root composer.json require (^4.0).
- Root composer.json requires drupal/cloudflare ^1.0@beta -> satisfiable by drupal/cloudflare[1.0.0-beta1, 1.0.0-beta2, 1.0.0-beta3].

Proposed resolution

As the ^3.0 and ^4.0 versions are recommended by the Ctools project maintainer, we should accept both versions.
So we should update the composer.json file to "drupal/ctools": "^3.0 || ^4.0"

💬 Support request
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

🇧🇷Brazil victorcpereira

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

Comments & Activities

Production build 0.71.5 2024