Problem/Motivation

Error attempting to upgrade drupal. The update screen complains about block_class being out of date

Steps to reproduce

I should not need block_class in the root composer. I use other tools in preference.

composer require 'drupal/block_class:^4.0'

Problem 1
- Root composer.json requires drupal/block_class ^4.0, found drupal/block_class[4.0.0] but these were not loaded, likely because it conflicts with another require.
Problem 2
- drupal/drulma_companion is locked to version 2.1.7 and an update of this package was not requested.

Proposed resolution

Update the dependency on block class or make it less rigid.

Remaining tasks

Coding changes.

User interface changes

API changes

Data model changes

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

interlated created an issue. See original summary.

interlated’s picture

Status: Active » Needs review

rodrigoaguilera made their first commit to this issue’s fork.

rodrigoaguilera’s picture

Version: 2.1.7 » 2.x-dev

Hello

Thanks for raising the issue. I do not agree on relaxing the restriction that much.
Major versions can change the structure of third party settings so those need to be checked before raising the requirements.

In this case it seems like they are compatible with drulma_companion
https://git.drupalcode.org/project/block_class/-/blob/4.0.x/config/schem...

Please review and I will merge it with a new release afterwards.

interlated’s picture

Works for me...

rodrigoaguilera’s picture

Status: Needs review » Fixed

Released

Status: Fixed » Closed (fixed)

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