def test_outdated_packages(container, specifications_only=True):
    """Getting the list of updatable packages"""
    LOGGER.info(f"Checking outdated packages in {container.image_name} ...")
    pkg_helper = CondaPackageHelper(container)
    pkg_helper.check_updatable_packages(specifications_only)
    LOGGER.info(pkg_helper.get_outdated_summary(specifications_only))
    LOGGER.info(f"\n{pkg_helper.get_outdated_table()}\n")
Пример #2
0
def package_helper(container):
    """Return a package helper object that can be used to perform tests on installed packages"""
    return CondaPackageHelper(container)