-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
When to expect composer 2.7? #11736
Comments
Composer 2.5 does not have the bug, so if you can pin composer to v2.5 (and not 2.6) you should be good to go. |
Even though the bug might not be there, composer 2.5 is not marked as compatible with symfony 7 either:
|
We're seeing this issue in our CI/CD pipelines which install composer 2.6.x as part of the build process. Installing a clean 2.6 version of composer installs Symfony 7 which breaks all of the composer commands. Updating our pipeline to install composer 2.5.8 has temporarily resolved the issue. |
There is a fix on the 2.6 branch: 23be508 Would it be possible to tag a new release from the 2.6 branch? |
See #11741 (comment) |
Hey @Seldaek thanks for the update and taking care. Not sure what is still needed for full symfony 7 support, but the decision to only add support in a new minor version is understandable. However the "fix" to the 2.6 branch does solve only a particular use case, meaning you require symfony and composer at the same time and then get So in that case limiting the supported symfony console versions to 6.x for composer 2.6.6 only makes things worse IMHO. You can't put the genie back in the bottle. |
@keulinho for those that need symfony console 7.x there are two options: Require composer/composer And the reason I don't want to add it in 2.6 is that to support it we need to add return types which technically is a BC break, I don't think it'll affect anyone but if so I still rather break stuff in a minor than a patch release. |
As i said that reasoning is understandable. Our use case is pretty sure uncommen, but i think valid, as we build a framework based on symfony and wanna upgrade to the latest symfony version, therefore we require symfony 7. And as we provide an extension system based on composer we need to require composer in order to run composer commands from inside the application when you install an extension. Can you give at least a rough ETA for composer 2.7? That would help us to decide if we can continue with the symfony update or if it needs to wait for our next major release. |
Sorry I have no idea about ETA.. but I guess if this is blocking people I could tag a 2.7 some time in january. We don't have a strict roadmap. Leaving this open as reminder :) |
Thanks for the info, that already helps us a lot! |
symfony/flex v1.18.7 + composer v2.7.0: |
@extasy7610 You need to update Symfony Flex (1.18.7 is quite old, the current release is 2.4.4). |
@xabbuh, yes, I know. It's already done, thank you. I wrote my comment because there are problems with compatibility with new version of composer |
This comment was marked as off-topic.
This comment was marked as off-topic.
Hi @extasy7610 same as you, I had to rollback composer to an previous version using |
@romainnorberg you need to update symfony/flex to a more recent version that is compatible with latest Composer & Symfony. |
Is there already an ETA for 2.7?
Currently 2.6 is not compatible with symfony 7 when you want to excecute composer commands from inside your symfony 7 application.
The issue was already fixed here: c668942
But the change is only to be released with composer 2.7.
As symfony 7 now is also generally available this incompatibility might affect more and more projects.
The text was updated successfully, but these errors were encountered: