code: def pip_tags(python_version, mamba_platform):
      # Returns a list of pip tags containing (implementation, platforms, abis) tuples
      # assuming a CPython implementation for Python interpreter.
  
      # Inspired by https://github.com/pypa/pip/blob/0442875a68f19b0118b0b88c747bdaf6b24853ba/src/pip/_internal/utils/compatibility_tags.py
      py_version = tuple(map(int, python_version.split(".")[:2]))
      if mamba_platform == "linux-64":
          platforms = [
              "manylinux%s_x86_64" % s
              for s in (
                  "1",
                  "2010",
                  "2014",
                  "_2_17",
                  "_2_18",
                  "_2_19",
                  "_2_20",
                  "_2_21",
                  "_2_23",
                  "_2_24",
                  "_2_25",
                  "_2_26",
                  "_2_27",
              )
          ]
          platforms.append("linux_x86_64")
      elif mamba_platform == "osx-64":
          platforms = tags.mac_platforms(arch="x86_64")
      elif mamba_platform == "osx-arm64":
          platforms = tags.mac_platforms(arch="arm64")
      else:
          raise MetaflowException(
              "Unsupported platform: %s" % mamba_platform
          )
  
      interpreter = "cp%s" % ("".join(map(str, py_version)))
  
      abis = tags._cpython_abis(py_version)
  
      supported = []
      supported.extend(tags.cpython_tags(py_version, abis, platforms))
      supported.extend(
          tags.compatible_tags(py_version, interpreter, platforms)
      )
      return supported
  
file_path: metaflow/metaflow/plugins/pypi/utils.py
imports: import os
  import platform
  import sys
  from urllib.parse import unquote, urlparse
  from metaflow.exception import MetaflowException
label_desc: Use image node_id 3 for calling a global function with example usage: pip_tags(python_version, mamba_platform) and returns: supported