Skip to content

[Bug]: Possible breaking change introduced in #3284 in constraints plugin #3584

@paul-soporan

Description

@paul-soporan

Self-service

  • I'd be willing to implement a fix

Describe the bug

#3284 (comment) (cc @nicolo-ribaudo)

I haven't investigated it yet.

To reproduce

Copied from that comment (I can repro it too):

I think that this is a breaking change. To reproduce:

  • Clone https://github.com/babel/babel
  • Verify that yarn constraints passes
  • Update the plugin to 3.1.0-rc.10: yarn plugin import https://github.com/yarnpkg/berry/raw/@yarnpkg/cli/3.1.0-rc.10/packages/plugin-constraints/bin/%40yarnpkg/plugin-constraints.js
  • yarn constraints reports a ton of failures

Environment

System:
    OS: Linux 5.14 Arch Linux
    CPU: (32) x64 AMD Ryzen 9 5950X 16-Core Processor
  Binaries:
    Node: 16.8.0 - /tmp/xfs-fe880b95/node
    Yarn: 3.0.2 - /tmp/xfs-fe880b95/yarn
    npm: 7.24.2 - ~/.nvm/versions/node/v16.8.0/bin/npm

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingupholdedReal issues without formal reproduction

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions