- Issue created by @murz
- πΊπΈUnited States mglaman WI, USA
Looked up the error:
UnexpectedValueException: Could not parse version constraint ^: Invalid version string "^" in Composer\Semver\VersionParser->parseConstraint() (line 526 of /app/vendor/composer/semver/src/VersionParser.php).
- π¦π²Armenia murz Yerevan, Armenia
Thank you for details, @mglaman! Found an issue - it comes from a very old release with broken info.yml file: https://git.drupalcode.org/project/commercetools/-/blob/8.x-1.2-alpha1/c...
But we can't remove releases in Drupal.org, so is there any way to fix this issue? Maybe from the module side, just skip invalid versions?
- πΊπΈUnited States mglaman WI, USA
Full error:
Composer\Semver\VersionParser->parseConstraints('^8 || ^') (Line: 40) Composer\Semver\Semver::satisfies('10', '^8 || ^') (Line: 150)
- πΊπΈUnited States mglaman WI, USA
Ah, it's because 8.x-1.1-alpha1 has a broken release. The core compatibility is
^8 || ^
. So we need to handle this exception. - πΊπΈUnited States mglaman WI, USA
@murz :D didn't see you commented, I'm making a PR to try/catch this and skip the release
- πΊπΈUnited States mglaman WI, USA