Problem/Motivation

The link_attributes dependency is for an old version, and can't be installed when 2.0 is already installed.

I think it's unnecessary to put the module dependencies in composer.json. Packagist takes care of defining dependencies from the info file (I think that's how it works).

It should be safe to remove the dependencies from composer that are in the info file, unless there is a need to restrict the version for compatibility.

Command icon 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

mortona2k created an issue. See original summary.

mortona2k’s picture

Status: Active » Needs review

I left the dependencies in composer.json, and added || ^2.0 for link_attributes. If there are version dependencies, this won't mess them up unless changes are needed for 2.0.

drupal/admin_audit_trail is both required and suggested. Looks like it's optional, and required by the submodule. The submodule has the dependency in the info file, so I think we should just remove it from required.

Looking for comment on the pinned version compatibility.

mikeohara’s picture

Will have a look, thanks!

mikeohara’s picture

Change merged into 2.x branch.

mikeohara’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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