Symfony preventing updating to Drupal 10.1.0

Created on 5 July 2023, over 1 year ago

This is actually a continuation of https://www.drupal.org/project/drupal/issues/3371710 πŸ’¬ Trouble updating from 10.0.9 to 10.1.0 Closed: duplicate as I inadvertently said my issue was resolved when it actually wasn't. I was originally trying to update from drupal 10.0.9 to 10.1.0, but Drupal core would not update and only drupal/core-composer-scaffold and drupal/core-project-message would update. I managed to get Drupal core to update to 10.0.10, but it still will not update to 10.1.0.

If I run

lando composer update "drupal/core-*" --with-all-dependencies

I get "Nothing to install, update or remove".

If I run

lando composer why-not drupal/core 10.1.0

I get:

drupal/core-recommended    10.0.10  requires         drupal/core (10.0.10)                                   
drupal/core                10.1.0   requires         symfony/console (^6.3)                                  
drupal/recommended-project dev-main does not require symfony/console (but v6.2.12 is installed)              
drupal/core                10.1.0   requires         symfony/dependency-injection (^6.3)                     
drupal/recommended-project dev-main does not require symfony/dependency-injection (but v6.2.12 is installed) 
drupal/core                10.1.0   requires         symfony/event-dispatcher (^6.3)                         
drupal/recommended-project dev-main does not require symfony/event-dispatcher (but v6.2.8 is installed)      
drupal/core                10.1.0   requires         symfony/http-foundation (^6.3)                          
drupal/recommended-project dev-main does not require symfony/http-foundation (but v6.2.12 is installed)      
drupal/core                10.1.0   requires         symfony/http-kernel (^6.3)                              
drupal/recommended-project dev-main does not require symfony/http-kernel (but v6.2.12 is installed)          
drupal/core                10.1.0   requires         symfony/mime (^6.3)                                     
drupal/recommended-project dev-main does not require symfony/mime (but v6.2.10 is installed)                 
drupal/core                10.1.0   requires         symfony/routing (^6.3)                                  
drupal/recommended-project dev-main does not require symfony/routing (but v6.2.12 is installed)              
drupal/core                10.1.0   requires         symfony/serializer (^6.3)                               
drupal/recommended-project dev-main does not require symfony/serializer (but v6.2.12 is installed)           
drupal/core                10.1.0   requires         symfony/validator (^6.3)                                
drupal/recommended-project dev-main does not require symfony/validator (but v6.2.12 is installed)            
drupal/core                10.1.0   requires         symfony/process (^6.3)                                  
drupal/recommended-project dev-main does not require symfony/process (but v6.2.11 is installed)              
drupal/core                10.1.0   requires         symfony/yaml (^6.3)                                     
drupal/recommended-project dev-main does not require symfony/yaml (but v6.2.10 is installed)                 
drupal/core                10.1.0   requires         doctrine/annotations (^1.14)                            
drupal/recommended-project dev-main does not require doctrine/annotations (but 1.13.3 is installed) 

It looks like Symfony needs to be updated, but doesn't Drupal handle that as part of its dependency?

Here is my composer.json:

