coelmay
September 16, 2022, 3:38am
2
Hi @rogerjbos
The blog post you linked to is from 2016.
Official documentation for managing Python dependencies is part of Netlify Docs
This documentation links to the currently available build images . The latest Focal (xenial is retiring ) uses Python version 3.8 by default as shown in the Included Software list
## Included Software: Focal
This is the **Focal** build image. It runs on Ubuntu version 20.04 (aka Focal Fossa), and includes the languages and software versions listed below.
For instructions on how to run this image locally to test your build, please see the [README](/README.md).
### Languages
The specific patch versions included will depend on when the image was last built (except Ruby). It is highly suggested you depend only on minor versions, so that we can ensure the language has the latest updates (especially if security related).
* Ruby - `RUBY_VERSION`, `.ruby-version`
* 2.7.2 (default)
* 2.6.6
* Any version 2.4.0 or later that `rvm` can install.
* Node.js - `NODE_VERSION`, `.nvmrc`, `.node-version`
* 16 (default)
* Any version that `nvm` can install.
* Python - `PYTHON_VERSION`, `runtime.txt`, `Pipfile`
* 3.8 (default)
* 2.7
This file has been truncated. show original