Problem/Motivation
The module's composer.json requires commerce ^2.0 and it prevents from upgrading projects to use Commerce 3.x where the commerce_order_data_formatter is installed
Steps to reproduce
Try to upgrade the Commerce Core module to 3.1 on a site where the commerce_order_data_formatter module is also installed.
You will receive:
- drupal/commerce_order_data_formatter 1.0.2 requires drupal/commerce ^2.0 -> found drupal/commerce[dev-2.x, 2.0.0-alpha1, ..., 2.x-dev (alias of dev-2.x)] but it conflicts with your root composer.json require (^3.1).
Proposed resolution
Update composer.json to use:
"require": {
"drupal/commerce": "^2.3 || ^3"
}
Issue fork commerce_order_data_formatter-3545397
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
gkavin2 commentedComment #4
oleksandr yushchenko commentedComment #5
oleksandr yushchenko commentedComment #7
gkavin2 commented