Problem/Motivation
I have created a fresh install of Provus, using my local on PHP 8.1. When I try to upgrade to Drupal 10, I get the following errors
Provus composer require drupal/core-recommended:^10 drupal/core-composer-scaffold:^10 drupal/core-project-message:^10 --update-with-all-dependencies
Problem 1
- drupal/core-recommended 10.0.x-dev requires drupal/core 10.0.x-dev -> found drupal/core[10.0.x-dev] but these were not loaded, likely because it conflicts with another require.
- drupal/core-recommended 10.1.x-dev requires drupal/core 10.1.x-dev -> found drupal/core[10.1.x-dev] but these were not loaded, likely because it conflicts with another require.
- drupal/core-recommended 10.0.0-alpha1 requires drupal/core 10.0.0-alpha1 -> found drupal/core[10.0.0-alpha1] but these were not loaded, likely because it conflicts with another require.
- drupal/core-recommended 10.0.0-alpha2 requires drupal/core 10.0.0-alpha2 -> found drupal/core[10.0.0-alpha2] but these were not loaded, likely because it conflicts with another require.
- drupal/core-recommended 10.0.0-alpha3 requires drupal/core 10.0.0-alpha3 -> found drupal/core[10.0.0-alpha3] but these were not loaded, likely because it conflicts with another require.
- drupal/core-recommended 10.0.0-alpha4 requires drupal/core 10.0.0-alpha4 -> found drupal/core[10.0.0-alpha4] but these were not loaded, likely because it conflicts with another require.
- drupal/core-recommended 10.0.0-alpha5 requires drupal/core 10.0.0-alpha5 -> found drupal/core[10.0.0-alpha5] but these were not loaded, likely because it conflicts with another require.
- drupal/core-recommended 10.0.0-alpha6 requires drupal/core 10.0.0-alpha6 -> found drupal/core[10.0.0-alpha6] but these were not loaded, likely because it conflicts with another require.
- drupal/core-recommended 10.0.0-alpha7 requires drupal/core 10.0.0-alpha7 -> found drupal/core[10.0.0-alpha7] but these were not loaded, likely because it conflicts with another require.
- drupal/core-recommended 10.0.0-beta1 requires drupal/core 10.0.0-beta1 -> found drupal/core[10.0.0-beta1] but these were not loaded, likely because it conflicts with another require.
- drupal/core-recommended 10.0.0-beta2 requires drupal/core 10.0.0-beta2 -> found drupal/core[10.0.0-beta2] but these were not loaded, likely because it conflicts with another require.
- drupal/core-recommended 10.0.0-rc1 requires drupal/core 10.0.0-rc1 -> found drupal/core[10.0.0-rc1] but these were not loaded, likely because it conflicts with another require.
- drupal/core-recommended 10.0.0-rc2 requires drupal/core 10.0.0-rc2 -> found drupal/core[10.0.0-rc2] but these were not loaded, likely because it conflicts with another require.
- drupal/core-recommended 10.0.0-rc3 requires drupal/core 10.0.0-rc3 -> found drupal/core[10.0.0-rc3] but these were not loaded, likely because it conflicts with another require.
- drupal/core-recommended 10.0.0 requires drupal/core 10.0.0 -> found drupal/core[10.0.0] but these were not loaded, likely because it conflicts with another require.
- drupal/core-recommended 10.0.1 requires drupal/core 10.0.1 -> found drupal/core[10.0.1] but these were not loaded, likely because it conflicts with another require.
- drupal/core-recommended 10.0.2 requires drupal/core 10.0.2 -> found drupal/core[10.0.2] but these were not loaded, likely because it conflicts with another require.
- drupal/core-recommended 10.0.3 requires drupal/core 10.0.3 -> found drupal/core[10.0.3] but these were not loaded, likely because it conflicts with another require.
- drupal/core-recommended 10.0.4 requires drupal/core 10.0.4 -> found drupal/core[10.0.4] but these were not loaded, likely because it conflicts with another require.
- drupal/core-recommended 10.0.5 requires drupal/core 10.0.5 -> found drupal/core[10.0.5] but these were not loaded, likely because it conflicts with another require.
- drupal/core-recommended 10.0.6 requires drupal/core 10.0.6 -> found drupal/core[10.0.6] but these were not loaded, likely because it conflicts with another require.
- drupal/core-recommended 10.0.7 requires drupal/core 10.0.7 -> found drupal/core[10.0.7] but these were not loaded, likely because it conflicts with another require.
- drupal/core-recommended 10.0.8 requires drupal/core 10.0.8 -> found drupal/core[10.0.8] but these were not loaded, likely because it conflicts with another require.
- drupal/core-recommended 10.1.0-alpha1 requires drupal/core 10.1.0-alpha1 -> found drupal/core[10.1.0-alpha1] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires drupal/core-recommended ^10 -> satisfiable by drupal/core-recommended[10.0.0-alpha1, ..., 10.1.x-dev].
Provus composer why-not drupal/core ^10
drupal/addtoany 1.18.0 requires drupal/core (^8 || ^9)
drupal/ala 1.8.0 requires drupal/core (^8 || ^9)
drupal/antibot 1.5.0 requires drupal/core (^8.8 || ^9)
drupal/config_distro 1.0.0-alpha4 requires drupal/core (^8.8 || ^9)
drupal/config_merge 1.0.0 requires drupal/core (^8 || ^9)
drupal/config_provider 2.0.0-rc4 requires drupal/core (^8 || ^9)
drupal/config_snapshot 1.0.0-rc2 requires drupal/core (^8 || ^9)
drupal/core-recommended 9.5.8 requires drupal/core (9.5.8)
drupal/date_recur 3.1.0 requires drupal/core (^9)
drupal/date_recur_modular 3.0.1 requires drupal/core (^9)
drupal/default_content 1.0.0-alpha9 requires drupal/core (^8.7.7 || ^9)
drupal/devel 4.2.1 requires drupal/core (^8.8 || ^9)
drupal/entity_embed 1.3.0 requires drupal/core (^9.3)
drupal/exclude_node_title 1.3.0 requires drupal/core (^8 || ^9)
drupal/focal_point 1.5.0 requires drupal/core (^8.8 || ^9)
drupal/formtips 1.5.0 requires drupal/core (^8 || ^9)
drupal/geocoder 3.34.0 requires drupal/core (^8.8 || ^9)
drupal/gin_login 1.0.0 requires drupal/core (^8 || ^9)
drupal/hal 1.0.3 requires drupal/core (^9)
drupal/layout_builder_styles 1.0.0 requires drupal/core (^8.7.7 || ^9)
drupal/layout_paragraphs 1.0.0 requires drupal/core (^8 || ^9)
drupal/linkit 6.0.0-rc1 conflicts drupal/core (>=10.1)
drupal/media_bulk_upload 1.0.0-alpha28 requires drupal/core (^8 || ^9)
drupal/menu_breadcrumb 1.16.0 requires drupal/core (^8 || ^9)
drupal/migrate_plus 5.3.0 requires drupal/core (^9.1)
drupal/search_api_glossary 4.1.0 requires drupal/core (^8.8 || ^9)
drupal/smart_trim 1.3.0 requires drupal/core (^8 || ^9)
drupal/views_bootstrap 4.3.0 requires drupal/core (^8 || ^9)
drupal/viewsreference 1.8.0 requires drupal/core (^8.6|^9.0)
drupal/webform 6.1.4 requires drupal/core (^8.8 || ^9)
drupal/core 10.1.0-alpha1 requires php (>=8.1.0 but 7.4 is installed)
drupal/core 10.1.0-alpha1 requires symfony/console (^6.2)
promet/provus-drupal - does not require symfony/console (but v4.4.49 is installed)
drupal/core 10.1.0-alpha1 requires symfony/dependency-injection (^6.2)
promet/provus-drupal - does not require symfony/dependency-injection (but v4.4.49 is installed)
drupal/core 10.1.0-alpha1 requires symfony/event-dispatcher (^6.2)
promet/provus-drupal - does not require symfony/event-dispatcher (but v4.4.44 is installed)
drupal/core 10.1.0-alpha1 requires symfony/http-foundation (^6.2)
promet/provus-drupal - does not require symfony/http-foundation (but v4.4.49 is installed)
drupal/core 10.1.0-alpha1 requires symfony/http-kernel (^6.2)
promet/provus-drupal - does not require symfony/http-kernel (but v4.4.50 is installed)
drupal/core 10.1.0-alpha1 requires symfony/mime (^6.2)
promet/provus-drupal - does not require symfony/mime (but v5.4.13 is installed)
drupal/core 10.1.0-alpha1 requires symfony/routing (^6.2)
promet/provus-drupal - does not require symfony/routing (but v4.4.44 is installed)
drupal/core 10.1.0-alpha1 requires symfony/serializer (^6.2)
promet/provus-drupal - does not require symfony/serializer (but v4.4.47 is installed)
drupal/core 10.1.0-alpha1 requires symfony/validator (^6.2)
promet/provus-drupal - does not require symfony/validator (but v4.4.48 is installed)
drupal/core 10.1.0-alpha1 requires symfony/process (^6.2)
promet/provus-drupal - does not require symfony/process (but v4.4.44 is installed)
drupal/core 10.1.0-alpha1 requires symfony/yaml (^6.2)
promet/provus-drupal - does not require symfony/yaml (but v4.4.45 is installed)
drupal/core 10.1.0-alpha1 requires twig/twig (^3.5.0)
promet/provus-drupal - does not require twig/twig (but v2.15.4 is installed)
drupal/core 10.1.0-alpha1 requires doctrine/annotations (^1.14)
promet/provus-drupal - does not require doctrine/annotations (but 1.13.3 is installed)
drupal/core 10.1.0-alpha1 requires guzzlehttp/guzzle (^7.5)
promet/provus-drupal - does not require guzzlehttp/guzzle (but 6.5.8 is installed)
drupal/core 10.1.0-alpha1 requires guzzlehttp/psr7 (^2.4)
promet/provus-drupal - does not require guzzlehttp/psr7 (but 1.9.1 is installed)
drupal/core 10.1.0-alpha1 requires asm89/stack-cors (^2.1)
promet/provus-drupal - does not require asm89/stack-cors (but 1.3.0 is installed)
drupal/core 10.1.0-alpha1 requires psr/log (^3.0)
promet/provus-drupal - does not require psr/log (but 1.1.4 is installed)
Not finding what you were looking for? Try calling `composer update "drupal/core:^10" --dry-run` to get another view on the problem.
Steps to reproduce
- Install a fresh Provus site
- Upgrade it to Drupal 10, and errors will occur
- execute composer why-not drupal/core ^10 and composer update "drupal/core:^10" --dry-run to get another view of the errors.
Proposed resolution
- Update the dependencies to be compatible with Drupal 10
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | composer.lock_.txt | 695.91 KB | _renify_ |
| #10 | composer.json_.patch | 6.41 KB | _renify_ |
| Monosnap 2023-05-02 22-30-40.png | 308.31 KB | clarkssquared |
Issue fork provus-3357684
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
Comment #2
luukyb commentedThanks Clark !
Additional information from Clark, those are the modules as dependency on Provus, that are not yet ready for Drupal 10:
Advanced Link Attributes (ALA)
Config Distro
Entity Embed
Form Tips
Migrate Plus
Search API AZ Glossary
Comment #5
luukyb commentedComment #6
aastrong commentedLooks good - leave this ticket open for the remainder of the composer updates.
Comment #7
luukyb commentedThanks @aastrong. I think Formtips was the last module that we had a dependency that does not have a version ready for D10.
Next step is to try to run again the following composer command and test Provus out of the box using D10 and updated dependencies modules for D10.
composer require drupal/core-recommended:^10 drupal/core-composer-scaffold:^10 drupal/core-project-message:^10 --update-with-all-dependenciesComment #8
luukyb commentedComment #9
_renify_ commentedHere is my changes for composer.json & composer.lock.It updrades to Drupal10.
Download those patch files then run:
Comment #10
_renify_ commentedHere is my changes for composer.json & composer.lock.
It updrades to Drupal10.
Download those patch files then run:
Comment #11
_renify_ commentedComment #12
aastrong commentedwe will need to make an adjustment to this patch so that it only uses specific versions of modules.
Comment #15
johnlutzClosing this ticket as we have a d10 version of Provus now.
Comment #16
johnlutz