Kdyby / Doctrine

Doctrine 2 ORM integration into Nette Framework
https://packagist.org/packages/kdyby/doctrine
Other
110 stars 101 forks source link

Unable to update to newer versions through composer #35

Closed hojgr closed 11 years ago

hojgr commented 11 years ago

I am trying to update with composer, but I end up there where I ended up months ago - Class Nette\Config\CompilerExtension has been renamed to Nette\DI\CompilerExtension.

In my composer.json, I have

"kdyby/doctrine": "@dev",
"nette/nette": "@dev",
doctrine/common           2.3.0              Common Library for Doctrine p...
doctrine/dbal             2.3.4              Database Abstraction Layer
doctrine/orm              2.3.4              Object-Relational-Mapper for PHP
kdyby/console             v1.1.4             Symfony Console integration f...
kdyby/doctrine            v0.9.3             Doctrine integration into Net...
kdyby/events              v1.2.3             Events for Nette Framework
nette/nette               dev-master f36f5da Nette Framework - innovative ...
symfony/console           v2.3.3             Symfony Console Component

I can't figure out how to update. When i tried to force kdyby/doctrine to use "kdyby/doctrine": "dev-nette-2.0" (from packagist), this is what happend:

C:\xampp\htdocs\smsh>php composer.phar update
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 kdyby/doctrine dev-nette-2.0 -> satisfiable by kd
yby/doctrine[dev-nette-2.0].
    - kdyby/doctrine dev-nette-2.0 requires doctrine/orm 2.4.*@rc -> no matching
 package found.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your min
imum-stability setting
   see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> f
or more details.

Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common
 problems.

Am I doing anything wrong? :(

fprochazka commented 11 years ago

It's beause of minimum-stability flag, the development version must be installed like it's said here, only change kdyby/doctrine to @dev :)

When the doctrine 2.4 stable will be released, this problem will disappear.