compare_packages

lsst.pipe.base.pipeline_graph.compare_packages(packages: Packages, new_packages: Packages) bool

Compare two versions of Packages.

Parameters:
packagesPackages

Previously recorded package versions. Updated in place to include any new packages that weren’t present before.

new_packagesPackages

New set of package versions.

Returns:
updatedbool

True if packages was updated, False if not.

Raises:
ConflictingDefinitionError

Raised if versions are inconsistent.