Make it compatible with commerce 3.x

Created on 15 May 2025, 28 days ago

Problem/Motivation

It seems it does not compatible with commerce 3.x.

Problem 1
    - Root composer.json requires drupal/commerce_shipping_pickup_api ^1.0 -> satisfiable by drupal/commerce_shipping_pickup_api[1.0.0, 1.0.1].
    - drupal/commerce_shipping_pickup_api[1.0.0, ..., 1.0.1] require drupal/commerce ^2.11 -> found drupal/commerce[2.11.0, ..., 2.40.0] but it conflicts with your root composer.json require (^3.0).

Steps to reproduce

Create a drupal project then
composer require 'drupal/commerce:^3.0'
composer require 'drupal/commerce_shipping_pickup_api:^1.0'

Proposed resolution

Support commerce 3.x, for example, commerce_shipping_pickup_api's composer.json would contains this:

"require": {
    "drupal/commerce": "^2.11 || ^3.0"
  }
🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇭🇺Hungary asrob Hungary 🇭🇺 🇪🇺

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

Comments & Activities

  • Issue created by @asrob
  • 🇭🇺Hungary djg_tram

    Good catch. The module itself is already compatible with D11 and C3 but I missed this.

    There will be more changes in the near future, I'll upload the fix then.

Production build 0.71.5 2024