Update from 5.0 to 5.1 patterns issue

Created on 25 April 2025, 20 days ago

Problem/Motivation

When I try

composer require 'drupal/ui_suite_bootstrap:^5.1@beta' -W

I get this warning:

  Problem 1
    - Root composer.json requires drupal/ui_suite_bootstrap ^5.1@beta -> satisfiable by drupal/ui_suite_bootstrap[5.1.0-beta1].
    - drupal/ui_suite_bootstrap 5.1.0-beta1 requires drupal/ui_patterns ^2.0 -> found drupal/ui_patterns[2.0.0-alpha1, ..., 2.0.3] but it conflicts with your root composer.json require (^1.8).

If I try

composer require 'drupal/ui_patterns:^2.0' -W

I get this:

  Problem 1
    - Root composer.json requires drupal/ui_patterns ^2.0, found drupal/ui_patterns[2.0.0-alpha1, ..., 2.0.3] but these were not loaded, likely because it conflicts with another require.
  Problem 2
    - drupal/component_blocks is locked to version 1.2.5 and an update of this package was not requested.
    - drupal/component_blocks 1.2.5 requires drupal/ui_patterns * -> found drupal/ui_patterns[1.0.0-beta1, ..., 1.10.0, 2.0.0-alpha1, ..., 2.0.3] but these were not loaded, likely because it conflicts with another require.
  Problem 3
    - drupal/ui_patterns_settings is locked to version 2.4.0 and an update of this package was not requested.
    - drupal/ui_patterns_settings 2.4.0 requires drupal/ui_patterns * -> found drupal/ui_patterns[1.0.0-beta1, ..., 1.10.0, 2.0.0-alpha1, ..., 2.0.3] but these were not loaded, likely because it conflicts with another require.
  Problem 4
    - drupal/ui_suite_bootstrap is locked to version 5.0.0-beta3 and an update of this package was not requested.
    - drupal/ui_suite_bootstrap 5.0.0-beta3 requires drupal/ui_patterns ^1.10 -> found drupal/ui_patterns[1.10.0] but it conflicts with your root composer.json require (^2.0).
  Problem 5
    - drupal/ui_patterns_field_formatters dev-2.x requires drupal/ui_patterns ^1.0@RC -> found drupal/ui_patterns[1.0.0-beta1, ..., 1.10.0] but it conflicts with your root composer.json require (^2.0).
    - drupal/ui_patterns_field_formatters 2.x-dev is an alias of drupal/ui_patterns_field_formatters dev-2.x and thus requires it to be installed too.
    - Root composer.json requires drupal/ui_patterns_field_formatters 2.x-dev@dev -> satisfiable by drupal/ui_patterns_field_formatters[2.x-dev (alias of dev-2.x)].

I can't update one without the other. Sorry, but I tried everything I could, and I need some guidance on what to do. Any help with this would be highly appreciated.

Thanks a lot.

💬 Support request
Status

Active

Version

5.0

Component

Miscellaneous

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024