alternative to Conda for KNIME extension building for bundling to users who are prohibited from d...

We have hacked the condalock.py module, so we can use miniforge for bundling a Python KNIME extension. In the method, def lock, after the extras object. We added:

if any("default" in c for c in channel_overrides):
# remove default channel
new_channel_overrides = []
for i, c in enumerate(channel_overrides[:-1]):
to_add = True
if "channel" in c:
if "default" in channel_overrides[i+1]:
to_add = False
if to_add:
new_channel_overrides.append(c)

This topic relates to the closed topic ‘alternative to Conda’ alternative to Conda