docs: def resolve_artifacts_by_builder_compat(
              self, package_names, builder_name, dependencies=False):
          """
          Yield the list of paths to the artifacts in the order of the
          dependency resolution
  
          Arguments:
  
          package_names
              The names of the packages to probe the dependency graph, to
              be provided as a list of strings.
          artifact_name
              The exact name of the artifact.
          dependencies
              Trace dependencies.  Default is off.
  
          Returns the path of where the artifact should be if it has been
          declared, otherwise None.
          """
  
          paths = self.compat_builders.get(builder_name)
          if not paths:
              # perhaps warn, but just return
              return
  
          resolver = (
              # traces dependencies for distribution.
              find_packages_requirements_dists
              if dependencies else
              # just get grabs the distribution.
              pkg_names_to_dists
          )
          for distribution in resolver(package_names):
              path = paths.get(distribution.project_name)
              if path:
                  yield path