-
Notifications
You must be signed in to change notification settings - Fork 337
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
Weak Requirement Range Causes Conflict #1824
Comments
This is expected AFAIK: >>> ver_range = rez.version.VersionRange('houdini-19+<=20.5')
>>> ver_range.contains_version(rez.version.Version('20.5.278'))
False 20.5.278 is greater than 20.5 here. |
Fair enough. Might be a point for the docs, unless I'm the only one who was caught out by this :) |
Sure thing @Anti-Distinctlyminty. Would you like to submit a pull request to improve our docs in that area? |
Absolutely. I'll add it to my todo list :) |
@Anti-Distinctlyminty Would you like to proceed with a PR, or should I close this issue? |
…areFoundation#1824) Adjusted weak statement to specify that upper limit also includes patch versions.
…areFoundation#1824) Adjusted weak statement to specify that upper limit also includes patch versions. Signed-off-by: Sarah Soliman
…areFoundation#1824) Adjusted weak statement to specify that upper limit also includes patch versions. Signed-off-by: Sarah Soliman
…areFoundation#1824) Adjusted weak statement to specify that upper limit also includes patch versions. Signed-off-by: sarah-kamall <[email protected]>
It is on my todo list. I would like to contontribute.
…On Tue, 12 Nov 2024 at 19:35, Archit H Barve ***@***.***> wrote:
@Anti-Distinctlyminty <https://github.com/Anti-Distinctlyminty> Would you
like to proceed with a PR, or should I close this issue?
—
Reply to this email directly, view it on GitHub
<#1824 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKQRM73DFJ35EDAILME4QL2AJC65AVCNFSM6AAAAABNWQLRTCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZRGI4DKMZYG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I think you can close as Sarah's PR addresses it. |
The weak requirement
~houdini-19+<=20.5
causes a conflict when using the packagehoudini-20.5
.I thought that by default if a minor/patch version is not specified, then it means "all are ok". But this appears to not be the case.
Environment
To Reproduce
houdini-20.5
, the other with the requirement~houdini-19+<=20.5
.rez-env
Expected behavior
houdini-20.5
should be accepted by the requirement~houdini-19+<=20.5
.Actual behavior
The text was updated successfully, but these errors were encountered: