Closed enterlight closed 5 months ago
The current version 1.10 of reactphp/http does not have this dependance, however the dev dependancy clue/reactphp-http-proxy still has this dependancy, Issue raised: https://github.com/clue/reactphp-http-proxy/issues/58
composer --no-dev works fine for install.
What @lucasnetau says, we removed the dependency on https://github.com/ringcentral/psr7 in #522 and are now using our own PSR-7 implementation for ReactPHP. You could either target an older version (like v1.9.0
) or you can use our v1.10.0
and explicitly add ringcentral/psr7 as a dependency. Hope this helps :+1:
I believe this should answer this ticket, so I will close it for now. We can reopen this if you encounter the same problem after trying out the suggested changes.
@SimonFrings no exactly. The dependency is still there if you install this packing with dev dependencies which most developers would do due to the linked package.
@lucasnetau True, this comes through installing the https://github.com/clue/reactphp-http-proxy, but like I said in https://github.com/clue/reactphp-http-proxy/issues/58#issuecomment-2162255993, the reingcentral/psr7 dependency will probably be removed in the future there as well. Once this happens and a new release for reactphp-http-proxy gets shipped, this would break installation again. In my opinion it's better to install this component explicitly if you rely on it in order to avoid this happening again.
Since today 06/11/2024 @ 5PM ET our pipelines are failing with unable to build dependencies. Apparently
https://github.com/ringcentral/psr7
no longer exist... It's listed as a dependency.