Comments (4)
Thank you @pierredup
You pointed me in the right direction.
I endet up with the following commands:
composer require payum/payum-bundle league/uri php-http/guzzle7-adapter --no-update composer update --with-all-dependencies
Composer downgraded league/uri to 6.8.0 and everything works fine
from payum.
@Fabian-Hofer-Mastertent Those constraints should resolve fine. Since ^6.4
means version >=6.4.0 && < 7.0.0
, and symfony/html-sanitizer
requires ^6.5
(which means any version greater than or equal to 6.5.0, and less than 7.0.0), it means you should be able to at least install any of version 6.5 to 6.8. Can you share the error from composer where it fails to install, then I can have a look
from payum.
Thank you for checking my issue @pierredup
Maybe I'm getting composer wrong but ^6.4 means to me that composer can use every version inside the 6.4 range (6.4.1, 6.4.2...) but not above. smyonfy/html-snaitizer requires every version inside the 6.5 range and inside the 7.0 range.
To make Payum allow the 7.0 range, there should be ^6.4|^7.0 as version range in the payum composer.json.
this is the error I'm getting:
`Your requirements could not be resolved to an installable set of packages.
Problem 1
- payum/core[1.7.2, ..., 1.7.3] require league/uri ^6.4 -> found league/uri[6.4.0, ..., 6.8.0] but the package is fixed to 7.3.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.
- payum/payum-bundle[2.5.0, ..., 2.5.2] require payum/core ^1.7.2 -> satisfiable by payum/core[1.7.2, 1.7.3].
- Root composer.json requires payum/payum-bundle ^2.5 -> satisfiable by payum/payum-bundle[2.5.0, 2.5.1, 2.5.2].`
from payum.
^6.4 means to me that composer can use every version inside the 6.4 range (6.4.1, 6.4.2...) but not above
^6.4
means anything from 6.4.0 upwards, but less than 7.0.0. So that would include 6.5 as well.
payum/core[1.7.2, ..., 1.7.3] require league/uri ^6.4 -> found league/uri[6.4.0, ..., 6.8.0] but the package is fixed to 7.3.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.
This error means that you already have version 7.3.0 installed, but this is not compatible with payum because it requires versions below 7.0.
The fix is to include league/uri
as part of the update (it will then be downgraded to the latest 6.x version
).
composer require paym/core --no-update
composer update payum/core -W
The -W
flag means to include all dependencies in the update. You can also explicitly list the package as part of the update command
composer update payum/core league/uri -W
from payum.
Related Issues (20)
- Update Symfony instalation docs HOT 1
- [doctrine/dbal:^2] Unknown column type "json_array" requested HOT 3
- StorageExtension keeps holding reference to model if onPostExecute keeps ending with exception before StorageExtension is executed
- Payum v2 with php 8.1 as minimum requirements HOT 10
- Delete Stale branches? HOT 1
- support symfony/http-foundation in version 6 (no objects as request query-paramters) HOT 2
- warning psr-4 autoloading for Be2Bill HOT 1
- No support for PHP 8.1.x ? HOT 1
- Can Payum be used as part of a REST API? HOT 2
- Document how to create a custom gateway HOT 1
- GenericTokenFactoryInterface is marked as deprecated but there is no replacement
- [BUG] - Stop loading tests on production environment
- Update Guzzle deprecation to reference PSR-18 instead of Httplug HOT 10
- Configure gateway on the fly HOT 2
- Phrases
- Core repo is not up to date HOT 1
- [Paypal express-checkout-nvp] Inconsistency in Transaction Status Key Naming HOT 3
- Documentation improvements
- Add "amounts" to Be2Bill (Dalenys) in order to operate multiple payment
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from payum.