When trying to require the module on Drupal 9.1.x, composer fails with the following error:
-- Errors ---
./composer.json has been updated
> Drupal\Composer\Composer::ensureComposerVersion
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: remove drupal/core 9.1.x-dev
- Conclusion: don't install drupal/core 9.1.x-dev
- Conclusion: don't install drupal/core 9.1.x-dev
- drupal/smart_content_segments 1.0.0-alpha2 requires drupal/core ~8.0 -> satisfiable by drupal/core[8.0.x-dev, 8.1.x-dev, 8.2.x-dev, 8.3.x-dev, 8.4.x-dev, 8.5.x-dev, 8.7.x-dev, 8.8.x-dev, 8.9.x-dev].
- drupal/smart_content_segments 1.0.0-alpha2 requires drupal/core ~8.0 -> satisfiable by drupal/core[8.0.x-dev, 8.1.x-dev, 8.2.x-dev, 8.3.x-dev, 8.4.x-dev, 8.5.x-dev, 8.7.x-dev, 8.8.x-dev, 8.9.x-dev].
- Can only install one of: drupal/core[8.0.x-dev, 9.1.x-dev].
- Can only install one of: drupal/core[8.1.x-dev, 9.1.x-dev].
- Can only install one of: drupal/core[8.2.x-dev, 9.1.x-dev].
- Can only install one of: drupal/core[8.3.x-dev, 9.1.x-dev].
- Can only install one of: drupal/core[8.4.x-dev, 9.1.x-dev].
- Can only install one of: drupal/core[8.5.x-dev, 9.1.x-dev].
- Can only install one of: drupal/core[8.7.x-dev, 9.1.x-dev].
- Can only install one of: drupal/core[8.8.x-dev, 9.1.x-dev].
- Can only install one of: drupal/core[8.9.x-dev, 9.1.x-dev].
Comment | File | Size | Author |
---|---|---|---|
#2 | smart_content_segments-update_info_yml_d9-3151673-0.patch | 404 bytes | alex_branescu |
Issue fork smart_content_segments-3151673
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
alex_branescu CreditAttribution: alex_branescu at Hogarth Worldwide for Nestlé commentedAdded a patch for info.yml file to allow D9 compatibility.
Comment #3
alex_branescu CreditAttribution: alex_branescu at Hogarth Worldwide for Nestlé commentedPlease review the above patch.
Comment #4
alex_branescu CreditAttribution: alex_branescu at Hogarth Worldwide for Nestlé commentedComment #7
fecka79 CreditAttribution: fecka79 as a volunteer commentedPlease approve https://git.drupalcode.org/project/smart_content_segments/-/merge_reques... to make the module compatible with Drupal 9. Thank you!
Comment #8
fecka79 CreditAttribution: fecka79 as a volunteer commentedCan we please have this reviewed? Thank you!
Comment #9
gantal CreditAttribution: gantal at Elevated Third commentedThe 2.x version of this module is D9 compatible and now has an alpha release. The 1.x branch is not maintained anymore, so I don't know if we should update that. I'll mark this issue as outdated.