IPython Documentation

Table Of Contents

Previous topic

utils.upgradedir

Next topic

utils.warn

This Page

utils.version

Module: utils.version

Utilities for version comparison

It is a bit ridiculous that we need these.

IPython.utils.version.check_version(v, check)

check version string v >= check

If dev/prerelease tags result in TypeError for string-number comparison, it is assumed that the dependency is satisfied. Users on dev branches are responsible for keeping their own packages up to date.