I got the following error when run "composer drupal-update"

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

  Problem 1
    - The requested package swiftmailer/swiftmailer 5.2.*@stable could not be found.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

devlada created an issue. See original summary.

devlada’s picture

Updated to swiftmailer version 5.4.1

devlada’s picture

Status: Active » Needs review
webflo’s picture

Status: Needs review » Needs work
+++ b/composer.json
@@ -5,7 +5,7 @@
+      "swiftmailer/swiftmailer": "5.4.1",

We should not hardcode one exact version of SwiftMailer. Please a semver-contraint instead.

devlada’s picture

FileSize
448 bytes
441 bytes

yep, now is better.

devlada’s picture

Status: Needs work » Needs review
webflo’s picture

FileSize
450 bytes
webflo’s picture

  1. +++ b/composer.json
    @@ -3,9 +3,8 @@
         "license": "GPL-2.0+",
    

    The minimum-stability is a root package property. It doesn't makes a lot of sense in this package.

  2. +++ b/composer.json
    @@ -3,9 +3,8 @@
    +      "swiftmailer/swiftmailer": "~5.4.0",
    

    Allows every version in 5.4.*. We can bump to 5.5 later.

  3. +++ b/composer.json
    @@ -3,9 +3,8 @@
    +      "html2text/html2text": "~4.0.1"
    

    Removed the unbound version constraint, since html2text has a proper release.

Berdir’s picture

Completely off topic question, is html2text something we could consider getting into core to replace our own code there? Which hasn't been updated in a long time and has open bug reports.

Berdir’s picture

Status: Needs review » Reviewed & tested by the community

Looks good to me, updated to 5.4.1.

webflo’s picture

Status: Reviewed & tested by the community » Fixed

Thanks!

  • webflo committed 3fb1e08 on 8.x-1.x
    Issue #2689241 by devlada, webflo: Update swiftmailer/swiftmailer and...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.