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
While trying to switch zlib to rattler, I need a feature that's currently under an experimental flag. Aside from the problem of not being able to specify this through smithy yet, the larger issue is that this is not configurable in the compat layer here.
File "E:\miniforge\envs\smithy-dev\Lib\site-packages\rattler_build_conda_compat\render.py", line 317, in render
m.config.variant = package_variants[0]
~~~~~~~~~~~~~~~~^^^
which I solved as follows:
---src/rattler_build_conda_compat/render.py+++src/rattler_build_conda_compat/render.py
):
package_variants.remove(pkg_variant)
- m.config.variant = package_variants[0]+ m.config.variant = package_variants[0] if package_variants else []
# These are always the full set. just 'variants' is the one that gets
# used mostly, and can be reduced
That way I was able to get a basic rerender to succeed at least (though still running into issues on the build invocation, which'll have to be fixed in smithy).
The text was updated successfully, but these errors were encountered:
While trying to switch zlib to rattler, I need a feature that's currently under an experimental flag. Aside from the problem of not being able to specify this through smithy yet, the larger issue is that this is not configurable in the compat layer here.
I've monkey-patched my local install to do:
which still runs into a rendering error:
which I solved as follows:
That way I was able to get a basic rerender to succeed at least (though still running into issues on the build invocation, which'll have to be fixed in smithy).
The text was updated successfully, but these errors were encountered: