Skip to content
This repository has been archived by the owner on Nov 11, 2020. It is now read-only.

Commit

Permalink
Update composer.json for Mongo driver 1.2.12 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
jmikola committed Dec 5, 2012
1 parent b086ccf commit 5b08a48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -12,7 +12,7 @@
],
"require": {
"php": ">=5.3.2",
"ext-mongo": "*",
"ext-mongo": ">=1.2.12,<1.3-dev",
"symfony/yaml": ">=2.0,<2.3-dev",
"symfony/console": ">=2.0,<2.3-dev",
"doctrine/common": ">=2.1.0,<2.5-dev"
Expand Down

4 comments on commit 5b08a48

@CodeOtter
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is breaking my ability to use doctrine/mongodb.

i currently have ext-mongo 1.2, so i run a composer, it says

"doctrine/mongodb dev-master requires ext-mongo >=1.3.1,<1.4-dev"

so i update ext-mongo to 1.3.1 and run composer again and now it says

"doctrine/mongodb 1.0.0-BETA2 requires ext-mongo >=1.2.12,<1.3-dev"

So I'm kinda screwed because of this change :(

Halp.

@jmikola
Copy link
Member Author

@jmikola jmikola commented on 5b08a48 Dec 6, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does pecl install mongo-1.2.12 work?

@CodeOtter
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, because then I get this error from dev-master:

"doctrine/mongodb dev-master requires ext-mongo >=1.3.1,<1.4-dev"

It's a catch 22.

@jmikola
Copy link
Member Author

@jmikola jmikola commented on 5b08a48 Dec 6, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You would have to downgrade doctrine/mongodb to 1.0.0-BETA2. The error above looks like it's due to using the master branch, which now requires 1.3.1+ of the PHP driver (which ODM doesn't yet support).

Please sign in to comment.