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
I'm definitely doing it wrong, but this should still be caught and handled:
In [4]: p = Path("./meta.yaml")
In [5]: p
Out[5]: PosixPath('meta.yaml')
In [6]: r = recipe.render(p)
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
Input In [6], in <cell line: 1>()
----> 1 r = recipe.render(p)
File /opt/anaconda/lib/python3.9/site-packages/percy/render/recipe.py:746, in render(recipe_path, subdir, python, others, return_exceptions)
744 if others is None:
745 others = {"r_implementation": "r-base", "rust_compiler": "rust"}
--> 746 variants = read_conda_build_config(recipe_path, subdir, python, others)
748 # render for each variant and combine similar results
749 render_results = []
File /opt/anaconda/lib/python3.9/site-packages/percy/render/variants.py:263, in read_conda_build_config(recipe_path, subdir, python, others, variant_config_files, exclusive_config_files)
261 if k not in zip_keys and type(v) is list and len(v) > 1:
262 groups[k] = v
--> 263 group_keys, group_values = zip(*groups.items())
264 group_permutations = [
265 dict(zip(group_keys, v)) for v in itertools.product(*group_values)
266 ]
267 for d in group_permutations:
ValueError: not enough values to unpack (expected 2, got 0)
The text was updated successfully, but these errors were encountered:
I'm definitely doing it wrong, but this should still be caught and handled:
The text was updated successfully, but these errors were encountered: