Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Now DCD depends from version 1.0-alpha7 of default_content module, but 1.0-alpha8 is out. So I can't upgrade it without breaking the dependency. Fix it with "drupal/default_content": "^1.0", not "drupal/default_content": "1.0-alpha7".
Comment | File | Size | Author |
---|---|---|---|
#2 | fix_default_content_dependency-3064093-2-D8.patch | 300 bytes | arnaldop |
Comments
Comment #2
arnaldopHere is a patch that solves this problem. It still couples this
alpha
release to thealpha
release ofdefault_content
, but it's no longer a specific, now outdated, release.Unfortunately, I wasn't able to apply it using the
cweagans/composer-patches
. This may be the case because it's not patching code, but thecomposer.json
file, which almost creates a race condition...Perhaps now that this patch file is not local, but rather external, the
extra/patches
mechanism might pick it up and "fix everything".I marked this as major because, unless I'm wrong, which I often am, there is no reason to couple this release of
default_content_deploy
withdefault_content
releasealpha7
. Minor versions should be non-breaking, so it should not matter which alpha release is used. (This could be a bit of wishful thinking, but a guy can hope!)Comment #3
Andrew Answer CreditAttribution: Andrew Answer as a volunteer commented@arnaldop,
thank you for your fix, it's applied, but I cannot update default_content module anyway. Probably, it can be allowed only if DCD owners commit your patch to dev version, at least.
Comment #4
ivnish CreditAttribution: ivnish commentedComment #5
ivnish CreditAttribution: ivnish commentedPlease commit this to dev
Comment #6
alphawebgroupHey, any chance to get that committed?
Comment #7
simoneb CreditAttribution: simoneb commentedany news on this?
Comment #9
martin_klimaThank you guys and very sorry for the late reaction.
Comment #10
simoneb CreditAttribution: simoneb commentedHi,
I just tried composer require 'drupal/default_content_deploy:1.x-dev'
But I get this one
The requested package drupal/default_content ^1.x-dev exists as drupal/default_content[dev-1.x, 1.x-dev, 1.0.0-alpha8, 1.0.0-alpha7, 1.0.0-alpha6, 1.0.0-alpha5, 1.0.0-alpha4, 1.0.0-alpha3, 1.0.0-alpha2, 1.0.0-alpha1, dev-8.x-1.x, dev-uuid-tree] but these are rejected by your constraint.
Thanks
PS: "minimum-stability": "dev"
Comment #11
martin_klimaI checked it again without any problem.
composer require 'drupal/default_content_deploy:1.x-dev'
works normally for me.Could it be a problem in typo? You asked for default_content_deploy, but your Composer message is:
> The requested package drupal/default_content ^1.x-dev exists as... So maybe you asked for default_content:1.x-dev.
Comment #12
simoneb CreditAttribution: simoneb commentedRemoving default_content and better_normalizers from composer.json and run composer require 'drupal/default_content_deploy:1.x-dev' fixed the issue for me.
Thanks