On Tue Nov 4, 2025 at 9:45 PM CET, Mario Domenech Goulart wrote:
>
> I'm not sure making version>=? accept numbers is a good idea,
> particularly in cases where floats are used to represent versions.
>
> Example of problem: release version 1.0, then 1.1, 1.2... 1.9 and then
> finally 1.10, which is read as 1.1, thus less than 1.9.  I remember we
> had problems like that with egg versions in the past.
>
> Nowadays chicken-install in C6 rejects numbers to specify versions in
> .egg files [0].  I believe version>=? should do the same to prevent
> confusion.  In cases where versions are really supposed to be compared
> as numbers, people can always use regular numeric operators.

Ok, I can remove the numeric case if you prefer, no problem.


cheers,
felix


Reply via email to