PythonFrozenUpdate

class neophile.update.python.PythonFrozenUpdate(path: Path, applied: bool, virtualenv: InitVar[Optional[VirtualEnv]] = None)

Bases: neophile.update.base.Update

An update to Python frozen dependencies.

Attributes Summary

virtualenv

Methods Summary

apply()

Apply an update to frozen Python dependencies.

description()

Build a description of this update.

Attributes Documentation

virtualenv: InitVar[Optional[VirtualEnv]] = None

Methods Documentation

apply() None

Apply an update to frozen Python dependencies.

Raises

subprocess.CalledProcessError – Running make update-deps failed.

description() str

Build a description of this update.

Returns

description – Short text description of the update.

Return type

str