wbond / package_control

The Sublime Text package manager
https://packagecontrol.io
4.78k stars 814 forks source link

Fix Version Selector #1579

Closed deathaxe closed 2 years ago

deathaxe commented 3 years ago

Fixes #1578

A range selector is an greater than or equal and smaller than or equal operation, which includes provided min/max boundaries into valid range.

It turned out is_compatible_version() handles >= vs. > and <= vs. < wrong in general.

Note: Not sure if this is to be handled as hofix for current release or whether should be merged to four-point-oh only.

deathaxe commented 2 years ago

I'd vote to add this fix to a 3.5 as well.