def METHOD_NAME(self):
    if Version(self.version) <= "0.5.11":
        # transitive_libs probably not strictly required, but it's impossible to write a robust test package
        # without it for conan v2 (we would have to required aws-c-common in test package, but we can't know
        # which version to require in test package)
        self.requires("aws-c-common/0.6.11", transitive_headers=True, transitive_libs=True)
    elif Version(self.version) <= "0.5.20":
        self.requires("aws-c-common/0.8.2", transitive_headers=True, transitive_libs=True)
    else:
        self.requires("aws-c-common/0.9.0", transitive_headers=True, transitive_libs=True)
    if self._needs_openssl:
        self.requires("openssl/[>=1.1 <4]")