-
Notifications
You must be signed in to change notification settings - Fork 3
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
"extra.symfony.require" not enforced anymore #65
Comments
The recipe repositories do not provide any logic. The logic would be in symfony/flex project if false version are installed. @nicolas-grekas do you have an idea why this appears? @darthf1 does it only appear when custom recipes endpoints are configured? |
Ah ok, makes absolute sense!
Yes. I updated the first post with more examples. Without custom recipes I'm staying on |
Does a second run of |
No (I ran
No (I removed the files and folder you mentioned, and ran
Im on |
Flex relies on the versions.slits entries to decide which packages the restriction applies to. Since 7.0 is not in this repo, flex doesn't enforce the restriction. This might be something to improve either on flex' side (it could account for the data in the stack of endpoints) or in this repo. I don't remember the exact rules that flex uses for merging endpoints so maybe there's already a way to rely on the default endpoint (by not listing this entry here?). The for-sure fix is to sync the entries with upstream (but it'd be nice to find a way that doesn't require updating this repo everytime a new Symfony release is made). Let me know your findings. |
Hi!
I'm currently on SF
6.4.*
, but noticed a lot of indirect SF 7 dependencies were installed. I have the following in mycomposer.json
:When I go back to the default settings, without custom endpoints:
And I run
php composer update "symfony/*"
, I get:When I add back the custom endspoints as stated in this repositories readme:
And I run
php composer update "symfony/*"
, indirect dependencies are again updated to SF7:When default and/or the contrib endpoints are specified, the dependencies are also downgraded to
6.4.*
.The text was updated successfully, but these errors were encountered: