I just merged DM-52110 which distributes a DM-maintained fork of the third-party metadetect as part of lsst_distrib (as a dependency of drp_tasks) as discussed in RFC-1100. This would be available by default when setting up lsst_distrib starting with w.2025.33.
The tests of metadetect have an optional dependency on three other third-party packages (all of which as EUPS setup-able). Those are not included as part of lsst_distrib, so many tests would be skipped when installing locally with lsstinstall or with lsstsw. However, those tests are run as part of stack-os-matrix and nightly-releases on Jenkins and hence are expected to be unbroken when released. This increases the build time by a minute or so on Jenkins.
Those wishing to run the tests locally should clone and setup these packages separately: