
`spack spec -I` queries the database for installation status and should use a read transaction around calls to `Spec.tree()`.
`spack spec -I` queries the database for installation status and should use a read transaction around calls to `Spec.tree()`.