Python
Detection
Python applications are detected when the application contains a requirements.txt
, poetry.lock
, or Pipfile.lock
file in the root of your project directory.
Runtime
Currently, supported versions of Python are 3.13
, 3.12
, 3.11
, 3.10
, and 3.9
.
To specify the Python version to use, add a .python-version
file in the root of your project directory with one of the versions mentioned above. For example, to use Python 3.13, your .python-version
file must contain all three version number components (major, minor, and patch):
.python-version
3.13.0
If no version is specified, Python 3.13
will be used.