Remove Swiftmailer from composer dependencies

Created on 3 April 2024, 9 months ago
Updated 26 July 2024, 5 months ago

Problem/Motivation

How to update Drupal core to 10.2.x and goalgorilla/open_social to the latest compatible version (12.3.2 or 12.2.4) using composer?
The open social docs β†’ on how to update do not help/

Steps to reproduce

Please see attached composer.txt (my composer.json).

1. In the composer.json I changed: "drupal/core-recommended" to "~10.2.0" and "drush/drush" to "*"
2. I then ran: composer update drupal/core-recommended:~10.2.5 drupal/core:~10.2.5 drush/drush goalgorilla/open_social:^12.3.2 -W. I included core-recommended, core, and drush as composer was giving errors saying that updates to these packages were not requested.
3. This is the error I have from this command:

  Problem 1
    - Root composer.json requires drupal/core-recommended ~10.2.0 -> satisfiable by drupal/core-recommended[10.2.5, 10.2.x-dev].
    - goalgorilla/open_social[12.3.2, ..., 12.4.x-dev] require drupal/swiftmailer 2.3.0 -> satisfiable by drupal/swiftmailer[2.3.0].
    - Conclusion: don't install drupal/swiftmailer 2.3.0 (conflict analysis result)
    - Root composer.json requires goalgorilla/open_social ^12.0.0-rc6 -> satisfiable by goalgorilla/open_social[12.3.2, 12.3.x-dev, 12.4.x-dev].

Proposed resolution

Previously Swiftmailer was used for social_swiftmail submodule.
Since the module was already migrated to symfony mailer module, the Swiftmailer module must be removed ASAP.

πŸ’¬ Support request
Status

Needs review

Version

12.4

Component

Other

Created by

πŸ‡¬πŸ‡§United Kingdom jpontet

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024