Conda 4.14.0 and conda-build 3.22.0 releases
We are pleased to announce that new releases of conda and conda-build are now available in the conda defaults channel. The updates can be installed with
conda update conda conda-build
Here are some highlights from the releases:
conda rename
Have you changed your mind about the name of a conda environment? No problem. You can now rename a conda environment with the conda rename
command. conda rename supports renaming your current environment, or any of your existing environments.
conda rename -n old_env_name new_env_name
See this pull request for additional command options.This implements a feature request that was first submitted in 2016 (and we think that is a record).
Channel notices
Channel owners can now create notifications for their channel users. Notifications can be tagged as informational, warnings, or critical and each type is displayed differently. How often messages appear is controlled by the channel managers. Channel users can also see all notices for all current channels by entering
conda notices
See CEP-6: Add Channel Notices to conda for full details.
Error Handling
There are a few improvements to conda's error handling:
- SSLErrors are now returned to the user as SSLErrors, instead of HTTPErrors.
- Invalid package name errors now include the invalid package name that caused the error.
- You will never see this amusing error message again 😊:
% conda help
CommandNotFoundError: No command 'conda help'.
Did you mean 'conda help'?
Inclusive Naming and Terminology
Conda has embarked on an inclusive naming initiative to replace potentially offensive naming when we come across it. This release includes two types of fixes in conda
and conda-build.
- Whitelist/Blacklist are now Allowlist/Denylist
- The former
master
branch is now themain
branch.
Enhanced Project metadata support in conda-build
conda-build
is now compliant with the PEP 517 and 518 standards for loading project metadata. Metadata can now be specified in JSON, TOML, and YAML (and can be easily extended to support other formats).
Other improvements
There are many other improvements in these releases. Here are a few:
- Better handling of CUDA packages on Windows
- Improved support for conda on FIPS-enabled systems
- Improved support for Python 3.10 and the
.conda
format inconda-build
- A new section in the conda developer guide on writing tests, and a deep dive into writing integration tests in particular
- Many other big fixes, code cleanups, and documentation improvements. See the
conda
andconda-build
release notes for a complete list.
Contributors!
These were banner releases for new contributors to both projects.
- The conda release has 20 contributors, including these 11 new contributors:
- The conda-build release has 11 contributors, including 3 first time contributors: