{"id":23450,"library":"conda-lock","title":"conda-lock","description":"Lightweight lockfile manager for conda environments. Version 4.0.0 requires Python >=3.10; supports conda, mamba, and micromamba. Frequent releases with active maintenance.","status":"active","version":"4.0.0","language":"python","source_language":"en","source_url":"https://github.com/conda/conda-lock","tags":["conda","lockfile","environment","dependency-management"],"install":[{"cmd":"pip install conda-lock","lang":"bash","label":"pip install"},{"cmd":"conda install conda-lock -c conda-forge","lang":"bash","label":"conda install"}],"dependencies":[],"imports":[],"quickstart":{"code":"conda-lock --file environment.yml","lang":"bash","description":"Generate a conda lockfile from an environment.yml. Run in directory with environment.yml. Produces files like conda-linux-64.lock."},"warnings":[{"fix":"Upgrade to Python >=3.10.","message":"Conda-lock v4 drops support for Python 3.9.","severity":"breaking","affected_versions":">=4.0.0"},{"fix":"Use conda-lock >=3.0.2 or manually preserve the port.","message":"When using --strip-auth, the port for private PyPI repos is also stripped, breaking authentication on non-standard ports.","severity":"gotcha","affected_versions":"3.0.1"},{"fix":"Upgrade to conda-lock >=3.0.2.","message":"The --check-input-hash flag is disabled when --strip-auth is used in v3.0.1, causing unnecessary relocking.","severity":"gotcha","affected_versions":"3.0.1"},{"fix":"Use mamba/micromamba <2 or >=2.0.7. Check executable with --log-level=DEBUG.","message":"Mamba/micromamba versions 2.0.0 through 2.0.6 are incompatible with conda-lock v3. It only supports <2 or >=2.0.7.","severity":"gotcha","affected_versions":">=3.0.0,<4.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Upgrade to conda-lock >=2.5.8 (backported fix) or >=3.0.0.","cause":"Bug in conda-lock when parsing conda configuration with missing pkgs_dirs key.","error":"KeyError: 'pkgs_dirs'"},{"fix":"Upgrade to conda-lock >=3.0.4.","cause":"Incompatibility with newer pydantic or dulwich in conda-lock v3 prior to 3.0.4.","error":"TypeError: expected string or null, got 'int'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}