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

Can't find ringcentral/psr7 #531

Closed
enterlight opened this issue Jun 12, 2024 · 4 comments
Closed

Can't find ringcentral/psr7 #531

enterlight opened this issue Jun 12, 2024 · 4 comments
Labels

Comments

@enterlight
Copy link

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.

  Failed to execute git clone --no-checkout -- 'https://ghp...ge0:x-oauth-basic@github.com/ringcentral/psr7.git' '/var/www/he-deploy/vendor/ringcentral/psr7' && cd '/var/www/he-deplo  
  y/vendor/ringcentral/psr7' && git remote add composer -- 'https://ghp...ge0:x-oauth-basic@github.com/ringcentral/psr7.git' && git fetch composer && git remote set-url origin -- 'ht  
  tps://github.com/ringcentral/psr7.git' && git remote set-url composer -- 'https://github.com/ringcentral/psr7.git'                                                                    
                                                                                                                                                                                        
  Cloning into '/var/www/he-deploy/vendor/ringcentral/psr7'...                                                                                                                          
  remote: Repository not found.                                                                                                                                                         
  fatal: repository 'https://github.com/ringcentral/psr7.git/' not found   
image
@enterlight enterlight added the bug label Jun 12, 2024
@lucasnetau
Copy link
Contributor

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: clue/reactphp-http-proxy#58

composer --no-dev works fine for install.

@SimonFrings SimonFrings added question and removed bug labels Jun 12, 2024
@SimonFrings
Copy link
Member

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 👍

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.

@lucasnetau
Copy link
Contributor

@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.

@SimonFrings
Copy link
Member

@lucasnetau True, this comes through installing the https://github.com/clue/reactphp-http-proxy, but like I said in clue/reactphp-http-proxy#58 (comment), 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants