Skip to content

Weak Requirement Range Causes Conflict #1824

Closed
@Anti-Distinctlyminty

Description

@Anti-Distinctlyminty

The weak requirement ~houdini-19+<=20.5 causes a conflict when using the package houdini-20.5.

I thought that by default if a minor/patch version is not specified, then it means "all are ok". But this appears to not be the case.

Environment

  • OS Windows 10
  • Rez version 2.112.0
  • Rez python version 3.9.13

To Reproduce

  1. Create two packages, one defining houdini-20.5, the other with the requirement ~houdini-19+<=20.5.
  2. Attempt a rez-env

Expected behavior
houdini-20.5 should be accepted by the requirement ~houdini-19+<=20.5.

Actual behavior
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions