0

Update docs to require Python 3.9

This CL updates the docs to refer to the current Python version(3.9).

Change-Id: I90ae6bb9701de759ab0ebade2142b3204202f18c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6428807
Commit-Queue: Peng Zhou <zhoupeng.1996@bytedance.com>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Cr-Commit-Position: refs/heads/main@{#1442399}
This commit is contained in:
zhoupeng
2025-04-03 13:45:00 -07:00
committed by Chromium LUCI CQ
parent 3013262949
commit 6ebd49dc9e
2 changed files with 7 additions and 6 deletions
docs/linux
styleguide/python

@ -17,8 +17,8 @@ Are you a Google employee? See
\>=32GB/>=16GB of swap for machines with 8GB/16GB of RAM respectively.
* At least 100GB of free disk space. It does not have to be on the same drive;
Allocate ~50-80GB on HDD for build.
* You must have Git and Python v3.8+ installed already (and `python3` must point
to a Python v3.8+ binary). Depot_tools bundles an appropriate version
* You must have Git and Python v3.9+ installed already (and `python3` must point
to a Python v3.9+ binary). Depot_tools bundles an appropriate version
of Python in `$depot_tools/python-bin`, if you don't have an appropriate
version already on your system.
* `libc++` is currently the only supported STL. `clang` is the only

@ -3,10 +3,11 @@
_For other languages, please see the [Chromium style
guides](https://chromium.googlesource.com/chromium/src/+/main/styleguide/styleguide.md)._
We currently require Python 3.8 (as in, that's what the bots use, so don't
assume or require anything older *or* newer), but most newer versions of
Python3 will work fine for most things. There is an appropriate version
of Python3 in `$depot_tools/python-bin`, if you don't have one already.
The minimum supported Python version is 3.9, we recommend using Python 3.11
(as in, that's what the bots use, so don't assume or require anything older
*or* newer), but most newer versions of Python3 will work fine for most
things. There is an appropriate version of Python3 in
`$depot_tools/python-bin`, if you don't have one already.
We (often) use a tool called [vpython] to manage Python packages; vpython
is a wrapper around virtualenv. However, it is not safe to use vpython