Problem/Motivation
Currently, contrib modules and themes can't be installed on a git clone of core that's at 11.x. This prevents testing of contrib modules on the latest development branch, and also affects DX because there are many useful contrib modules which are useful to developers (Devel, Admin toolbar, Config Devel, etc etc).
Steps to reproduce
Proposed resolution
Change InfoParserDynamic to allow installing modules when this conditions are satisfied:
- core is 11.x or main
- the extension to install has a requirement of the highest stable version - so currently 10.1.