Work around crumbling python2 support. (#1263)

This commit is contained in:
Jason Robbins 2021-04-12 18:18:29 -07:00 коммит произвёл GitHub
Родитель 0c1e93f6eb
Коммит b495597a77
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -16,7 +16,7 @@ Chrome Platform Status
1. pip, node, npm.
1. Gulp `npm install -g gulp`
1. Install npm dependencies `npm ci`
1. Install other dependencies `npm run deps`
1. Install other dependencies `npm run deps` and `npm run dev-deps`
##### Add env_vars.yaml
@ -61,6 +61,8 @@ There are some developing information in developer-documentation.md.
**Notes**
- If you get an error saying `No module named protobuf`, try installing it locally with `python -m pip install protobuf`.
- Locally, the `/feature` list pulls from prod (https://www.chromestatus.com/features.json). Opening one of the features will 404 because the entry is not actually in the local db. If you want to test local entries, go to `http://127.0.0.1:8080/` instead of `localhost` to use local data.
- When installing the GAE SDK, make sure to get the version for python 2.7. It is no longer the default version.

Просмотреть файл

@ -9,7 +9,7 @@
"scripts": {
"deps": "pip install -t lib -r requirements.txt --upgrade",
"travis-deps": "pip install -t lib -r requirements.travis.txt --upgrade",
"dev-deps": "pip install -r requirements.dev.txt --upgrade",
"dev-deps": "python -m pip install --no-deps -r requirements.dev.txt",
"test": "python -m unittest discover -p '*_test.py' -b",
"coverage": "python -m pip install --no-deps -r requirements.dev.txt && python -m coverage erase && python -m coverage run -m unittest discover -p '*_test.py' -b && python -m coverage html",
"lint": "gulp lint-fix && lit-analyzer \"static/elements/chromedash-!(featurelist)*.js\"",