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-solves
andpost-solves
plugin hooks. - Add support for Python 3.12.
- Check
repodata.json.zst
for faster repodata downloads. - Add
--skip-flexible-search
option inconda search
to skip flexible search. - Provide a more useful warning when attempting to rename a non-existent prefix.
- Add a new flag
--keep-env
to 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 remove
andconda remove --all
deletes not only the conda packages but the entirety of the specified environment. - Add
--repodata-use-zst/--no-repodata-use-zst
flag to controlrepodata.json.zst
check; correspondingrepodata_use_zst: true/false
setting for.condarc
. Default is to check forrepodata.json.zst
. Disable if remote returns unparsablerepodata.json.zst
instead of correct data or 404.
π§ What Got Fixed? π§β
- Create the
~/.conda
directory before trying to write to theenvironments.txt
file. - Ensure
PackageRecord.timestamp
is 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
platformdirs
library was adopted. - Interpret missing
Cache-Control
header asmax-age=0
instead of exception. - (24.1.1) Fallback to
repodata.json
ifrepodata.json.zst
cannot be decompressed as zstandard. - (24.1.1) Fallback to
repodata.json
fromrepodata.json.zst
on most 4xx error codes. - (24.1.2) Fix
conda.core.subdir_data.fetch_repodata_remote_request
failure whenrepodata_use_zst
is 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 channels
to use updated solver/transaction logic. - Relax
script_env
error in outputs when variable referenced inscript_env
is 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.