Version problems when install domain_variable
drubot opened this issue · 3 comments
When trying to install domain_variable I get the following:
- drupal/domain_variable 7.1.1 requires drupal/variable_store 7.2.x-dev -> no matching package found.
drupal/variable correctly has
replaces drupal/variable_store self.version
and I added drupal/variable ^7.2
ok, I guess the source of the problem is the versioned dependency:
dependencies[] = variable_store (7.x-2.x)
When I add a dev version of variable it works also. But this should allow picking me a stable dependency also.
There is no easy answer to the problem. The version constraint is not listed on https://www.drupal.org/node/542202#dependencies
But i guess "7.x-2.x" is a short form of "2.x" which translates to '7.2.*'.
@drubot Do you have time to patch https://github.com/drupal-composer/drupal-parse-composer? The related testcode is in https://github.com/drupal-composer/drupal-parse-composer/blob/master/spec/Drupal/ParseComposer/InfoFileSpec.php
This issue was moved to drupal-composer/drupal-packagist#33