File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,9 @@ lock() {
4949 # somehow or leverage libmamba directly to obtain it…
5050 # -14 Oct 2022
5151 log " Updating $repo /locked/recipe.yaml"
52+ # Filtering out the "_x86_64-microarch-level" dependency as it causes
53+ # errors when installing with micromamba
54+ # See <https://github.com/nextstrain/conda-base/issues/105>
5255 yq \
5356 --yaml-roundtrip \
5457 --slurpfile rendered <( rendered-recipe | yaml-to-json) \
@@ -57,7 +60,8 @@ lock() {
5760 | .build.string = $rendered[0].build.string + "_locked"
5861 | .requirements.run = (
5962 $rendered[0].requirements.run
60- | map(split(" ") | "\(.[0]) ==\(.[1]) \(.[2])"))
63+ | map(select(. | startswith("_x86_64-microarch-level") | not)
64+ | split(" ") | "\(.[0]) ==\(.[1]) \(.[2])"))
6165 ' \
6266 < src/recipe.yaml \
6367 > locked/recipe.yaml
You can’t perform that action at this time.
0 commit comments