-
Notifications
You must be signed in to change notification settings - Fork 11
Description
I have a cookbook that works fine with both the 5.x and 6.x versions of one of its dependencies. However, obviously it may or may not work with a future 7.x version. I want to allow projects that use my cookbook to update to the 6.x dependency version, but without introducing a breaking change to force them.
I thought I'd be able to specify > 5.1 <= 7.0 in some format, but it seems that there's no way to express that. I've tried various formats including arrays etc, but everything I try just gives did not contain a valid operator or a valid version string.
I appreciate it would be a nightmare to support arbitrary non-contiguous ranges, but it would be great to have basically a slightly-less-pessimistic constraint somehow. Apologies if this exists, but I can't find it documented or by trial and error.