-
Notifications
You must be signed in to change notification settings - Fork 30
Update symfony to 7.4 #1966
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
base: main
Are you sure you want to change the base?
Update symfony to 7.4 #1966
Conversation
BentiGorlich
commented
Jan 23, 2026
- Update symfony to 7.4
- update all recipes
- update recipe symfony/framework-bundle - update recipe symfony/monolog-bundle
- I am not sure about the translation.yaml changes....
|
Seems like it does not like the new packages for some reason. Locally everything works fine... Any idea @melroy89 ? |
Yes.. I believe it either retrieves a cache.. or either.. more likely, it seems to complain about Meaning there is a mismatch for sure. Did you also try to run: Finally, you are running the latest prebuild docker image, dockerfile: https://github.com/MbinOrg/mbin/blob/main/ci/Dockerfile Which is still using PHP 8.3.. maybe Symfony 7.4 doesn't support php 8.3 anymore, hence we first need to update this dockerfile as well to have our requirements correctly installed. (it could also be we need additional packages if Symfony have additional package requirements since previous versions). |
Yes I did run that and had no issues with it. Locally it does not complain about the lock file not being in sync, after all there are a lot of changes in it. I did not run an entire
No that is not the case. 7.4 even supports php8.2 Here is the output of my cli:
|
|
I see.. I think in that case we are facing this issue: symfony/symfony#63087 There seems to be some kind of requirement that it now requires redis v6? Its a weird issue, and luckily we are not the only one having this issue with More details: So the current Dockerfile for CI/CD runs is using Ubuntu with PHP v8.3 which is installing the PHP redis extension, which is apparently v5 by default at this time of writing for Ubuntu 24.04. |
|
Nice find. Bummer though.. |
Thanks, but indeed. It's not ideal. Many servers might run Debian or Ubuntu Server. So they will need to fix this upstream first. |
|
Symfony is not gonna fix it !? 😢 |
That being said, our bare bone installation explains that people need to use So we can apply the same thing in our Dockerfile and use deb sury to upgrade and install a newer php version with a newer php (8.4) redis extension. Which then also is more inline with our server admins deployments. |