Cannot upgrade to paragonie/sodium_compat v2 because of PHP 7.2

Created on 27 April 2024, 2 months ago

Problem/Motivation

paragonie/sodium_compat v.2 has been released, and halite v5 (supported by this module) can be used with it.

However, when I tried to upgrade by manually specifying "paragonie/sodium_compat": "^2", in composer.json, I get an error:

  Problem 1
    - paragonie/halite v5.1.1 requires paragonie/hidden-string ^1|^2 -> satisfiable by paragonie/hidden-string[v1.0.0, v1.1.0, v2.0.0].
    - drupal/sodium 2.0.0 requires php ^7.2 -> your php version (8.2; overridden via config.platform, actual: 8.3.6) does not satisfy that requirement.
    - paragonie/halite[v4.1.0, ..., v4.6.0] require php ^7.2 -> your php version (8.2; overridden via config.platform, actual: 8.3.6) does not satisfy that requirement.
    - drupal/sodium[2.1.0, ..., 2.3.0] require drupal/core ^8.9.0 || ^9.0 -> found drupal/core[8.9.0-beta1, ..., 8.9.x-dev, 9.0.0-alpha1, ..., 9.5.x-dev] but it conflicts with your root composer.json require (^10.2.0-rc1).
    - paragonie/hidden-string v1.0.0 requires php ^7 -> your php version (8.2; overridden via config.platform, actual: 8.3.6) does not satisfy that requirement.
    - paragonie/hidden-string[v1.1.0, v2.0.0] require paragonie/sodium_compat ^1.6 -> found paragonie/sodium_compat[v1.6.0, ..., v1.x-dev] but it conflicts with your root composer.json require (^2).
    - paragonie/halite[v4.7.0, ..., v4.7.1] require paragonie/sodium_compat ^1.14 -> found paragonie/sodium_compat[v1.14.0, ..., v1.x-dev] but it conflicts with your root composer.json require (^2).
    - paragonie/halite[v4.8.0, ..., v4.x-dev] require paragonie/sodium_compat ^1.15 -> found paragonie/sodium_compat[v1.15.0, ..., v1.x-dev] but it conflicts with your root composer.json require (^2).
    - paragonie/halite[v5.0.0, ..., v5.1.0] require paragonie/sodium_compat ^1.17 -> found paragonie/sodium_compat[v1.17.0, ..., v1.x-dev] but it conflicts with your root composer.json require (^2).
    - drupal/sodium[2.4.0, ..., 2.x-dev] require paragonie/halite ^4.1 || ^5.0 -> satisfiable by paragonie/halite[v4.1.0, ..., v4.x-dev, v5.0.0, v5.1.0, v5.1.1].
    - Root composer.json requires drupal/sodium ^2 -> satisfiable by drupal/sodium[2.0.0, ..., 2.x-dev].

Proposed resolution

Remove support for PHP 7 and Drupal 8/9. Drupal 9 has been out of support for half a year now, and Drupal 8 for a couple years.

πŸ› Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡―πŸ‡΅Japan ptmkenny

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024