def METHOD_NAME(self):
    # Prefer self.requires method instead of requires attribute
    # Direct dependencies of header only libs are always transitive since they are included in public headers
    self.requires("dependency/0.8.1", transitive_headers=True)