Deploy is building python from source but my site doesn't use python?

OK, I found the solution: https://answers.netlify.com/t/python-3-11-or-newer/84566/16

either

  • runtime.txt
    or
  • PYTHON_VERSION

containing the version number you want

  • 3.8

(3.8 seems to be the latest version of python available precompiled)

1 Like