ansible-community / antsibull-build

Tooling for building various things related to ansible
GNU General Public License v3.0
60 stars 31 forks source link

Feature freeze: handle version pins correctly #532

Closed felixfontein closed 1 year ago

felixfontein commented 1 year ago

If feature freeze mode (antsibull-build prepare --feature-frozen) a .build file is encountered with a ==x.y.z constraint, or say >=x.y.z,<X.Y.Z with X.Y.Z not of the form X.Y.0, but >=x.y.z,<x.y.Z, then --feature-frozen crashes (in the first case) resp. uses the wrong range >=x.y.z,<x,(y+1),0 (in the second case).