You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! First of all thank you very much for the awesome work you do here!
Actual Behavior
When building using build variants, including libstdcxx-ng in the pins, an exception is raised informing one, that no - characters are allowed in variant keys. So effectively, one cannot pin libstdcxx-ng.
The error:
File "/opt/conda/lib/python3.6/site-packages/conda_build/cli/main_render.py", line 186, in mainreturn execute(sys.argv[1:])
File "/opt/conda/lib/python3.6/site-packages/conda_build/cli/main_render.py", line 152, in execute
variants = get_package_variants(args.recipe, config)
File "/opt/conda/lib/python3.6/site-packages/conda_build/variants.py", line 487, in get_package_variantsraiseValueError("Error in config {}: {}".format(f, str(e)))
ValueError: Error in config pins.yaml: Variant configuration errors:
['"-" is a disallowed character in variant keys. Key was: libstdcxx-ng']
Expected Behavior
Package names with hyphens/dashes should not break the pinning behaviour.
Steps to Reproduce
If you really need an example for this one, I could draft it, but here, the piece of code that causes that issue is clear. The question is, whether this behaviour is intended, and whether there are tricks to get around it.
Hello! First of all thank you very much for the awesome work you do here!
Actual Behavior
When building using build variants, including
libstdcxx-ng
in the pins, an exception is raised informing one, that no-
characters are allowed in variant keys. So effectively, one cannot pinlibstdcxx-ng
.The error:
Expected Behavior
Package names with hyphens/dashes should not break the pinning behaviour.
Steps to Reproduce
If you really need an example for this one, I could draft it, but here, the piece of code that causes that issue is clear. The question is, whether this behaviour is intended, and whether there are tricks to get around it.
conda-build/conda_build/variants.py
Lines 123 to 127 in 54ab018
Output of conda info
The text was updated successfully, but these errors were encountered: