python-semanticversion icon indicating copy to clipboard operation
python-semanticversion copied to clipboard

Support For Checking Intersection of SimpleSpec

Open iamthebot opened this issue 1 year ago • 1 comments

Suppose I have a validation that checks that the required version of a package follows >=4.1.1,!=4.1.5. Additionally, I have a separate requirement (eg; <4.1.8). I'd like to be able to check if there exists an intersection between both specs.

This is useful when eg; users provide requirements but we have additional requirements. Is there already a way to check if both SimpleSpec instances are compatible?

iamthebot avatar Aug 16 '23 20:08 iamthebot

Yes. Please add this. +Inf this could be very useful in test workflows

shazib-summar avatar Nov 23 '23 13:11 shazib-summar