Skip to content

Error building dependency graph when dependency includes || #839

@isc-pbarton

Description

@isc-pbarton

To reproduce, create a module.xml with dependencies like this:

      <Dependencies>
        <ModuleReference>
          <Name>isc.ipm.js</Name>
          <Version>^1.1.5</Version>
        </ModuleReference>
        <ModuleReference>
          <Name>isc.rest</Name>
          <Version>^2.0.0</Version>
        </ModuleReference>
      </Dependencies>

Installing dependencies fails with an error like:

ERROR! Could not find satisfactory version of isc.json in any repositories. Required by: isc.rest: ^3.0.0; isc.ipm.js 1.1.5: ^2.0.1 || ^3.0.0; isc.json: >=3.2.1 (currently installed, downgrade not permitted)

Even though there is an isc.json version 3.2.1 in the repository, which should satisfy those requirements.


$zversion: IRIS for Windows (x86-64) 2023.2.0L (Build 159U) Wed Mar 15 2023 00:13:04 EDT
IPM version: 0.9.2

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions