stephpy/timeline-bundle

Versions conflict

Closed this issue · 7 comments

I was trying to install this bundle using composer. I get this error:

  • Installation request for stephpy/timelinebundle 2.0.*@dev -> satisfiable by stephpy/timelinebundle[2.0.x-dev].
    • stephpy/timelinebundle 2.0.x-dev requires stephpy/timeline 1.0.* -> no matching package found.

Hi, you have to define this (in addition of stephpy/TimelineBundle) in your composer.json:

"stephpy/timeline": "1.0.*@dev"

Because stephpy/timeline is not yet released and your composer.json minimum-stability seems to be defined > dev

Thank you.
Yes, minimum-stability is stable.
I am improving an application already in production, I don't want to lower the minimum stability.
Doing so solve this problem. But it raises another issue: 1.0.*@dev conflicts with Symfony v2.3.8.
If it can help I can post Composer output

Yep, it's a good thing to set minimum-stability to stable ;)

Weird, composer.json of stephpy/timeline (https://github.com/stephpy/timeline/blob/master/composer.json) should have no conflicts with symfony.

Yep, i would like the composer output please ;)

I ran Composer again, but this time no error ! I had saved the former error output, here it is:

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
- Conclusion: remove symfony/symfony v2.3.8
- Conclusion: don't install symfony/symfony v2.3.8
- Conclusion: don't install symfony/symfony v2.3.7
- Conclusion: don't install symfony/symfony v2.3.6
- Conclusion: don't install symfony/symfony v2.3.5
- Conclusion: don't install symfony/symfony v2.3.4
- Conclusion: don't install symfony/symfony v2.3.3
- Installation request for stephpy/timelinebundle 1.0.@dev -> satisfiable by stephpy/TimelineBundle[v1.0].
- Conclusion: don't install symfony/symfony v2.3.2
- Conclusion: don't install symfony/symfony v2.3.1
- stephpy/TimelineBundle v1.0 requires symfony/symfony 2.0.
-> satisfiable by symfony/symfony[2.0.7, v2.0.10, v2.0.11, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.18, v2.0.19, v2.0.20, v2.0.21, v2.0.22, v2.0.23, v2.0.24, v2.0.25, v2.0.9].
- Can only install one of: symfony/symfony[v2.3.0, 2.0.7].
- Can only install one of: symfony/symfony[v2.3.0, v2.0.10].
- Can only install one of: symfony/symfony[v2.3.0, v2.0.11].
- Can only install one of: symfony/symfony[v2.3.0, v2.0.12].
- Can only install one of: symfony/symfony[v2.3.0, v2.0.13].
- Can only install one of: symfony/symfony[v2.3.0, v2.0.14].
- Can only install one of: symfony/symfony[v2.3.0, v2.0.15].
- Can only install one of: symfony/symfony[v2.3.0, v2.0.16].
- Can only install one of: symfony/symfony[v2.3.0, v2.0.17].
- Can only install one of: symfony/symfony[v2.3.0, v2.0.18].
- Can only install one of: symfony/symfony[v2.3.0, v2.0.19].
- Can only install one of: symfony/symfony[v2.3.0, v2.0.20].
- Can only install one of: symfony/symfony[v2.3.0, v2.0.21].
- Can only install one of: symfony/symfony[v2.3.0, v2.0.22].
- Can only install one of: symfony/symfony[v2.3.0, v2.0.23].
- Can only install one of: symfony/symfony[v2.3.0, v2.0.24].
- Can only install one of: symfony/symfony[v2.3.0, v2.0.25].
- Can only install one of: symfony/symfony[v2.3.0, v2.0.9].
- Installation request for symfony/symfony 2.3.* -> satisfiable by symfony/symfony[v2.3.0, v2.3.1, v2.3.2, v2.3.3, v2.3.4, v2.3.5, v2.3.6, v2.3.7, v2.3.8].

Because you are installing stephpy/TimelineBundle 1.0 which is not the master branch ;)

You have to install

stephpy/TimelineBundle => dev-master
stephpy/timeline => 1.*

If you have any other question, feel free to ask me and reopen this issue ;)

This is the config that I use, that works :
"stephpy/timeline": "1.0.*@dev",
"stephpy/TimelineBundle": "dev-master",

Thank you for your help.

👍

You're welcome.