Skip to content

Curious composer error #1599

Closed
Closed
@jonnybradley

Description

@jonnybradley

Hi Magento people!

I work on an unrelated Open Source project (http://tiki.org) and we run a composer repository using Satis which seems to have stopped working. The error message we're seeing is

Scanning packages

  [RuntimeException]
  Could not load package magento/community-edition in https://packagist.org: [UnexpectedValueException] Could not parse version constraint ~2.3 <2.7: Invalid version string "~2.3 <2.7"

  [UnexpectedValueException]
  Could not parse version constraint ~2.3 <2.7: Invalid version string "~2.3 <2.7"

After some digging i think i have found the commit that introduced this in case that helps: 548487f#diff-b5d0ee8c97c7abd7e3fa29b9a27d1780L39

Could this be related? And is that really an invalid version string? If so, why has this not caused problems elsewhere?

My thanks in advance,

jonny Bradley

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions