Skip to content

Latest commit

 

History

History
148 lines (82 loc) · 3.86 KB

HISTORY.rst

File metadata and controls

148 lines (82 loc) · 3.86 KB

History

1.1.1 (2019-03-22)

  • Remove yaml load warnings by using yaml.safe_load instead of yaml.load.
  • Fix NoneType object is not iterable error when includes is empty.

1.1.0 (2019-02-14)

  • New is_included jinja variable which is a boolean indicating if the current file was included by another devenv.yml file (True) or it is the original file passed to conda devenv (False) (#72).
  • Added shortcuts to common jinja 2 checks, for example win which is equal to sys.platform.startswith("win") (#75).
  • Added support conda-build-style YAML line comments (# [win]) (#79).
  • New min_conda_devenv_version jinja2 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)

  • Do not fail if history file does not exists (#66).
  • Obtain envs_dir without using a subprocess (#67).

1.0.3 (2018-06-20)

  • Find correct env directory through envs_dir instead of matching first in envs. 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)

  • Add --version flag (#47).
  • Provide a better error message when 'environment.devenv.yml' file is not found (#48).
  • Support for pip on dependencies section (#55).

0.9.6 (2017-07-24)

  • Applies an "AND" when merging dependencies (#53).
  • On Mac generates the same scripts as for Linux (no longer .bat files).

0.9.5 (2017-04-24)

  • Handle None correctly, 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-devenv no longer requires conda to be on PATH to work (#45).

0.9.2 (2017-03-27)

  • Fix conda-forge package.

0.9.1 (2017-03-22)

  • Fix activate and deactivate bash scripts: variables not in the environment before activation are now properly unset after deactivation.
  • Fix activate and deactivate bash scripts: quote variables when exporting them.

0.9.0 (2017-03-17)

  • New option --print-full, which also prints the expanded environment: section.

0.8.1 (2017-03-16)

  • Fix entry point call to main.

0.8.0 (2017-03-16)

  • conda-devenv now can receive standard environment.yml files, in which case the file will just be forwarded to conda env update normally.