News Score: Score the News, Sort the News, Rewrite the Headlines

Abusing Conda's Turing-Complete YAML Comments

my favorite build system, jinja-preprocessed-eval-preprocessed YAML2024-02-24 01:25python Anaconda cybersecurity I was trying to submit a Conda package to Conda Forge, and I needed a way to mark it as Linux and MacOS only. As it turns out, you are supposed to define something like this in your meta.yaml build configuration file: build: skip: True # [win] What this seems to mean is, “skip the build if we are in windows.” Why is it a comment? I don’t know, but that’s what it is. This package also ...

Read more at astrid.tech

© News Score  score the news, sort the news, rewrite the headlines