<commit_before>description = "Unified builder all Python runtimes"

[[buildpacks]]
  id = "google.config.entrypoint"
  uri = "entrypoint.tgz"

[[buildpacks]]
  id = "google.python.appengine"
  uri = "appengine.tgz"

[[buildpacks]]
  id = "google.python.functions-framework"
  uri = "functions_framework.tgz"

[[buildpacks]]
  id = "google.python.functions-framework-compat"
  uri = "functions_framework_compat.tgz"

[[buildpacks]]
  id = "google.python.missing-entrypoint"
  uri = "missing_entrypoint.tgz"

[[buildpacks]]
  id = "google.python.pip"
  uri = "pip.tgz"

[[buildpacks]]
  id = "google.python.runtime"
  uri = "runtime.tgz"

[[buildpacks]]
  id = "google.python.webserver"
  uri = "webserver.tgz"

[[buildpacks]]
  id = "google.utils.archive-source"
  uri = "archive_source.tgz"

[[buildpacks]]
  id = "google.utils.label"
  uri = "label.tgz"

[[buildpacks]]
  id = "google.python.link-runtime"
  uri = "link_runtime.tgz"

# Python functions (gcf and gcp).
[[order]]

  # gcf only
  [[order.group]]
    id = "google.utils.archive-source"
    optional = true

  [[order.group]]
    id = "google.python.runtime"

  [[order.group]]
    id = "google.python.functions-framework"

  # gcf and python37 only
  [[order.group]]
    id = "google.python.functions-framework-compat"
    optional = true

  [[order.group]]
    id = "google.python.pip"
    optional = true

  [[order.group]]
    id = "google.utils.label"

  [[order.group]]
    id = "google.python.link-runtime"
    optional = true

# Python applications (gae)
[[order]]
  [[order.group]]
    id = "google.python.webserver"
    optional = true

   [[order.group]]
    id = "google.python.runtime"

   [[order.group]]
    id = "google.python.pip"
    optional = true

  [[order.group]]
    id = "google.python.appengine"

  [[order.group]]
    id = "google.utils.label"

  [[order.group]]
    id = "google.python.link-runtime"
    optional = true


# Python applications (gcp)
[[order]]
  [[order.group]]
    id = "google.python.runtime"

  [[order.group]]
    id = "google.python.pip"
    optional = true

  # Entrypoint buildpack is required because it cannot be easily inferred.
  [[order.group]]
    id = "google.config.entrypoint"

  [[order.group]]
    id = "google.utils.label"

# gcp only
# This buildpack group will always fail but with a clear message that the
# entrypoint is missing. It must be the last group otherwise projects with
# a single .py file and no entrypoint will fail
[[order]]
  [[order.group]]
    id = "google.python.missing-entrypoint"

[stack]
  id = "google.gae.18"
  build-image = "gcr.io/gae-runtimes/buildpacks/stacks/google-gae-18/build"
  run-image = "gcr.io/gae-runtimes/buildpacks/stacks/google-gae-18/run"

[lifecycle]
  version = "0.13.3"
<commit_msg>Correct order of buildpacks for python unified builder.<commit_after>description = "Unified builder all Python runtimes"

[[buildpacks]]
  id = "google.config.entrypoint"
  uri = "entrypoint.tgz"

[[buildpacks]]
  id = "google.python.appengine"
  uri = "appengine.tgz"

[[buildpacks]]
  id = "google.python.functions-framework-compat"
  uri = "functions_framework_compat.tgz"

[[buildpacks]]
  id = "google.python.functions-framework"
  uri = "functions_framework.tgz"

[[buildpacks]]
  id = "google.python.missing-entrypoint"
  uri = "missing_entrypoint.tgz"

[[buildpacks]]
  id = "google.python.pip"
  uri = "pip.tgz"

[[buildpacks]]
  id = "google.python.runtime"
  uri = "runtime.tgz"

[[buildpacks]]
  id = "google.python.webserver"
  uri = "webserver.tgz"

[[buildpacks]]
  id = "google.utils.archive-source"
  uri = "archive_source.tgz"

[[buildpacks]]
  id = "google.utils.label"
  uri = "label.tgz"

[[buildpacks]]
  id = "google.python.link-runtime"
  uri = "link_runtime.tgz"

# Python functions (gcf and gcp).
[[order]]

  # gcf only
  [[order.group]]
    id = "google.utils.archive-source"
    optional = true

  [[order.group]]
    id = "google.python.runtime"

  [[order.group]]
    id = "google.python.functions-framework"

  # gcf and python37 only
  [[order.group]]
    id = "google.python.functions-framework-compat"
    optional = true

  [[order.group]]
    id = "google.python.pip"
    optional = true

  [[order.group]]
    id = "google.utils.label"

  [[order.group]]
    id = "google.python.link-runtime"
    optional = true

# Python applications (gae)
[[order]]
  [[order.group]]
    id = "google.python.webserver"
    optional = true

   [[order.group]]
    id = "google.python.runtime"

   [[order.group]]
    id = "google.python.pip"
    optional = true

  [[order.group]]
    id = "google.python.appengine"

  [[order.group]]
    id = "google.utils.label"

  [[order.group]]
    id = "google.python.link-runtime"
    optional = true


# Python applications (gcp)
[[order]]
  [[order.group]]
    id = "google.python.runtime"

  [[order.group]]
    id = "google.python.pip"
    optional = true

  # Entrypoint buildpack is required because it cannot be easily inferred.
  [[order.group]]
    id = "google.config.entrypoint"

  [[order.group]]
    id = "google.utils.label"

# gcp only
# This buildpack group will always fail but with a clear message that the
# entrypoint is missing. It must be the last group otherwise projects with
# a single .py file and no entrypoint will fail
[[order]]
  [[order.group]]
    id = "google.python.missing-entrypoint"

[stack]
  id = "google.gae.18"
  build-image = "gcr.io/gae-runtimes/buildpacks/stacks/google-gae-18/build"
  run-image = "gcr.io/gae-runtimes/buildpacks/stacks/google-gae-18/run"

[lifecycle]
  version = "0.13.3"

{'fraction_non_alphanumeric': 0.15358300324090746, 'fraction_numerical': 0.004321209938782859, 'mean_word_length': 3.363707776904949, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7292133', 'n_tokens_mistral': 2018, 'n_tokens_neox': 1923, 'n_words': 425}