Skip to content

Symfony 6.1 compatibility #137

@jskowronski39

Description

@jskowronski39

Bundle cannot be installed on a fresh Symfony 6.1.2 project (full version). Error I'm getting:

/srv/app # composer require thecodingmachine/graphqlite-bundle ^5.4
./composer.json has been updated
Running composer update thecodingmachine/graphqlite-bundle
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - thecodingmachine/graphqlite[v5.0.0, ..., v5.0.3] require psr/container ^1 -> found psr/container[1.0.0, 1.1.0, 1.1.1, 1.1.2] but the package is fixed to 2.0.2 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - thecodingmachine/graphqlite-bundle v5.4.0 requires thecodingmachine/graphqlite ^5.0 -> satisfiable by thecodingmachine/graphqlite[v5.0.0, v5.0.1, v5.0.2, v5.0.3].
    - Root composer.json requires thecodingmachine/graphqlite-bundle ^5.4 -> satisfiable by thecodingmachine/graphqlite-bundle[v5.4.0].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Adding -W option doesn't help either:

/srv/app # composer require -W thecodingmachine/graphqlite-bundle ^5.4
./composer.json has been updated
Running composer update thecodingmachine/graphqlite-bundle --with-all-dependencies
Loading composer repositories with package information
Restricting packages listed in "symfony/symfony" to "6.1.*"
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - thecodingmachine/graphqlite-symfony-validator-bridge v5.0.0 requires symfony/validator ^4.2 | ^5 -> found symfony/validator[v4.2.0, ..., v4.4.43, v5.0.0, ..., v5.4.10] but it conflicts with your root composer.json require (6.1.*).
    - thecodingmachine/graphqlite-bundle v5.4.0 requires thecodingmachine/graphqlite-symfony-validator-bridge ^5.0 -> satisfiable by thecodingmachine/graphqlite-symfony-validator-bridge[v5.0.0].
    - Root composer.json requires thecodingmachine/graphqlite-bundle ^5.4 -> satisfiable by thecodingmachine/graphqlite-bundle[v5.4.0].


Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions