CivicTheme requires webform ^6.2 which is incompatible with Drupal 11

Created on 7 April 2025, 4 months ago

Problem/Motivation

When trying to install CivicTheme on a Drupal 11 setup using:

composer require 'drupal/civictheme:^1.10'

the installation fails due to the Webform dependency constraint.

Currently, CivicTheme requires:

"drupal/webform": "^6.2"

However, Webform 6.2.x is not compatible with Drupal 11. This prevents CivicTheme from being installed on any Drupal 11 site out of the box.

Proposed resolution

Update composer.json to allow Webform 6.3.x, which supports Drupal 11:

"drupal/webform": "^6.2 || ^6.3"

๐Ÿ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

๐Ÿ‡น๐Ÿ‡ทTurkey makbay

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

Comments & Activities

  • Issue created by @makbay
  • @makbay opened merge request.
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia joshua1234511 Goa

    At the moment, I donโ€™t think an update to the Webform constraint is needed. As per the current composer.json in CivicTheme ( https://github.com/civictheme/monorepo-drupal/blob/develop/web/themes/co... ), the requirement is:

    "drupal/webform": "^6.2"
    This allows any version from 6.2.0 up to (but not including) 7.0.0, so Webform 6.3.x is valid and gets pulled in automatically for Drupal 11 setups.

    In fact, our Drupal 11 build (https://app.circleci.com/pipelines/github/civictheme/monorepo-drupal/841...) is already pulling in Webform 6.3 successfully, and everything works as expected.

    So unless there's a more specific edge case, I don't think we need to patch the constraint at this point.

  • ๐Ÿ‡ญ๐Ÿ‡ทCroatia ivan zugec

    I just experienced the same issue running Drupal 11.1.7 and CivicTheme 1.10.

    To install things, you must update your `minimum-stability` in the composer.json to beta.

    "minimum-stability": "beta",
    

    It's failing because Webform 6.3 is in beta, and your minimum stability needs to be something other than stable, at least beta.

Production build 0.71.5 2024