{
    "name": "drupal/recommended-project",
    "description": "Project template for Drupal projects with a relocated document root",
    "type": "project",
    "license": "GPL-2.0-or-later",
    "homepage": "https://www.drupal.org/project/drupal",
    "support": {
        "docs": "https://www.drupal.org/docs/user_guide/en/index.html",
        "chat": "https://www.drupal.org/node/314178"
    },
    "repositories": [
        {
            "type": "composer",
            "url": "https://packages.drupal.org/8"
        },
        {
            "type": "package",
            "package": {
                "name": "jackmoore/colorbox",
                "version": "1.6.4",
                "type": "drupal-library",
                "license": "MIT",
                "dist": {
                    "url": "https://github.com/jackmoore/colorbox/archive/1.6.4.zip",
                    "type": "zip"
                }
            }
        }
    ],
    "require": {
        "aptoma/twig-markdown": "^3.4",
        "composer/installers": "^2.0",
        "cweagans/composer-patches": "^1.7",
        "drupal/asset_injector": "^2.16",
        "drupal/auto_entitylabel": "^3.0",
        "drupal/backup_migrate": "^5.0",
        "drupal/better_exposed_filters": "^6.0",
        "drupal/block_field": "^1.0@RC",
        "drupal/cloudfront_edge_caching": "^2.1",
        "drupal/colorbox": "^2.0",
        "drupal/colorbox_inline": "^2.0",
        "drupal/commerce": "^2.34",
        "drupal/commerce_cart_redirection": "^3.2",
        "drupal/commerce_email": "^1.0",
        "drupal/commerce_shipping": "^2.6",
        "drupal/commerce_stock": "1.x-dev@dev",
        "drupal/conditional_fields": "^4.0@alpha",
        "drupal/config_split": "^1.9",
        "drupal/contact_emails": "^1.21",
        "drupal/core-composer-scaffold": "^10.0",
        "drupal/core-project-message": "^10.0",
        "drupal/core-recommended": "^10.0",
        "drupal/devel": "^5.1",
        "drupal/draggableviews": "^2.1",
        "drupal/easy_breadcrumb": "^2.0",
        "drupal/entity_browser": "^2.9",
        "drupal/facets": "^2.0",
        "drupal/fancy_file_delete": "^2.0",
        "drupal/field_group": "^3.4",
        "drupal/focal_point": "^2.0@alpha",
        "drupal/gin": "^3.0@RC",
        "drupal/gin_login": "^2.0",
        "drupal/gin_toolbar": "^1.0@RC",
        "drupal/google_tag": "^1.6",
        "drupal/honeypot": "^2.1",
        "drupal/imce": "^3.0",
        "drupal/imce_rename_plugin": "^2.0",
        "drupal/inline_entity_form": "^1.0@RC",
        "drupal/key_aws": "^1.0",
        "drupal/media_entity_soundcloud": "^3.1",
        "drupal/paragraphs": "^1.15",
        "drupal/pathauto": "^1.11",
        "drupal/quick_node_clone": "^1.16",
        "drupal/redirect": "^1.8",
        "drupal/search_api": "^1.28",
        "drupal/selective_better_exposed_filters": "^3.0@beta",
        "drupal/simple_sitemap": "^4.1",
        "drupal/smart_trim": "^2.1",
        "drupal/smtp": "^1.2",
        "drupal/svg_image_field": "^2.2",
        "drupal/time_field": "^2.1",
        "drupal/token": "^1.12",
        "drupal/twig_field_value": "^2.0",
        "drupal/twig_tweak": "^3.2",
        "drupal/twig_vardumper": "^3.1",
        "drupal/twigsuggest": "^1.0@RC",
        "drupal/tzfield": "^1.7",
        "drupal/uswds_base": "^3.0",
        "drupal/uswds_ckeditor_integration": "2.0.x-dev@dev",
        "drupal/views_ajax_history": "^1.7",
        "drush/drush": "^11.4",
        "jackmoore/colorbox": "^1.6",
        "league/commonmark": "^2.4",
        "phpmailer/phpmailer": "^6.8"
    },
    "conflict": {
        "drupal/drupal": "*"
    },
    "minimum-stability": "dev",
    "prefer-stable": true,
    "config": {
        "allow-plugins": {
            "composer/installers": true,
            "drupal/core-composer-scaffold": true,
            "drupal/core-project-message": true,
            "phpstan/extension-installer": true,
            "dealerdirect/phpcodesniffer-composer-installer": true,
            "cweagans/composer-patches": true
        },
        "sort-packages": true
    },
    "extra": {
        "drupal-scaffold": {
            "locations": {
                "web-root": "web/"
            },
            "file-mapping": {
                "[web-root]/sites/development.services.yml": false
            },
            "excludes": [
                "sites/development.services.yml"
            ]
        },
        "installer-paths": {
            "web/core": [
                "type:drupal-core"
            ],
            "web/libraries/{$name}": [
                "type:drupal-library"
            ],
            "web/modules/contrib/{$name}": [
                "type:drupal-module"
            ],
            "web/profiles/contrib/{$name}": [
                "type:drupal-profile"
            ],
            "web/themes/contrib/{$name}": [
                "type:drupal-theme"
            ],
            "drush/Commands/contrib/{$name}": [
                "type:drupal-drush"
            ],
            "web/modules/custom/{$name}": [
                "type:drupal-custom-module"
            ],
            "web/profiles/custom/{$name}": [
                "type:drupal-custom-profile"
            ],
            "web/themes/custom/{$name}": [
                "type:drupal-custom-theme"
            ]
        },
        "patches": {
            "drupal/backup_migrate": {
                "2663046 - Support the mysql connection class, not just mysqli": "https://www.drupal.org/files/issues/backup_migrate-n2663046-8.patch",
                "3228379 - Failed network - error": "https://www.drupal.org/files/issues/2022-02-02/3228379-download-errors-19.patch"
            },
            "drupal/gin": {
                "": "https://www.drupal.org/files/issues/2023-01-10/gin-remove-content-entity-browser-broken-grid-3309235-12.patch"
            }
        }
    }
}

Attached is my current composer.lock file as a .txt file.

πŸ’¬ Support request
Status

Closed: duplicate

Version

10.0 ✨

Component
ComposerΒ  β†’

Last updated about 10 hours ago

No maintainer
Created by

πŸ‡ΊπŸ‡ΈUnited States socalerich

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

Comments & Activities

Production build 0.71.5 2024