BUG: build string wildcard changed meaning; working specification now impossible #5624
Open
2 tasks done
Labels
type::bug
describes erroneous operation, use severity::* to classify the type
Checklist
What happened?
The cling recipe used to have the following specification
For consistency with root, we've removed the
v
before the version in conda-forge/clangdev-feedstock#340. That aside, the*
used to mean "any other characters". However, after thev
is removed to account for the difference in build string patterns, I getSince
^...$
looked very much like regex begin/end markers, I tried changingand then the build starts correctly. However, not even then is the specification self-consistent, because while the build passes, the test phase stumbles over the
.*
:So it seems that different parts of the code interpret the build string specification either as a literal regex (so a wildcard needs to be spelled
.*
) and other parts in the old way where a bare*
is the wild card. Obviously these things are not compatible.wildcard =
*
wildcard =
.*
cling version
=*=cling_1.2*
cling_1.2_h84e3424_7
=*=cling_1.2_*
cling_1.2_h84e3424_7
=*=cling_1.2.*
cling_1.2_h84e3424_7
=*=cling_1.*
cling_1.2_h84e3424_7
The last line in this table is a workaround that's possible purely by happenstance, because the
.
can do double duty if we ignore the minor version. But then we're not actually pinning the runtime dependency correctly!This happens across all platforms.
Conda Info
Conda Config
Conda list
Additional Context
No response
The text was updated successfully, but these errors were encountered: