The January 2024 releases included updates to four conda community projects: conda, conda-build, conda-libmamba-solver, and conda-index! π Each of these have been released to both main and conda-forge.
Changes in Conda 24.1.0/24.1.1/24.1.2β
To update conda, run:
conda install -n base conda=24.1.2
β¨ What's New? β¨β
- Verify signatures on to-be-installed packages instead of on all packages.
- Add new
pre-solvesandpost-solvesplugin hooks. - Add support for Python 3.12.
- Check
repodata.json.zstfor faster repodata downloads. - Add
--skip-flexible-searchoption inconda searchto skip flexible search. - Provide a more useful warning when attempting to rename a non-existent prefix.
- Add a new flag
--keep-envto be used withconda remove --all. It allows users to delete all packages in the environment while retaining the environment itself. - Add a Y/N prompt warning users that
conda env removeandconda remove --alldeletes not only the conda packages but the entirety of the specified environment. - Add
--repodata-use-zst/--no-repodata-use-zstflag to controlrepodata.json.zstcheck; correspondingrepodata_use_zst: true/falsesetting for.condarc. Default is to check forrepodata.json.zst. Disable if remote returns unparsablerepodata.json.zstinstead of correct data or 404.
π§ What Got Fixed? π§β
- Create the
~/.condadirectory before trying to write to theenvironments.txtfile. - Ensure
PackageRecord.timestampis dumped in milliseconds. - Fix error when setting a non-default repodata filename via
CONDA_REPODATA_FNS. - Fix the config file location where the integrated Anaconda client gateway loads user configuration from. This is a regression introduced in conda 23.11.0 when the
platformdirslibrary was adopted. - Interpret missing
Cache-Controlheader asmax-age=0instead of exception. - (24.1.1) Fallback to
repodata.jsonifrepodata.json.zstcannot be decompressed as zstandard. - (24.1.1) Fallback to
repodata.jsonfromrepodata.json.zston most 4xx error codes. - (24.1.2) Fix
conda.core.subdir_data.fetch_repodata_remote_requestfailure whenrepodata_use_zstis enabled.
π What's Marked for Deprecation? π β
The conda_env.* modules have been merged into the conda package!
To improve the integration of the conda env subcommand (previously standalone), we've moved its
code into the conda package, while allowing old conda env commands to still work via Python
import redirects. This is a first step of many to improving the user experience of the conda
command line interface related to environment management.
π What's New in Documentation? πβ
- Update Getting Started documentation in User Guide.
- Add GoatCounter for docs site analytics.
- Improve type hints and doc strings.
Changes in Conda-Build 24.1.0/24.1.1/24.1.2β
To update conda-build, run:
conda install -n base conda-build=24.1.2
β¨ What's New? β¨β
- Update
conda inspect channelsto use updated solver/transaction logic. - Relax
script_enverror in outputs when variable referenced inscript_envis not defined. This unifies current behavior with the top-level build. - Add support for Python 3.12.
- Adopt calendar versioning (CalVer) per CEP-8 for consistency with conda.
- Adopt expedited CEP-9 deprecation policy.
