Skip to content
Snippets Groups Projects
Commit 889ced41 authored by Camillo Bruni's avatar Camillo Bruni Committed by V8 LUCI CQ
Browse files

[docs] Pytype now supports 3.11

Change-Id: I010a0f20fc388be247227eb4ffa7e5ce6ccea496
Reviewed-on: https://chromium-review.googlesource.com/c/crossbench/+/5947490


Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Auto-Submit: Camillo Bruni <cbruni@chromium.org>
Reviewed-by: default avatarFarid (Mojtaba) Faridzad <faridzad@google.com>
parent 5f73425d
No related branches found
No related tags found
No related merge requests found
......@@ -219,7 +219,7 @@ to setup the correct environment for testing and debugging.
```bash
# a) On debian:
sudo apt-get install python3.10 python3-poetry
# b) With python 3.8 to 3.10 installed already:
# b) With python 3.9 to 3.11 installed already:
pip3 install poetry
```
......@@ -235,11 +235,11 @@ python3 -c "import sysconfig; print(sysconfig.get_path('scripts'))";
Install the necessary dependencies from the lock file using poetry:
```bash
# Select the python version you want to use (3.8 to 3.10):
# Select the python version you want to use (3.9 to 3.10):
poetry env use 3.10
poetry install
# For python 3.11 you have to skip pytype support:
# For windows you have to skip pytype support:
poetry env use 3.11
poetry install --without=dev-pytype
```
......@@ -269,5 +269,5 @@ poetry run pytest --cov=crossbench --cov-report=html
Run [pytype](https://github.com/google/pytype) type checker:
```bash
poetry run pytype -j auto .
poetry run pytype -j auto .
```
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment