Update composer.json to allow installation of DER 8-1.1.x

Set contraint to '~1.0'

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dpi created an issue. See original summary.

dpi’s picture

The versions in our current composer.json are for the old unofficial Drupal Packagist. See also Updating the versions of your declared dependencies.

dpi’s picture

Also need to fix references to drupal/sms

Should be drupal/smsframework

dpi’s picture

Daily testbox is failing due to some change 5 days ago

dpi’s picture

Status: Active » Needs review
FileSize
2.03 KB

Status: Needs review » Needs work

The last submitted patch, 5: composer-dependencies-update-2845242.patch, failed testing.

dpi’s picture

Oh right, test bot has issues with dependency changes. Committing to force dependency recalc.

dpi’s picture

Status: Needs work » Fixed

Branch is passing again.

dpi’s picture

Forgot to use issue ID dang.

Git commit hash is #7a5c8b9d

  • dpi committed c367504 on 8.x-1.x
    Issue #2845242 by dpi: Update Composer version constraints (again)
    
dpi’s picture

Existing users of the Drupal Packagist repo (old repo) must update ASAP since that repo is discontinued.

Until then, if they have already updated SMS Framework to the new version, they may see the following errors:

Problem

The requested package drupal/smsframework ^1.0 exists as drupal/smsframework[7.1.0, 7.1.0-alpha1, 7.1.0-beta1, 7.1.0-rc1, 8.1.0-beta1, 8.1.0-beta2, 8.1.0-beta3, dev-7.x-1.x, 7.1.x-dev, dev-8.x-1.x, 8.1.x-dev] but these are rejected by your constraint.

This can be resolved by changing the following before running composer drupal-update:

smsframework/composer.json:

Replace "drupal/dynamic_entity_reference": "^1.0", with "drupal/dynamic_entity_reference": "^8.0",

In each of the four submodules' composer.json: smsframework/modules/sms_*/composer.json:

Replace "drupal/smsframework": "1.0", with "drupal/smsframework": "^8.0",

almaudoh’s picture

Status: Fixed » Needs work

I think you missed out one in sms_user/composer.json

  "require": {
    "drupal/user": "^8.0",
    "drupal/smsframework": "~1.0"
  }
}

Is that deliberate? Every other one is "drupal/smsframework": "^1.0"

dpi’s picture

Ah, an oversight.

I'll fix it shortly. Not urgent/dont need to publish a beta4 immediately since it only prevents a SMS Framework 8.x-1.1

  • dpi committed 910f60c on 8.x-1.x
    Issue #2845242 by almaudoh, dpi: Make constraint on SMS Framework...
dpi’s picture

Status: Needs work » Fixed

Fixed!

Status: Fixed » Closed (fixed)

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