hydra.build.packaging_profile module
Per-package packaging-validation policy: strict vs. doc-relaxed profile selection and native-owned exclusion.
- hydra.build.packaging_profile.is_native_owned(pkg: Package) bool
Whether a package’s dist/json is written by a separate native driver, so it is excluded from structural validation.
- hydra.build.packaging_profile.packaging_profile_for(pkg: Package) ValidationProfile
Select the packaging validation profile for a package: full-fatal for strict packages, doc-relaxed otherwise.