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

The release of Symfony 2.1.0 messed up everything, but I have no clue how to fix it :( #1089

Closed
fabpot opened this issue Sep 8, 2012 · 4 comments

Comments

@fabpot
Copy link
Contributor

fabpot commented Sep 8, 2012

I quite don't understand what's going on, but the current state of the Symfony packages is broken.

The simplest example is Silex:

  • clone fabpot/silex
  • run composer.phar update --dev
  • packages from the require section are installed, but the require-dev packages cannot be resolved as a set of installable packages.

Now

  • move all packages from the require-dev section to the require section
  • run composer.phar update --dev
  • everything is installed as expected.

I'm lost.

@stof
Copy link
Contributor

stof commented Sep 8, 2012

@fabpot this is because the dependencies between the different Symfony component are very strict: they force using self.version.
But the initial install selects the stable 2.1.0 tag for some components but chooses 2.1.x-dev for HttpKernel. This breaks things later as symfony/security depends on both HttpKernel and HttpFoundation which have been installed with different versions.

@fabpot
Copy link
Contributor Author

fabpot commented Sep 10, 2012

@stof: So, changing all self.version to 2.1.* would fix the issue?

@naderman
Copy link
Member

@fabpot Yes that should do the job.

@Seldaek
Copy link
Member

Seldaek commented Sep 10, 2012

Only in the require but not in the replace of the main package though I'd say.

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

No branches or pull requests

4 participants