Skip to content

[Bug] Minimal Composer requirements conflicts with react/promise v2 #692

@xepozz

Description

@xepozz

What are you really trying to do?

Describe the bug

CI pipelines fail to install the lowest dependencies versions:

Image

It's also reproduces locally, by installing composer with a version greater than 2.9.

Image

It seems like composer requires api package (composer/composer) as minimum as itself, so composer:^2.9 cannot install 2.8.* api package, so they cannot install internal/promise 2.* versions, and finally pipeline fails.

There're several solutions, which may help:

  • bind composer as maximum of 2.8.* packages
  • drop internal/promise 2.* versions
  • ignore composer/composer requirements and allow to install internal/promise v2

Related composer resources:
composer/composer#12188 (comment)
composer/composer@4ad1989

Minimal Reproduction

Environment/Versions

  • OS and processor: [e.g. M1 Mac, x86 Windows, Linux]
  • Temporal Version: [e.g. 1.14.0?] and/or SDK version
  • Are you using Docker or Kubernetes or building Temporal from source?

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions