Can't update to Beta 2

Created on 17 December 2023, about 1 year ago
Updated 21 December 2023, about 1 year ago

Using composer you can't update to beta2 due to:

drupal/commerce_opayo_pi 1.0.0-beta2 requires phone_international/phone_international ^3.3 -> could not be found in any version, there may be a typo in the package name.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom c_archer Cumbria

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

Merge Requests

Comments & Activities

  • Issue created by @c_archer
  • 🇬🇧United Kingdom c_archer Cumbria

    This is the issue:

    {
        "name": "drupal/commerce_opayo_pi",
        "type": "drupal-module",
        "description": "Provides Commerce integration for Opayo.",
        "homepage": "https://www.drupal.org/project/commerce_opayo_pi",
        "license": "GPL-2.0-or-later",
        "require": {
            "drupal/commerce": "~2.25 || ^3",
            "drupal/phone_international": "^3.3",
            "drupal/queue_unique": "^3.0"
        }
    }
    

    It should be:

    {
        "name": "drupal/commerce_opayo_pi",
        "type": "drupal-module",
        "description": "Provides Commerce integration for Opayo.",
        "homepage": "https://www.drupal.org/project/commerce_opayo_pi",
        "license": "GPL-2.0-or-later",
        "require": {
            "drupal/commerce": "~2.25 || ^3",
            "phone_international/phone_international": "^3.3",
            "queue_unique/queue_unique": "^3.0"
        }
    }
    
  • Merge request !3Revert "Add correct path" → (Open) created by c_archer
  • Status changed to Needs review about 1 year ago
  • 🇬🇧United Kingdom c_archer Cumbria

    Are we able to get this merged so i can test the new version?

  • 🇬🇧United Kingdom c_archer Cumbria

    Temp work around is to mock the wrong links in the composer file:

    {
                "type": "package",
                "package": {
                    "name": "phone_international/phone_international",
                    "version": "3.3.1",
                    "type": "drupal-library",
                    "dist": {
                        "url": "https://ftp.drupal.org/files/projects/phone_international-3.3.1.zip",
                        "type": "zip"
                    }
                }
            },
            {
                "type": "package",
                "package": {
                    "name": "queue_unique/queue_unique",
                    "version": "3.0.2",
                    "type": "drupal-library",
                    "dist": {
                        "url": "https://ftp.drupal.org/files/projects/queue_unique-3.0.2.zip",
                        "type": "zip"
                    }
                }
            }
  • Assigned to mwjansen
  • 🇬🇧United Kingdom mwjansen Bristol

    Updated composer.json in beta3. Installs OK for me in new D10.2.

  • 🇬🇧United Kingdom c_archer Cumbria

    Yes this now works lets mark this as closed.

  • Status changed to Fixed about 1 year ago
  • 🇬🇧United Kingdom c_archer Cumbria
Production build 0.71.5 2024