PythonFrozenUpdate#

class neophile.update.python.PythonFrozenUpdate(path, applied, virtualenv=None)#

Bases: Update

An update to Python frozen dependencies.

Parameters:
  • path (Path) –

  • applied (bool) –

  • virtualenv (InitVar, default: None) –

Attributes Summary

virtualenv

Virtual environment to use for updates.

Methods Summary

apply()

Apply an update to frozen Python dependencies.

description()

Build a description of this update.

Attributes Documentation

virtualenv: InitVar = None#

Virtual environment to use for updates.

Methods Documentation

apply()#

Apply an update to frozen Python dependencies.

Raises:

subprocess.CalledProcessError – Raised if running make update-deps failed.

Return type:

None

description()#

Build a description of this update.

Returns:

Short text description of the update.

Return type:

str