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

Packagist requires Laravel 4.1.x #15

Closed
leekaiwei opened this issue Aug 6, 2013 · 8 comments
Closed

Packagist requires Laravel 4.1.x #15

leekaiwei opened this issue Aug 6, 2013 · 8 comments

Comments

@leekaiwei
Copy link
Contributor

It breaks the compatibility again for those who use 4.0.x when using Composer to install. Can you tag one for 4.0.x on Packagist?

@jenssegers
Copy link
Contributor

What breaks exactly?

@leekaiwei
Copy link
Contributor Author

    - Installation request for jenssegers/mongodb * -> satisfiable by jenssegers/mongodb[dev-master].
    - Conclusion: don't install laravel/framework 4.0.x-dev
    - Can only install one of: laravel/framework[v4.0.0, 4.1.x-dev].
    - Can only install one of: laravel/framework[v4.0.0-BETA2, 4.1.x-dev].
    - Can only install one of: laravel/framework[v4.0.0-BETA3, 4.1.x-dev].
    - Can only install one of: laravel/framework[v4.0.0-BETA4, 4.1.x-dev].
    - Can only install one of: laravel/framework[v4.0.1, 4.1.x-dev].
    - Can only install one of: laravel/framework[v4.0.2, 4.1.x-dev].
    - Can only install one of: laravel/framework[v4.0.3, 4.1.x-dev].
    - Can only install one of: laravel/framework[v4.0.4, 4.1.x-dev].
    - Can only install one of: laravel/framework[v4.0.5, 4.1.x-dev].
    - Can only install one of: laravel/framework[v4.0.6, 4.1.x-dev].
    - jenssegers/mongodb dev-master requires illuminate/support 4.1.x -> satisfiable by laravel/framework[4.1.x-dev], illuminate/support[4.1.x-dev].
    - Conclusion: don't install illuminate/support 4.1.x-dev
    - Installation request for laravel/framework 4.0.*@dev -> satisfiable by laravel/framework[4.0.x-dev, v4.0.0, v4.0.0-BETA2, v4.0.0-BETA3, v4.0.0-BETA4, v4.0.1, v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.0.6].

@jenssegers
Copy link
Contributor

I had no trouble updating a project that uses laravel/framework": "4.0.*",

@leekaiwei
Copy link
Contributor Author

Tried several times but still get this error:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Conclusion: remove laravel/framework 4.0.x-dev
    - Conclusion: don't install laravel/framework 4.0.x-dev
    - Installation request for jenssegers/mongodb dev-master -> satisfiable by j
enssegers/mongodb[dev-master].
    - Can only install one of: laravel/framework[v4.0.0, 4.1.x-dev].
    - Can only install one of: laravel/framework[v4.0.0-BETA2, 4.1.x-dev].
    - Can only install one of: laravel/framework[v4.0.0-BETA3, 4.1.x-dev].
    - Can only install one of: laravel/framework[v4.0.0-BETA4, 4.1.x-dev].
    - Can only install one of: laravel/framework[v4.0.1, 4.1.x-dev].
    - Can only install one of: laravel/framework[v4.0.2, 4.1.x-dev].
    - Can only install one of: laravel/framework[v4.0.3, 4.1.x-dev].
    - Can only install one of: laravel/framework[v4.0.4, 4.1.x-dev].
    - Can only install one of: laravel/framework[v4.0.5, 4.1.x-dev].
    - Can only install one of: laravel/framework[v4.0.6, 4.1.x-dev].
    - jenssegers/mongodb dev-master requires illuminate/support 4.1.x -> satisfi
able by laravel/framework[4.1.x-dev], illuminate/support[4.1.x-dev].
    - Conclusion: don't install illuminate/support 4.1.x-dev
    - Installation request for laravel/framework 4.0.* -> satisfiable by laravel
/framework[4.0.x-dev, v4.0.0, v4.0.0-BETA2, v4.0.0-BETA3, v4.0.0-BETA4, v4.0.1,
v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.0.6].

It is "jenssegers/mongodb": "dev-master" yes? Looking at the error, there is clearly a conflict when its requires the illuminate packages. I'm not quite sure how you managed to update that.

@jenssegers
Copy link
Contributor

What does your composer.json look like.

@leekaiwei
Copy link
Contributor Author

{
    "name": "laravel/laravel",
    "description": "The Laravel Framework.",
    "keywords": ["framework", "laravel"],
    "require": {
        "laravel/framework": "4.0.*",
        "cartalyst/sentry": "2.0.*",
        "jenssegers/mongodb": "dev-master",
        "hybridauth/hybridauth": "*",
        "mockery/mockery": "dev-master@dev"
    },
    "autoload": {
        "classmap": [
            "app/commands",
            "app/controllers",
            "app/models",
            "app/database/migrations",
            "app/database/seeds",
            "app/tests/TestCase.php",
            "app/library",
            "app/library/Crawler",
            "app/library/Extraction"
        ]
    },
    "scripts": {
        "post-install-cmd": [
            "php artisan optimize"
        ],
        "pre-update-cmd": [
            "php artisan clear-compiled"
        ],
        "post-update-cmd": [
            "php artisan optimize"
        ],
        "post-create-project-cmd": [
            "php artisan key:generate"
        ]
    },
    "config": {
        "preferred-install": "dist"
    },
    "minimum-stability": "dev"
}

@jenssegers
Copy link
Contributor

I updated the required versions and was able to do a composer install with your composer.json. Let me know if it is fixed.

@leekaiwei
Copy link
Contributor Author

Yes it is fixed. Thanks.

alcaeus pushed a commit to alcaeus/laravel-mongodb that referenced this issue Aug 16, 2023
…$not` (mongodb#13) (mongodb#15)

`Query\Builder::whereNot` was simply ignoring the "not" and breaking the built query.
alcaeus pushed a commit that referenced this issue Aug 22, 2023
…$not` (#13) (#15)

`Query\Builder::whereNot` was simply ignoring the "not" and breaking the built query.
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

2 participants