code: def upgrade(self, package, force=False):
          
          self.install(package, upgrade=True, force=force)
docs: Shortcut method to upgrade a package. If `force` is set to True,
          the package and all of its dependencies will be reinstalled, otherwise
          if the package is up to date, this command is a no-op.