- Issue created by @ytsurk
- First commit to issue fork.
- @elber opened merge request.
- π§π·Brazil elber Brazil
hi I removed some dependencies but I don't know if I understand the issue, please revise.
- Status changed to Needs review
almost 2 years ago 2:59pm 27 February 2023 - First commit to issue fork.
- πͺπͺEstonia rang501 Viljandi
As I understand, removing dependencies from composer.json was the goal of this task and the MR seems to do that, so I will merge it to 2.1.x branch.
-
rang501 β
committed 5a33ea7e on 2.1.x authored by
elber β
Issue #3344367: Remove dependencies from composer.json
-
rang501 β
committed 5a33ea7e on 2.1.x authored by
elber β
- Status changed to Fixed
almost 2 years ago 8:56pm 28 February 2023 - Status changed to Needs work
almost 2 years ago 11:58pm 8 March 2023 - π¨πSwitzerland ytsurk Switzerland
Alright - we do not want this.
composer is no longer getting our dependencies like that.
This needs to be reverted!
-
ytsurk β
committed e6f01051 on 2.1.x
Issue #3344367 by ytsurk: Revert - wqRemove dependencies from composer....
-
ytsurk β
committed e6f01051 on 2.1.x
- πͺπͺEstonia rang501 Viljandi
Latest change is causing issues - composer doesn't like custom fork of entity_embed module now. Do we need version restrictions at all?
- π¨πSwitzerland ytsurk Switzerland
I would not allow a -dev-mr-version in our composer.json
You should add entity_embed via mr-repo (in composer.json of your project):
"repositories": {
"entity_embed": {
"type": "git",
"url": "git@git.drupal.org:issue/entity_embed-3272732.git"
},and then
"drupal/entity_embed": "dev-3272732-drupal-10-",
- πͺπͺEstonia rang501 Viljandi
It is like that, but composer update throws an error:
drupal/media_directories dev-2.1.x requires drupal/entity_embed >=1.3 -> found drupal/entity_embed[dev-8.x-1.x] but it conflicts with your root composer.json require (dev-3272732-drupal-10-).
But I was able to bypass it with inline alias:
"drupal/entity_embed": "dev-3272732-drupal-10- as 1.3"
So I guess, its fine then.
- π¨πSwitzerland ytsurk Switzerland
Alright - Great that it works for you like this.
- π©πͺGermany rgpublic DΓΌsseldorf π©πͺ πͺπΊ
NB: This bug unfortunately causes a dependency on entity browser even if media_directories_ui isn't even enabled. :-(