Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

psr/http-message version compatibility #161

Open
syslogic opened this issue Sep 23, 2023 · 0 comments
Open

psr/http-message version compatibility #161

syslogic opened this issue Sep 23, 2023 · 0 comments
Labels
enhancement New feature or request P3

Comments

@syslogic
Copy link

syslogic commented Sep 23, 2023

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.

@syslogic syslogic changed the title psr/http-message psr/http-message version compatibility Sep 23, 2023
@josephlewis42 josephlewis42 added enhancement New feature or request P3 labels Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P3
Projects
None yet
Development

No branches or pull requests

3 participants