Closed pedro-psb closed 1 month ago
In that case we just don't declare <3.46
in the first place.
The whole idea of having an upper bound is that even if 3.45.0 is released tomorrow it cannot break us without a PR.
Closing because pinning to the maximum known valid release lower than what was specified before (<3.45
instead of <3.46
, in this specific case) is a reasonable solution for this edge case.
Closing because pinning to the maximum known valid release lower than what was specified before (
<3.45
instead of<3.46
, in this specific case) is a reasonable solution for this edge case.
Yeah, just that I would not call this an edge case, but exactly the very reason this check was added. We want to know that the newly allowed version is installable and compatible.
Fair. I was really overlooking it's purpose, thanks for pointing out.
I've just hit a very unlike edge case that can happen if a package skips a Y release (here).
The following scenario apparently doesnt make sense, unless you see that there isnt any
3.45.*
in the PyGObject release history.It doesnt feel like the calc_constrain code should validate the version, but maybe we can introduce a special comment syntax to deal with those edge cases, like: