add package constraints when running log regression tests