versionclimber.liquid.YAMLEnv

class versionclimber.liquid.YAMLEnv(config_file, demandsupply=False, reduce=False)[source]

Environment built from a YAML configuration file.

Stages:
  • read the configuration

  • get locally the packages from git, svn or pypi

  • get the set of versions

__init__(config_file, demandsupply=False, reduce=False)[source]

Set a global variable

Methods

__init__(config_file[, demandsupply, reduce])

Set a global variable

checkout(pkg_name, commit[, python])

Install the package pkg_name at a given version.

config2txt(config)

conversion()

install_config(semantic_config)

Install a set of packages in the most atomic way.

monkey_patch(liquidparser[, knowcaller])

number_of_configurations(liquidparser[, ...])

one_run()

Run just the command in a fixed environment.

print_versions([liquidparser, reduce])

Print all the versions of the different packages.

restore()

run(liquidparser[, anchor])

works([log_dir])

Get the function that will be evaluated by the algorithm.

Attributes

empty