localgovdrupal / localgov

Installation profile for the LocalGov Drupal distribution.
GNU General Public License v2.0
83 stars 18 forks source link

Drupal 10 support #434

Closed finnlewis closed 2 years ago

finnlewis commented 2 years ago

We need to be ready for Drupal 10 which will likely be released later this year.

Starting this issue to track developments and discussion.

Shall we start a 3.x branch to target Drupal 10?

finnlewis commented 2 years ago

Discussion in Merge Mondays:

So:

ekes commented 2 years ago

@ekes mentioned a way to get composer to play nicely for modules that only specify D9 compatibility. https://www.drupal.org/docs/develop/using-composer/using-drupals-lenient-composer-endpoint

stephen-cox commented 2 years ago

We have 3.x branches for the profile and the project:

The project will install Drupal 10 if you remove the requirement for localgovdrupal/localgov:3.x. When trying to install LocalGov Drupal there's a mass of Composer conflicts that need unpicking:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - zendframework/zend-feed[dev-master, dev-develop, 2.11.0, ..., 2.13.x-dev] require php ^5.6 || ^7.0 -> your php version (8.1.4) does not satisfy that requirement.
    - laminas/laminas-feed[2.12.0, ..., 2.12.x-dev] require php ^5.6 || ^7.0 -> your php version (8.1.4) does not satisfy that requirement.
    - symfony/psr-http-message-bridge[v1.1.0, ..., 1.1.x-dev] require php ^5.3.3 || ^7.0 -> your php version (8.1.4) does not satisfy that requirement.
    - symfony/psr-http-message-bridge[v1.2.0, ..., v1.3.0] require php ^7.1 -> your php version (8.1.4) does not satisfy that requirement.
    - laminas/laminas-feed[2.13.0, ..., 2.14.x-dev] require php ^7.3 || ~8.0.0 -> your php version (8.1.4) does not satisfy that requirement.
    - drupal/core[8.9.11, ..., 8.9.x-dev] require php ^7.0.8 -> your php version (8.1.4) does not satisfy that requirement.
    - drupal/core[9.0.10, ..., 9.0.x-dev] require php ^7.3 -> your php version (8.1.4) does not satisfy that requirement.
    - Root composer.json requires localgovdrupal/localgov 3.x -> satisfiable by localgovdrupal/localgov[3.x-dev].
    - localgovdrupal/localgov_alert_banner[1.2.0, ..., 1.x-dev] require drupal/condition_field ^2.0 -> satisfiable by drupal/condition_field[2.0.0, 2.0.x-dev].
    - localgovdrupal/localgov 3.x-dev requires localgovdrupal/localgov_alert_banner ^1.2.0 -> satisfiable by localgovdrupal/localgov_alert_banner[1.2.0, 1.2.1, 1.3.0, 1.x-dev].
    - drupal/core[9.0.0-alpha1, ..., 9.0.0-alpha2] require symfony/psr-http-message-bridge ^1.2.0 -> satisfiable by symfony/psr-http-message-bridge[v1.2.0, v1.3.0].
    - drupal/core[8.9.0-beta1, ..., 8.9.10] require symfony/psr-http-message-bridge ^1.1.2 -> satisfiable by symfony/psr-http-message-bridge[v1.1.2, 1.1.x-dev, v1.2.0, v1.3.0].
    - drupal/core[8.8.0-alpha1, ..., 8.8.x-dev] require zendframework/zend-feed ^2.12 -> satisfiable by laminas/laminas-feed[2.12.0, ..., 2.18.x-dev], zendframework/zend-feed[2.12.0, 2.12.x-dev, 2.13.x-dev].
    - drupal/condition_field[2.0.0, ..., 2.0.x-dev] require drupal/core ^8.8 || ^9 -> satisfiable by drupal/core[8.8.0-alpha1, ..., 8.9.x-dev, 9.0.0-alpha1, ..., 9.4.x-dev].
    - You can only install one version of a package, so only one of these can be installed: drupal/core[8.4.0-rc1, ..., 8.9.x-dev, 9.0.0-alpha1, ..., 9.4.x-dev, 10.0.0-alpha1, 10.0.0-alpha2, 10.0.0-alpha3, 10.0.x-dev].
    - localgovdrupal/localgov 3.x-dev requires drupal/core ^10.0.0-alpha3 -> satisfiable by drupal/core[10.0.0-alpha3, 10.0.x-dev].
    - Conclusion: don't install drupal/core 10.0.0-alpha3 (conflict analysis result)