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

Outdated psr/http-message package #75

Open
Yiin opened this issue Nov 30, 2024 · 2 comments
Open

Outdated psr/http-message package #75

Yiin opened this issue Nov 30, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Yiin
Copy link

Yiin commented Nov 30, 2024

Bug description

Composer requires psr/http-message ^1.1 but my project requires 2.0, causing a conflict.

To Reproduce

$ composer require truelayer/client
./composer.json has been updated
Running composer update truelayer/client
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires truelayer/client * -> satisfiable by truelayer/client[v0.0.1, ..., v0.0.6, v1.0.0, ..., v1.6.0, v2.0.0, ..., v2.6.0].
    - truelayer/client[v0.0.1, ..., v0.0.3] require illuminate/validation ^v6.0|^v7.0|^v8.0 -> found illuminate/validation[v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27] but these were not loaded, likely because it conflicts with another require.
    - truelayer/client[v0.0.4, ..., v0.0.6, v1.0.0, ..., v1.6.0] require illuminate/validation ^v6.0|^v7.0|^v8.0|^v9.0 -> found illuminate/validation[v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.16] but these were not loaded, likely because it conflicts with another require.
    - truelayer/client[v2.0.0, ..., v2.6.0] require truelayer/signing ^1.0.0 -> satisfiable by truelayer/signing[v1.0.0].
    - truelayer/signing v1.0.0 requires psr/http-message ^1.1 -> found psr/http-message[1.1] but the package is fixed to 2.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

Expected behavior

Truelayer utilizing psr/http-message ^2.0

Environment

  • OS: Ubuntu
@Yiin Yiin added the bug Something isn't working label Nov 30, 2024
@lighe
Copy link
Contributor

lighe commented Dec 4, 2024

Hi,

Thanks for the report. It looks like the issue is with truelayer/signing requiring psr/http-message instead of psr/http-message-implementation. We'll be looking at fixing this shortly.

@lighe
Copy link
Contributor

lighe commented Dec 5, 2024

Hi @Yiin, can you please try requiring the client again?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

3 participants