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

not working with Symfony 7.0 #29

Closed
Quezako opened this issue Feb 29, 2024 · 2 comments
Closed

not working with Symfony 7.0 #29

Quezako opened this issue Feb 29, 2024 · 2 comments

Comments

@Quezako
Copy link

Quezako commented Feb 29, 2024

Hello,

I've tried to add it to Symfony 7.0 project, but I get the following error message:

./composer.json has been updated
Running composer update baraja-core/doctrine
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - baraja-core/doctrine[v1.0.0, ..., v1.1.0, v2.0.0, ..., v2.0.9] require symfony/console ^4.2.3 -> found symfony/console[v4.2.3, ..., v4.4.49] but it conflicts with your root composer.json require (7.0.*).
    - baraja-core/doctrine[v2.2.0, ..., v2.6.1, v3.0.0, ..., v3.1.0] require doctrine/orm ^2.7 -> found doctrine/orm[v2.7.0, ..., 2.18.1] but it conflicts with your root composer.json require (^3.0).
    - contributte/console v0.8.0 requires php ^7.2 -> your php version (8.2.12) does not satisfy that requirement.
    - baraja-core/doctrine[v2.6.0, v3.2.0, ..., v3.7.1] require doctrine/orm ^2.9 -> found doctrine/orm[2.9.0, ..., 2.18.1] but it conflicts with your root composer.json require (^3.0).
    - baraja-core/doctrine[v3.7.2, ..., v3.7.4] require doctrine/orm ^2.13 -> found doctrine/orm[2.13.0, ..., 2.18.1] but it conflicts with your root composer.json require (^3.0).
    - baraja-core/doctrine[v2.1.0, ..., v2.1.1] require contributte/console ^0.8.0 -> satisfiable by contributte/console[v0.8.0].
    - Root composer.json requires baraja-core/doctrine * -> satisfiable by baraja-core/doctrine[v1.0.0, ..., v1.1.0, v2.0.0, ..., v2.6.1, v3.0.0, ..., v3.7.4].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require baraja-core/doctrine:*" to figure out if any version is installable, or "composer require baraja-core/doctrine:^2.1" if you know which you need.

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

welcome bot commented Feb 29, 2024

Thanks for opening your first issue here! Be sure to follow the issue template!

@janbarasek
Copy link
Member

Hello,

the mistake is you're trying to use an old version of the package.

Ideally you need the latest supported version of ^3.0, ideally v3.7.4.

Try to force the installation of the latest version via composer.json.

Thank you.

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