ebay-sdk-php
ebay-sdk-php copied to clipboard
Update composer to support guzzlehttp/psr7 > 2.0
Trying to install the sdk in Magento 2.4.6 but I am getting version 0.6.0 which lacks a lot of classes. When trying to in stall version 19.1.0 I am getting a conflicts with guzzlehttps/psr7:
[root@localhost htdocs]# php81 composer.phar require benmorel/ebay-sdk-php:19.1.0
./composer.json has been updated
Running composer update benmorel/ebay-sdk-php
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 benmorel/ebay-sdk-php 19.1.0 -> satisfiable by benmorel/ebay-sdk-php[19.1.0].
- benmorel/ebay-sdk-php 19.1.0 requires guzzlehttp/psr7 ^1.0 -> found guzzlehttp/psr7[1.0.0, ..., 1.9.1] but the package is fixed to 2.6.1 (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.
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Please merge the PR so I can try reinstalling.
Thanks
...and of course publish a new version on packagist. Thanks.
Hi, sorry for the delay. ~I reverted the change of package name~ (actually left is as is, as you may be using your fork - next time please be careful to use another branch for your PR, without a package name change), and rebased. Many tests are failing, due to functions being removed in v2 of guzzlehttp/psr7
.
I'll try to fix this.
Fixed in b1ef540b78ddb6a7bf1748cad51003bda2cb1003 and 57b5f3936c4e0281a841d23c67f45c10c24c67c5.
Released in 19.2.0.