March 2024 Releases
ยท 5 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.jsonraisesJSONDecodeError. - Update
conda.gateways.subprocess.subprocess_callto usetext=Trueto 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 exporttoconda exportand alias the old command to the new command. - Report progress while running
conda install --revision <idx>. - Add
conda.testing.tmp_channelpytest fixture to create a temporary local channel for testing. - Upload stable release artifacts to GitHub releases during releases.
๐ง What Got Fixed? ๐งโ
- Print traceback on
KeyboardInterruptinstead of raising anotherAttributeErrorexception, when conda debugging logs are enabled. - Parse integer channel notice IDs as
strinstead of raising an exception. - Add direct runtime dependency on
zstandardfor use when downloadingrepodata.json.zst. - Fallback to
repodata.jsonifrepodata.json.zstcannot be decompressed aszstandard. conda renamecommand no longer throws an error when conda is not active.- Fallback to
repodata.jsonfromrepodata.json.zston most 4xx error codes. - Fix excess resource usage by log handling when fetching repodata.
- Re-enable
--subdirand--platformflags to be available forconda env createcommand. - Fix
__archspecvirtual 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_channelas pending deprecation. Useconda.testing.tmp_channelfixture instead. - Mark
conda.testing.integration.running_a_python_capable_of_unicode_subprocessingas pending deprecation. - Mark
conda.testing.integration.set_tmpdiras pending deprecation. Usetmp_path,conda.testing.path_factory, orconda.testing.tmp_envinstead. - Mark
conda.testing.integration._get_temp_prefixas pending deprecation. Usetmp_path,conda.testing.path_factory, orconda.testing.tmp_envinstead. - Mark
conda.testing.integration.make_temp_prefixas pending deprecation. Usetmp_path,conda.testing.path_factory, orconda.testing.tmp_envinstead. - Mark
conda.testing.integration.FORCE_temp_prefixas pending deprecation. Usetmp_path,conda.testing.path_factory, orconda.testing.tmp_envinstead. - Mark
conda.testing.integration.create_temp_locationas pending deprecation. Usetmp_pathorconda.testing.path_factoryinstead. - Mark
conda.testing.integration.tempdiras pending deprecation. Usetmp_pathorconda.testing.path_factoryinstead. - Mark
conda.testing.integration.reload_configas pending deprecation. Useconda.base.context.reset_contextinstead. - Remove
conda.export.handle_proxy_407. - Remove vendored
conda._vendor.boltons. Useboltonspackage 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 --yesinstead. - Remove
conda info PACKAGE. Useconda search PACKAGE --infoinstead. - Remove
conda.core.subdir_data.fetch_repodata_remote_request. Useconda.core.subdir_data.SubdirData.repo_fetch.fetch_latest_parsedinstead." - Remove
conda.exports.memoized. Usefunctools.lru_cacheinstead. - Remove
conda.gateways.disk.read._digest_path. Useconda.gateways.disk.read.compute_suminstead. - 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_envinstead. - Remove
conda.testing.helpers.capture_json_with_argv. - Remove
conda.testing.integration.get_conda_list_tuple. Useconda.core.prefix_data.PrefixData.getinstead. - Remove
conda.utils.md5_file. Useconda.gateways.disk.read.compute_sum(path, "md5")instead. - Remove
conda.utils.hashsum_file. Useconda.gateways.disk.read.compute_suminstead. - Remove
conda.utils.safe_open. Useopeninstead. - Remove
python -m conda_env. Useconda envorpython -m conda envinstead. - 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_exedeprecation toconda 24.9. - Postpone
conda.testing.integration.run_commanddeprecation 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.
๐ง What Got Fixed? ๐งโ
- Fix
stdlibbeing recognized in variant hash inputs.
๐ What's Marked for Deprecation? ๐ โ
- Mark
conda_build.bdist_condamodule as pending deprecation. - Mark
conda_build.build.have_prefix_filesas deprecated. - Mark
conda_build.conda_interface.handle_proxy_407as deprecated. Handled byconda.gateways.connection.session.CondaSession. - Mark
conda_build.conda_interface.hashsum_fileas deprecated. Useconda.gateways.disk.read.compute_suminstead. - Mark
conda_build.conda_interface.md5_fileas deprecated. Useconda.gateways.disk.read.compute_sum(path, 'md5')instead. - Mark
conda_build.environ.PREFIX_ACTIONas deprecated. - Mark
conda_build.environ.LINK_ACTIONas deprecated. - Mark
conda_build.environ.cache_actionsas deprecated. - Mark
conda_build.index.DummyExecutoras deprecated. - Mark
conda_build.index.MAX_THREADS_DEFAULTas deprecated. - Mark
conda_build.index.LOCK_TIMEOUT_SECSas deprecated. - Mark
conda_build.index.LOCKFILE_NAMEas deprecated. - Mark
conda_build.api.get_output_file_pathas deprecated. Useconda_build.api.get_output_file_pathsinstead. - Mark
conda_build.environ.Environmentas deprecated. Useconda.core.prefix_data.PrefixDatainstead. - Mark
conda_build.conda_interface.get_version_from_git_tagas deprecated. Useconda_build.environ.get_version_from_git_taginstead. - Rename
conda_build.environ.create_env('specs_or_actions' -> 'specs_or_precs'). - Rename
conda_build.environ._execute_actions('actions' -> 'precs'). - Rename
conda_build.environ._display_actions('actions' -> 'precs'). - Rename
conda_build.inspect.check_install('platform' -> 'subdir'). - Rename
conda_build.render.execute_download_actions('actions' -> 'precs'). - Rename
conda_build.render.get_upstream_pins('actions' -> 'precs'). - Remove
conda_build.cli.main_render.execute(print_results). - Remove
conda_build.conda_interface.Dist. - Remove
conda_build.conda_interface.display_actions. - Remove
conda_build.conda_interface.execute_actions. - Remove
conda_build.conda_interface.execute_plan. - Remove
conda_build.conda_interface.install_actions. - Remove
conda_build.conda_interface.linked. - Remove
conda_build.conda_interface.linked_data. - Remove
conda_build.conda_interface.package_cache. - Remove
conda_build.environ.get_install_actions. Useconda_build.environ.get_package_recordsinstead. - Remove
conda_build.index._determine_namespace. - Remove
conda_build.index._make_seconds. - Remove
conda_build.index.REPODATA_VERSION. - Remove
conda_build.index.CHANNELDATA_VERSION. - Remove
conda_build.index.REPODATA_JSON_FN. - Remove
conda_build.index.REPODATA_FROM_PKGS_JSON_FN. - Remove
conda_build.index.CHANNELDATA_FIELDS. - Remove
conda_build.index._clear_newline_chars. - Remove
conda_build.index._get_jinja2_environment. - Remove
conda_build.index._maybe_write. - Remove
conda_build.index._make_build_string. - Remove
conda_build.index._warn_on_missing_dependencies. - Remove
conda_build.index._cache_post_install_details. - Remove
conda_build.index._cache_recipe. - Remove
conda_build.index._cache_run_exports. - Remove
conda_build.index._cache_icon. - Remove
conda_build.index._make_subdir_index_html. - Remove
conda_build.index._make_channeldata_index_html. - Remove
conda_build.index._get_source_repo_git_info. - Remove
conda_build.index._cache_info_file. - Remove
conda_build.index._alternate_file_extension. - Remove
conda_build.index._get_resolve_object. - Remove
conda_build.index._get_newest_versions. - Remove
conda_build.index._add_missing_deps. - Remove
conda_build.index._add_prev_ver_for_features. - Remove
conda_build.index._shard_newest_packages. - Remove
conda_build.index._build_current_repodata. - Remove
conda_build.index.ChannelIndex. - Remove
conda_build.inspect.check_install('prepend'). - Remove
conda_build.inspect.check_install('minimal_hint'). - Remove
conda_build.noarch_python.ISWIN. Useconda_build.utils.on_wininstead. - Remove
conda_build.noarch_python._force_dir. Useos.makedirs(exist_ok=True)instead. - Remove
conda_build.noarch_python._error_exit. - Remove
conda_build.render.actions_to_pins. - Remove
conda_build.utils.linked_data_no_multichannels. - Postpone
conda_build.index.channel_datadeprecation.
๐ What's New in Documentation? ๐โ
- Update advice for installing conda-build into base environment.
We โค๏ธ Our Communityโ
Altogether, we had 2 new contributors this release cycle; thank you to all of our open source community members for helping making these improvements possible.
- @zklaus made their first contribution in conda#13579
- @finnagin made their first contribution in conda-build#4867
If you have ideas or want to help improve any of the conda community projects, we love to see new (and returning) contributors! ๐
