Problem/Motivation
#2758737: Add a packages.drupal.org to root composer.json lets Drupal use packages.drupal.org for Composer dependencies.
#2802009: Provide support for libraries and other non-drupal extensions (modules, themes etc) points out that some of these dependencies (drupal/coder in particular) might not resolve correctly and could end up being installed as modules instead of as libraries under vendor/.
At some point #2802009: Provide support for libraries and other non-drupal extensions (modules, themes etc) will be fixed, and when it is, we'll need to change the drupal/coder version in our composer.json file to use the 2.* versioning rather than the 8.2.* versioning, as pointed out here: #2758737-24: Add a packages.drupal.org to root composer.json
Proposed resolution
Wait for #2802009: Provide support for libraries and other non-drupal extensions (modules, themes etc) to get resolved.
Change the version requirement as needed here.
Comments
Comment #2
mile23Postponing on #2802009: Provide support for libraries and other non-drupal extensions (modules, themes etc)
Comment #8
greg.1.anderson commentedNote that having drupal/coder available in both Packagist and in Drupal Packagist interferes with Composer 2 compatibility, for core development only, unless we install drupal/coder from Drupal Packagist. Currently we install from Packagist due to this issue. Fixing this issue is therefore a blocker to using Composer 2 during core development.
See #3126566: Allow Drupal to work with Composer 2, #29 and #35 - #37.
Comment #14
quietone commentedNo longer postponed.
Comment #16
quietone commentedReading #8 this was a blocker to completing #3126566: Allow Drupal to work with Composer 2. But that was committed to 8.9.x, therefor I am closing this as outdated.