scipion.install.update_manager module

This module is responsible for updating scipion-em, scipion-pyworkflow and scipion-app if a higher version of these is released

class scipion.install.update_manager.UpdateManager[source]

Bases: object

Class responsible for updating scipion-em, scipion-pyworkflow and scipion-app if a higher version of these is released

classmethod getPackageState(packageName, version)[source]

Check if a package needs to be updated or not args: packageName: the package name

version: version of the installed package
return: (True, version) if the the package needs to be updated, otherwise
(False, version)
classmethod getPackagesStatus(printAll=True)[source]

Check for scipion-app, scipion-pyworkflow and scipion-em updates return: a list of modules to be updated

packageNames = [('scipion-pyworkflow', '3.0.6'), ('scipion-em', '3.0.4'), ('scipion-app', '3.0.5')]
pwem = <module 'pwem' from '/home/yunior/Yunior/Projects/Buildbot/buildbot/worker/devel/scipion/scipion-em/pwem/__init__.py'>
pyworkflow = <module 'pyworkflow' from '/home/yunior/Yunior/Projects/Buildbot/buildbot/worker/devel/scipion/scipion-pyworkflow/pyworkflow/__init__.py'>
scipion = <module 'scipion' from '/home/yunior/Yunior/Projects/Buildbot/devel/scipion/scipion-app/scipion/__init__.py'>
classmethod updateScipion(outdatedPackages)[source]

Update a module from which there is released a higher version

scipion.install.update_manager.updateManagerParser(args)[source]

Create the parser for the “update” command