-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
How can I bypass the module’s composer requirements? #22
Comments
I am not sure if this will help in your case, but I was able to work around a similar sounding issue by using an inline alias https://getcomposer.org/doc/articles/aliases.md#require-inline-alias Specifically I used
which let me install drupal/accordion_menus |
Yes that workaround fixes but it would be good without any workaround. |
Look at your errors. Has nothing to do with this package. Your root package requires geoip 3 and the other module requires 2. This package is only for Drupal core. |
I see @mglaman I just feature requested. Or do you know a similar package for that purpose to bypass composer requirements too? |
Oh, sorry. I thought this was a bug report. I would be afraid to extend this package that way. Especially since Composer does have a workaround as commented. |
I actually would like, if it's possible, to reconsider using such a plugin for modules as well. My current situation:
I know I could make So such a feature would definitely be welcome for such cases and others. |
I won't close this, but I won't set aside time to work on it. I'll welcome the idea if someone puts up a pull request. However, it's bending the purpose of this plugin. The purpose is for |
Even after I added
drupal/commerce_country_store
todrupal-lenient allowed-list
, it still gives,Your requirements could not be resolved to an installable set of packages.
The module's composer.json
I'll continue with the custom repo but if this lenient extension would be capable of bypassing these too, that would be great @mglaman but I still use yours because it just works fine and is great with the Drupal modules' version dependencies.
The text was updated successfully, but these errors were encountered: