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

Parameters
  • packageName – the package name

  • version – version of the installed package

:return (True, version) if 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.10.5'), ('scipion-em', '3.9.4'), ('scipion-app', '3.7.1')]
pwem = <module 'pwem' from '/home/buildbot/devel/scipion/scipion-em/pwem/__init__.py'>
pyworkflow = <module 'pyworkflow' from '/home/buildbot/devel/scipion/scipion-pyworkflow/pyworkflow/__init__.py'>
scipion = <module 'scipion' from '/home/buildbot/buildbot-worker/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