March 2024 Releases
ยท 6 min read
The March 2024 releases included updates to conda and conda-build! ๐ Both of these have been released to both main
and conda-forge
.
Changes in Conda 24.3.0โ
To update conda, run:
conda install -n base conda=24.3.0
โจ What's New? โจโ
- Show the first few characters of undecodeable response if
repodata.json
raisesJSONDecodeError
. - Update
conda.gateways.subprocess.subprocess_call
to usetext=True
to avoid manual encoding/decoding. - Add a new plugin hook giving plugin authors the ability to define new settings.
- Optimize module imports to speed up
conda activate
. - Move
conda env export
toconda export
and alias the old command to the new command. - Report progress while running
conda install --revision <idx>
. - Add
conda.testing.tmp_channel
pytest fixture to create a temporary local channel for testing. - Upload stable release artifacts to GitHub releases during releases.
๐ง What Got Fixed? ๐งโ
- Print traceback on
KeyboardInterrupt
instead of raising anotherAttributeError
exception, when conda debugging logs are enabled. - Parse integer channel notice IDs as
str
instead of raising an exception. - Add direct runtime dependency on
zstandard
for use when downloadingrepodata.json.zst
. - Fallback to
repodata.json
ifrepodata.json.zst
cannot be decompressed aszstandard
. conda rename
command no longer throws an error when conda is not active.- Fallback to
repodata.json
fromrepodata.json.zst
on most 4xx error codes. - Fix excess resource usage by log handling when fetching repodata.
- Re-enable
--subdir
and--platform
flags to be available forconda env create
command. - Fix
__archspec
virtual package on Windows to return microarchitecture instead of the defaultx86_64
.
๐ What's Marked for Deprecation? ๐ โ
- Discontinue custom docker images. Use images provided by Anaconda Inc. or conda-forge instead.
- Mark
conda.testing.integration.make_temp_channel
as pending deprecation. Useconda.testing.tmp_channel
fixture instead. - Mark
conda.testing.integration.running_a_python_capable_of_unicode_subprocessing
as pending deprecation. - Mark
conda.testing.integration.set_tmpdir
as pending deprecation. Usetmp_path
,conda.testing.path_factory
, orconda.testing.tmp_env
instead. - Mark
conda.testing.integration._get_temp_prefix
as pending deprecation. Usetmp_path
,conda.testing.path_factory
, orconda.testing.tmp_env
instead. - Mark
conda.testing.integration.make_temp_prefix
as pending deprecation. Usetmp_path
,conda.testing.path_factory
, orconda.testing.tmp_env
instead. - Mark
conda.testing.integration.FORCE_temp_prefix
as pending deprecation. Usetmp_path
,conda.testing.path_factory
, orconda.testing.tmp_env
instead. - Mark
conda.testing.integration.create_temp_location
as pending deprecation. Usetmp_path
orconda.testing.path_factory
instead. - Mark
conda.testing.integration.tempdir
as pending deprecation. Usetmp_path
orconda.testing.path_factory
instead. - Mark
conda.testing.integration.reload_config
as pending deprecation. Useconda.base.context.reset_context
instead. - Remove
conda.export.handle_proxy_407
. - Remove vendored
conda._vendor.boltons
. Useboltons
package instead. - Remove
conda.auxlib.packaging
. Use a modern build system instead; see https://packaging.python.org/en/latest/tutorials/packaging-projects#creating-pyproject-toml for more details. - Remove
conda env create --force
. Useconda env create --yes
instead. - Remove
conda info PACKAGE
. Useconda search PACKAGE --info
instead. - Remove
conda.core.subdir_data.fetch_repodata_remote_request
. Useconda.core.subdir_data.SubdirData.repo_fetch.fetch_latest_parsed
instead." - Remove
conda.exports.memoized
. Usefunctools.lru_cache
instead. - Remove
conda.gateways.disk.read._digest_path
. Useconda.gateways.disk.read.compute_sum
instead. - Remove
conda.gateways.disk.read.compute_md5sum
. Useconda.gateways.disk.read.compute_sum(path, "md5")
instead. - Remove
conda.gateways.disk.read.compute_sha256sum
. Useconda.gateways.disk.read.compute_sum(path, "sha256")
instead. - Remove
conda.instructions.PREFIX
. - Remove
conda.instructions.PREFIX_CMD
. - Remove
conda.testing.encode_for_env_var
. - Remove
conda.testing.conda_check_versions_aligned
. - Remove
conda.testing.helpers.run_inprocess_conda_command
. Useconda.testing.tmp_env
instead. - Remove
conda.testing.helpers.capture_json_with_argv
. - Remove
conda.testing.integration.get_conda_list_tuple
. Useconda.core.prefix_data.PrefixData.get
instead. - Remove
conda.utils.md5_file
. Useconda.gateways.disk.read.compute_sum(path, "md5")
instead. - Remove
conda.utils.hashsum_file
. Useconda.gateways.disk.read.compute_sum
instead. - Remove
conda.utils.safe_open
. Useopen
instead. - Remove
python -m conda_env
. Useconda env
orpython -m conda env
instead. - Remove
conda_env.env.load_from_directory
. - Remove
conda_env.pip_util.get_pip_version
. - Remove
conda_env.pip_util.PipPackage
. - Remove
conda_env.pip_util.installed
. - Remove
conda_env.pip_util._canonicalize_name
. - Remove
conda_env.pip_util.add_pip_installed
. - Postpone
conda.base.context.Context.conda_exe
deprecation toconda 24.9
. - Postpone
conda.testing.integration.run_command
deprecation toconda 25.3
. - Postpone loading subcommands from executables deprecation to
conda 25.3
.
๐ What's New in Documentation? ๐โ
- Update the navigation links for Miniconda.
Changes in Conda-Build 24.3.0โ
To update conda-build, run:
conda install -n base conda-build=24.3.0
โจ What's New? โจโ
- Add compatibility for
LIEF=0.14
. - Add a check to print an additional warning and return an empty string when bits is "arm64" in
msvc_env_cmd
.