Dear,

I'm unable to update the mailchimp package via composer, I get the following output when running composer require 'drupal/mailchimp:^1.4':

./composer.json has been updated
> DrupalProject\composer\ScriptHandler::checkComposerVersion
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
- drupal/mailchimp_lists 1.3.0 requires drupal/mailchimp 1.3.0 -> satisfiable by drupal/mailchimp[1.3.0] but these conflict with your requirements or minimum-stability.
- drupal/mailchimp_lists 1.3.0 requires drupal/mailchimp 1.3.0 -> satisfiable by drupal/mailchimp[1.3.0] but these conflict with your requirements or minimum-stability.
- Installation request for drupal/mailchimp_lists (installed at 1.3.0, required as ^1.3) -> satisfiable by drupal/mailchimp_lists[1.3.0].

Installation failed, reverting ./composer.json to its original content.

Here are the contents of my composer.json:
{
"name": "drupal-composer/drupal-project",
"description": "Project template for Drupal 8 projects with composer",
"type": "project",
"license": "GPL-2.0+",
"authors": [
{
"name": "",
"role": ""
}
],
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
}
],
"require": {
"composer/installers": "^1.2",
"cweagans/composer-patches": "^1.6",
"drupal-composer/drupal-scaffold": "^2.2",
"drupal/Layout_plugin": "^1.0@alpha",
"drupal/address": "^1.1",
"drupal/admin_toolbar": "^1.19",
"drupal/bootstrap": "^3.6",
"drupal/bootstrap_layouts": "^4.1",
"drupal/calendar": "1.x-dev",
"drupal/console": "^1.0.1",
"drupal/core": "~8.0",
"drupal/csv_serialization": "^1.0",
"drupal/devel": "^1.0",
"drupal/ds": "^3.1",
"drupal/entity_reference_revisions": "^1.3",
"drupal/fb_likebox": "^2.0",
"drupal/field_group": "^1.0@RC",
"drupal/flickity": "^2.1",
"drupal/inline_entity_form": "^1.0@beta",
"drupal/magnific_popup": "^1.2",
"drupal/mailchimp": "^1.3",
"drupal/mailchimp_lists": "^1.3",
"drupal/media_entity": "^1.6",
"drupal/page_manager": "^4.0@beta",
"drupal/panels": "^4.2",
"drupal/profile": "^1.0@beta",
"drupal/views_rest_feed": "^1.0@alpha",
"drupal/views_templates": "^1.0@alpha",
"drush/drush": "~8.0",
"webflo/drupal-finder": "^1.0.0",
"webmozart/path-util": "^2.3"
},
"require-dev": {
"behat/mink": "~1.7",
"behat/mink-goutte-driver": "~1.2",
"jcalderonzumba/gastonjs": "~1.0.2",
"jcalderonzumba/mink-phantomjs-driver": "~0.3.1",
"mikey179/vfsstream": "~1.2",
"phpunit/phpunit": ">=4.8.28 <5",
"symfony/css-selector": "~2.8"
},
"conflict": {
"drupal/drupal": "*"
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"sort-packages": true
},
"autoload": {
"classmap": [
"scripts/composer/ScriptHandler.php"
]
},
"scripts": {
"drupal-scaffold": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold",
"pre-install-cmd": [
"DrupalProject\\composer\\ScriptHandler::checkComposerVersion"
],
"pre-update-cmd": [
"DrupalProject\\composer\\ScriptHandler::checkComposerVersion"
],
"post-install-cmd": [
"DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
],
"post-update-cmd": [
"DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
]
},
"extra": {
"installer-paths": {
"web/core": ["type:drupal-core"],
"web/libraries/{$name}": ["type:drupal-library"],
"web/modules/contrib/{$name}": ["type:drupal-module"],
"web/profiles/contrib/{$name}": ["type:drupal-profile"],
"web/themes/contrib/{$name}": ["type:drupal-theme"],
"drush/contrib/{$name}": ["type:drupal-drush"]
}
}
}

I tried to run composer update 'drupal/mailchimp' --with-dependencies and tried editing the composer.json mailchimp and mailchimp_lists to 1.4 and run the update again but I always get the same error.

Comments

senne.t created an issue. See original summary.

avpaderno’s picture

Issue tags: -Composer, -update
megachriz’s picture

Status: Active » Fixed

It is a bit late reply, but I think that "drupal/mailchimp_lists": "^1.3", should not be in your composer.json file. That's because mailchimp_lists is already part of the mailchimp project itself, so you would only need to require "drupal/mailchimp".

Anyway, to update modules I would rather choose the command composer update or composer update drupal/mailchimp if you only want to update the mailchimp module.

Assuming this answers the question, marking this issue as "Fixed".

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.