alternative to Conda for KNIME extension building for bundling to users who are prohibited from downloading anaconda

We have hacked the conda_lock.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

2 Likes