CHANGELOG¶
3.5.0 (2025-08-27)¶
Correctly handle parsing envs directories in new
mambaversions, where that value was renamed fromenvs_dirs.Added the ability to generate
aarch64andarm64locks.
3.4.0 (2024-07-22)¶
Previously the
name,channels, andplatformskeys would only be overwritten by the rootdevenv.ymlfile (the one use to invokeconda devenvwith). Now any downstreamdevenv.ymlfile will override these keys, with the most downstreamdevenv.ymlfile “winning”, which was always the intended behavior.
3.3.0 (2024-02-21)¶
Dependency order is no longer sorted automatically, instead the order is preserved as they are defined in the
*.devenv.ymlfiles. Usually this would not matter, but it is important forpipdependencies which declare development installations, as it is important that those happen in the specified order.
3.2.1 (2024-01-03)¶
Fixed handling of constraints when processing lock files and dependencies include a pip section.
3.2.0 (2023-07-11)¶
The
CONDA_DEVENV_USE_LOCKScan be used to change the default value of--use-locks. Useful to set on CI to ensure lock files are being used.
3.1.1 (2023-07-04)¶
Fixed bug where the platform selectors of included
devenv.ymlfiles were not being honored when rendering lock files.
3.1.0 (2023-06-30)¶
Added support for version constraints in
devenv.ymlfiles. Consult the docs.Improved message with
--use-locks=yesand no lock files are found.Force flush calls when reporting progress updates, which improves seeing these updates on CI.
3.0.0 (2023-06-19)¶
New workflow to work with lock files, using conda-lock. Consult the docs.
Added full type annotations. Some of the parameters were changed from
strtoPathto make the API more clearer.Python 3.7, 3.8, and 3.9 are no longer supported. Note that
conda-devenvinstalled in a Python 3.10+ conda root can still be used to work with environments in those versions.Dropped an internal hack that attempted to circumvent bugs in conda’s
--pruneimplementation by truncating the install history file: we suspect this is no longer needed and might cause more harm than good.
2.4.0 (2023-03-29)¶
2.3.0 (2022-03-07)¶
2.2.0 (2022-01-31)¶
Add support for mamba (#110).
2.1.1 (2020-08-13)¶
Correctly handle editable installs when using pip dependencies (#113).
2.1.0 (2020-06-26)¶
New
get_envfunction to handle environment variables in Jinja contexts so it conveys better error messages in case of missing/invalid environment variables.
2.0.0 (2020-06-08)¶
Drop support for Python 2.7, 3.4, and 3.5.
Correctly parse relative includes without jinja root.
New
--verboseflag which is passed on toconda.
1.1.3 (2019-12-26)¶
Accept package version specifiers containing upper case letters (#95).
1.1.2 (2019-05-07)¶
Correctly support git and mercurial repositories in
pipdependencies (#92).
1.1.1 (2019-03-22)¶
Remove yaml load warnings by using
yaml.safe_loadinstead ofyaml.load.Fix
NoneType object is not iterableerror whenincludesis empty.
1.1.0 (2019-02-14)¶
New
is_includedjinja variable which is a boolean indicating if the current file was included by anotherdevenv.ymlfile (True) or it is the original file passed toconda devenv(False) (#72).Added shortcuts to common jinja 2 checks, for example
winwhich is equal tosys.platform.startswith("win")(#75).Added support conda-build-style YAML line comments (`` # [win]``) (#79).
New
min_conda_devenv_versionjinja2 function that can be used to specify a minimum conda-devenv version:{{ min_conda_devenv_version("1.1") }} name: my-environment
This is recommended when using new features so users will be shown a descriptive error message instead of subtle failures (#81).
1.0.4 (2018-09-20)¶
1.0.3 (2018-06-20)¶
Find correct env directory through
envs_dirinstead of matching first inenvs. This makes environment directory location more reliable in newer conda versions.
1.0.2 (2018-06-07)¶
Fix problem with channel specification being wrongly exported (#62).
1.0.1 (2018-06-04)¶
Truncate the environment’s history file to have the old “prune” behavior when needed (#59).
1.0.0 (2017-09-19)¶
0.9.6 (2017-07-24)¶
Applies an “AND” when merging dependencies (#53).
On Mac generates the same scripts as for Linux (no longer
.batfiles).
0.9.5 (2017-04-24)¶
Handle
Nonecorrectly, which actually fixes (#49).
0.9.4 (2017-04-20)¶
Fixed major bug where activate/deactivate scripts were not being generated (#49).
0.9.3 (2017-04-10)¶
conda-devenvno longer requirescondato be onPATHto work (#45).
0.9.2 (2017-03-27)¶
Fix conda-forge package.
0.9.1 (2017-03-22)¶
Fix activate and deactivate
bashscripts: variables not in the environment before activation are now properly unset after deactivation.Fix activate and deactivate
bashscripts: quote variables when exporting them.
0.9.0 (2017-03-17)¶
New option
--print-full, which also prints the expandedenvironment:section.
0.8.1 (2017-03-16)¶
Fix entry point call to
main.
0.8.0 (2017-03-16)¶
conda-devenvnow can receive standardenvironment.ymlfiles, in which case the file will just be forwarded toconda env updatenormally.