Problem/Motivation
This module appears to be a good approach to add a feature to a D9 site. But running
composer require 'drupal/entity_word:^2.7'
returns
drupal/entity_word 2.x-dev is an alias of drupal/entity_word dev-2.x and thus requires it to be installed too.
- drupal/entity_word[dev-2.x, 2.7.0] require phpoffice/phpword 0.17.0 -> satisfiable by phpoffice/phpword[0.17.0].
- phpoffice/phpword 0.17.0 requires zendframework/zend-escaper ^2.2 -> satisfiable by zendframework/zend-escaper[2.2.0rc1, ..., 2.7.x-dev (alias of dev-develop)].
- laminas/laminas-escaper 2.9.0 conflicts with zendframework/zend-escaper 2.6.1.
Cannot understand the first problem. Running a dev module in production is not considered best practice?
Is the required depedency zendframework/zend-escaper incompatible with drupal/core-recommended? If so, how to build a Drupal that is secure and is current?
Steps to reproduce
Create a fresh drupal 9 site using drupal/core-recommended.
Run composer require 'drupal/entity_word:^2.7'
Proposed resolution
Determine if project is compatible with Drupal 9.
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork entity_word-3283503
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
mmjvb commentedSuggest to use ~0.18.3 instead to allow for further bug fixes.
Comment #8
jayprakash01 commentedComment #9
jayprakash01 commentedRequest changes are implemented. Now it is fixed.
Comment #10
mmjvb commentedNot really!
This is because it doesn't make sense to declare support for older D8 versions when you only allow above 8.8. So, the core key needs to go.
- While you are at it you might want to change composer.json:
-- use correct name: "name": "drupal/entity_word",
-- Set a proper license:- License "GPL-2.0+" is a deprecated SPDX license identifier, use "GPL-2.0-or-later" instead
-- Allow for bug fixes: "phpoffice/phpword": "~0.18.3",
Comment #12
jayprakash01 commentedThanks @mmjvb. Fixed now.
Comment #13
mmjvb commentedThanks, released in 3.1.0 today.
Probably too early for ^10 as that is in alpha5.