Skip to content

psr/http-message version compatibility #161

Description

@syslogic

Statically requiring ^1.0 may cause dependency issues; this should be ^1.1 || ^2.0 instead.

"psr/http-message": "^1.0",

For example (with optional switch -t):

composer why psr/http-message   
google/auth                      v1.30.0 requires psr/http-message (^1.1||^2.0)
google/cloud-core                v1.52.4 requires psr/http-message (^1.0|^2.0)
google/cloud-functions-framework v1.3.0  requires psr/http-message (^1.0)
guzzlehttp/psr7                  2.6.1   requires psr/http-message (^1.1 || ^2.0)
psr/http-client                  1.0.2   requires psr/http-message (^1.0 || ^2.0)
psr/http-factory                 1.0.2   requires psr/http-message (^1.0 || ^2.0)

The error message may be:

You can only install one version of a package, so only one of these can be installed:
psr/http-message[dev-master, 1.0, 1.0.1, 1.1, 2.0, 2.0.x-dev].

Seen that also library cloudevents requires ^1.0.1 statically.

This may or may not be compatible.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions