conda-forge / m2w64-sysroot-feedstock

A conda-smithy repository for m2w64-sysroot.
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Packages have strange version string #12

Open jaimergp opened 1 month ago

jaimergp commented 1 month ago

Solution to issue cannot be found in the documentation.

Issue

Looks like the git tag included the v prefix in some packages produced by this feedstock:

https://anaconda.org/conda-forge/mingw-w64-ucrt-x86_64-crt-git/files?version=v12.0.0.r2.ggc561118da

m2w64-sysroot_win-64 v12.0.0.r2.ggc561118da
mingw-w64-ucrt-x86_64-crt-git v12.0.0.r2.ggc561118da h7428d3b_0
mingw-w64-ucrt-x86_64-headers-git v12.0.0.r2.ggc561118da h7428d3b_0
mingw-w64-ucrt-x86_64-winpthreads-git v12.0.0.r2.ggc561118da h7428d3b_0

Should we mark those as broken? Those strings shouldn't be considered legal (although they are "parsed" by conda just fine).

Installed packages

NA

Environment info

NA
jaimergp commented 1 month ago

xref https://github.com/conda/conda/issues/14255

jjerphan commented 1 month ago

Thank you for opening this issue.

In my opinion, we must be strict: those builds must be removed since they do not comply with the MatchSpec specification.

Accepting them would mean accepting flexibility with the specification which is an anti-pattern which causes troubles down the line (for instance mamba does not properly handle those packages).

jjerphan commented 1 month ago

See https://github.com/conda-forge/admin-requests/pull/1090.