Comments (13)
The tag 2.3.2
already have the changes introduced at #162, but I am not able to install this package alongside sonata-project/user-bundle: 4.0@dev
. I pushed a branch sonata_conflicts
to my fork of symfony/symfony-standard
in order to expose this issue: https://github.com/phansys/symfony-standard/blob/sonata_conflicts/composer.json#L23-L27.
Can somebody give me any clue about this scenario?
$ composer install
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- sonata-project/user-bundle dev-master conflicts with sonata-project/intl-bundle[2.3.2].
- sonata-project/user-bundle 4.x-dev conflicts with sonata-project/intl-bundle[2.3.0].
- sonata-project/user-bundle 4.x-dev conflicts with sonata-project/intl-bundle[2.3.1].
- don't install sonata-project/user-bundle 4.x-dev|install sonata-project/user-bundle dev-master
- Installation request for sonata-project/user-bundle ^4.0@dev -> satisfiable by sonata-project/user-bundle[4.x-dev].
- Installation request for sonata-project/intl-bundle ^2.3 -> satisfiable by sonata-project/intl-bundle[2.3.0, 2.3.1, 2.3.2].
Thank you in advance.
from sonataintlbundle.
Maybe it works not very well with dev versions. Maybe we should remove the || >=5.0
part. cc @sonata-project/contributors
from sonataintlbundle.
Do you know that user-bundle is already stable on 4.0? Try 4.0.0
from sonataintlbundle.
from sonataintlbundle.
It seems weird to me, since the conflicting constraint "sonata-project/user-bundle": "<2.0 || >=5.0"
should NOT match 4.x-dev
, as you can check at https://semver.mwl.be.
from sonataintlbundle.
https://github.com/sonata-project/SonataIntlBundle/releases/tag/2.4.0
from sonataintlbundle.
@soullivaneuh, even with this release, I'm still not able to install these packages together. Could you please check with this composer.json
:
{
"require": {
"sonata-project/intl-bundle": "^2.4",
"sonata-project/user-bundle": "4.0@dev"
}
}
Composer version 1.6-dev (bfed974ae969635e622c4844e5e69526d8459baf) 2017-11-03 22:23:28
$ composer install
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package sonata-project/user-bundle 4.0@dev exists as sonata-project/user-bundle[2.0.0, 2.1.0, 2.1.1, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.x-dev, 3.0.0, 3.0.1, 3.1.0, 3.2.0, 3.2.1, 3.2.2, 3.2.3, 3.2.4, 3.3.0, 3.4.0, 3.5.0, 3.x-dev, dev-master, 4.x-dev] but these are rejected by your constraint.
from sonataintlbundle.
Your log show it's a user-bundle issue AFAIK.
NB: You may try with 4.x-dev
.
from sonataintlbundle.
I've tried with all possible variants, the result is the same. Even, I'm pretty sure that composer doesn't read "-dev" as a stability flag.
Here you are the output for some constraint variants:
"4.x-dev"
:
$ composer install
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for sonata-project/intl-bundle ^2.4 -> satisfiable by sonata-project/intl-bundle[2.4.0].
- don't install sonata-project/user-bundle 4.x-dev|install sonata-project/user-bundle dev-master
- sonata-project/user-bundle dev-master conflicts with sonata-project/intl-bundle[2.4.0].
- Installation request for sonata-project/user-bundle 4.x-dev -> satisfiable by sonata-project/user-bundle[4.x-dev].
"4.x@dev"
:
$ composer install
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for sonata-project/intl-bundle ^2.4 -> satisfiable by sonata-project/intl-bundle[2.4.0].
- don't install sonata-project/user-bundle 4.x-dev|install sonata-project/user-bundle dev-master
- sonata-project/user-bundle dev-master conflicts with sonata-project/intl-bundle[2.4.0].
- Installation request for sonata-project/user-bundle 4.x@dev -> satisfiable by sonata-project/user-bundle[4.x-dev].
from sonataintlbundle.
Surely related to this:
SonataIntlBundle/composer.json
Line 37 in 82d3e58
But I don't know such more ATM. I'm re-opening.
from sonataintlbundle.
Of course @soullivaneuh, I've mentioned that on a previous comment, but that constraint should not conflict these versions AFAIK.
from sonataintlbundle.
In fact, I am currently using a fork with that part removed https://github.com/phansys/SonataIntlBundle/blob/7b71381c531caa8a92e7723ea191f7a03bb02431/composer.json#L36-L38;
but I think it could be a issue with the resolution performed by Composer around conflict
constraints.
from sonataintlbundle.
Hi,
I don't understand why we have to wait for a potential 6.0.0 version of Sonata User bundle.
With conflict >= 5.0.0, we can't even use it with the dev version of user bundle.
Is anyone from sonata floowing this ?
from sonataintlbundle.
Related Issues (20)
- Add a tag for symfony 3 support HOT 5
- Cache number and date formatters? HOT 5
- Drop support for old php / symfony versions
- Region ignored in language filter HOT 3
- Allow Twig 2 HOT 6
- Why intl bundle conflicts with user bundle ? HOT 1
- Deprecate some Twig extensions HOT 2
- Provide autowiring for DateTimeHelper HOT 3
- Strict type checking introduced in 2.6.0 throws error on Doctrine decimal type HOT 1
- Problem with twig datetime extension for twig 2.10
- Deprecate this bundle HOT 14
- Conflict with sonata-project/intl-bundle HOT 11
- Incompatible with php8 HOT 4
- Strict type checking throws error on formatting Doctrine decimal type as number HOT 11
- sonata.intl.templating.helper.number service does not exist
- RequestStackDetector does not have the default locale anymore. HOT 2
- Make Templating Dependency Optional
- Sonata\IntlBundle\Helper\BaseHelper::getLocale() problem HOT 11
- default for locale must not null in list_decimal.html.twig HOT 3
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 sonataintlbundle.