Only use _cpython_tags for CPython
Since the behavior for both of these functions is the same, there is no
behavior change here. This will let us simplify `_cpython_tags` a bit.
@@ -458,7 +458,10 @@ def get_supported(
if platform is not None:
platforms = _get_custom_platforms(platform, platform)
+ is_cpython = (impl or interpreter_name()) == "cp"
+ if is_cpython:
supported.extend(_cpython_tags(version, platform, impl, abi))
+ else:
supported.extend(_generic_tags(version, platform, impl, abi))
supported.extend(
compatible_tags(
