Repository navigation
Closed
Labels
Description
Description:
Locally running fix_format in Docker container fails. I think the failing tool is the the last check to be run so the issue doesn't affect running the other formatting tools.
Repro steps:
$ ./ci/run_envoy_docker.sh './ci/do_ci.sh fix_format'
No remote cache bucket is set, skipping setup remote cache.
ENVOY_SRCDIR=/source
building using 20 CPUs
fix_format...
Installing requirements...
Collecting flake8==3.6.0 (from -r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/34/a6/49e2849a0e5464e1b5d621f63bc8453066f0f367bb3b744a33fca0bc1ddd/flake8-3.6.0-py2.py3-none-any.whl (68kB)
100% |################################| 71kB 182kB/s
Collecting yapf==0.25.0 (from -r requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/c7/89/f7167b0479c5283c4934d8fc3d39a28d85ea2cbd156724a772fce3894faa/yapf-0.25.0-py2.py3-none-any.whl (169kB)
100% |################################| 174kB 366kB/s
Collecting configparser; python_version < "3.2" (from flake8==3.6.0->-r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/ba/05/6c96328e92e625fc31445d24d75a2c92ef9ba34fc5b037fe69693c362a0d/configparser-3.7.4-py2.py3-none-any.whl
Collecting pyflakes<2.1.0,>=2.0.0 (from flake8==3.6.0->-r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/44/98/af7a72c9a543b1487d92813c648cb9b9adfbc96faef5455d60f4439aa99b/pyflakes-2.0.0-py2.py3-none-any.whl (53kB)
100% |################################| 61kB 613kB/s
Collecting mccabe<0.7.0,>=0.6.0 (from flake8==3.6.0->-r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/87/89/479dc97e18549e21354893e4ee4ef36db1d237534982482c3681ee6e7b57/mccabe-0.6.1-py2.py3-none-any.whl
Collecting enum34; python_version < "3.4" (from flake8==3.6.0->-r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl
Collecting pycodestyle<2.5.0,>=2.4.0 (from flake8==3.6.0->-r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/e5/c6/ce130213489969aa58610042dff1d908c25c731c9575af6935c2dfad03aa/pycodestyle-2.4.0-py2.py3-none-any.whl (62kB)
100% |################################| 71kB 514kB/s
Collecting setuptools>=30 (from flake8==3.6.0->-r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/ec/51/f45cea425fd5cb0b0380f5b0f048ebc1da5b417e48d304838c02d6288a1e/setuptools-41.0.1-py2.py3-none-any.whl (575kB)
100% |################################| 583kB 593kB/s
Installing collected packages: configparser, pyflakes, mccabe, enum34, pycodestyle, setuptools, flake8, yapf
Successfully installed configparser enum34 flake8 mccabe pycodestyle pyflakes setuptools-20.7.0 yapf
You are using pip version 8.1.1, however version 19.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Running Python format check...
Successfully fixed 56 files
Running Python3 flake8 check...
./tools/format_python_tools.sh: line 18: flake8: command not found
Activity
Run flake8 on Python instead of legacy Python (#7388)
stale commentedon Jul 19, 2019
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions.
stale commentedon Jul 26, 2019
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions.