code: def build_deps(self):  # setup_requires [tests_require, install_requires]
          
          build_requires = self.metadata['setup_requires']
  
          if self.has_test_suite:
              build_requires += self.metadata['tests_require'] + self.metadata[
                  'install_requires']
  
          if 'setuptools' not in build_requires:
              build_requires.append('setuptools')
          return sorted(self.name_convert_deps_list(deps_from_pyp_format(
              build_requires, runtime=False)))
docs: Same as runtime_deps, but build dependencies. Test and install
          requires are included if package contains test suite to prevent
          %check phase crashes because of missing dependencies
  
          Returns:
              list of build dependencies of the package