PythonFrozenUpdate

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

Bases: 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[VirtualEnv | None] = 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