I built a library using Weave which is currently incompatible with nim 1.4.6 currently. As such I have specified in its nimble file:
requires nim >= 1.4
requires nim < 1.4.6
Turns out problem with Weave was fixed in the current 1.5.1 devel past 04/30/2021. So right now I'd like to specifically blacklist Nim 1.4.6 but allow anything else past 1.4. Is there a way to do this in the nimble file? I've tried requires nim != 1.4.6 already and it doesn't seem to work.
I'm guessing this: https://github.com/nim-lang/Nim/pull/13793
I could be wrong though. Here's the issue post on Weave repo: https://github.com/mratsim/weave/issues/171
Here is how you would do it in Nimble:
requires "nim >= 1.4 & < 1.4.6"
Should work, we've got tests for this: https://github.com/nim-lang/nimble/blob/master/src/nimblepkg/version.nim#L300 :)