fdcavalcanti commented on PR #14267: URL: https://github.com/apache/nuttx/pull/14267#issuecomment-2413640715
> @fdcavalcanti The venv is already the latest version I think? I see this in the log below. Where is it picking up the `black` to be installed? (Very sorry I'm awful in Python) > > ``` > Run echo "::add-matcher::nuttx/.github/nxstyle.json" > echo "::add-matcher::nuttx/.github/nxstyle.json" > python -m venv .venv > source .venv/bin/activate > pip install cmake-format > cd nuttx > commits="8f3060ed5[2](https://github.com/apache/nuttx/actions/runs/11344800359/job/31550311398?pr=14267#step:3:2)2bcd143bb987a44ebd6ffd4da9a85c..HEAD" > git log --oneline $commits > echo "../nuttx/tools/checkpatch.sh -u -m -g $commits" > ../nuttx/tools/checkpatch.sh -u -m -g $commits > shell: /usr/bin/bash -e {0} > Collecting cmake-format > Downloading cmake_format-0.6.1[3](https://github.com/apache/nuttx/actions/runs/11344800359/job/31550311398?pr=14267#step:3:3)-py3-none-any.whl.metadata (23 kB) > Collecting cmakelang>=0.6.13 (from cmake-format) > Downloading cmakelang-0.6.13-py3-none-any.whl.metadata (23 kB) > Collecting six>=1.13.0 (from cmakelang>=0.6.13->cmake-format) > Downloading six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB) > Downloading cmake_format-0.6.13-py3-none-any.whl (19 kB) > Downloading cmakelang-0.6.13-py3-none-any.whl (159 kB) > ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 159.8/159.8 kB 11.7 MB/s eta 0:00:00 > Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) > Installing collected packages: six, cmakelang, cmake-format > Successfully installed cmake-format-0.6.13 cmakelang-0.6.13 six-1.16.0 > e[4](https://github.com/apache/nuttx/actions/runs/11344800359/job/31550311398?pr=14267#step:3:4)7908f1b1 Merge a9593597841d2ee0942cb[5](https://github.com/apache/nuttx/actions/runs/11344800359/job/31550311398?pr=14267#step:3:5)19f7b9242e2335657c into 8f30[6](https://github.com/apache/nuttx/actions/runs/11344800359/job/31550311398?pr=14267#step:3:6)0ed522bcd143bb98[7](https://github.com/apache/nuttx/actions/runs/11344800359/job/31550311398?pr=14267#step:3:7)a44ebd6ffd4da9a85c > a959359784 tools/espressif: add esptool version check to Espressif build system > ../nuttx/tools/checkpatch.sh -u -m -g [8](https://github.com/apache/nuttx/actions/runs/11344800359/job/31550311398?pr=14267#step:3:8)f3060ed522bcd143bb987a44ebd6ffd4da[9](https://github.com/apache/nuttx/actions/runs/11344800359/job/31550311398?pr=14267#step:3:9)a85c..HEAD > ../nuttx/tools/checkpatch.sh: line 86: black: command not found > ../nuttx/tools/checkpatch.sh: line 87: flake8: command not found > ../nuttx/tools/checkpatch.sh: line 88: isort: command not found > ``` > > https://github.com/apache/nuttx/actions/runs/11344800359/job/31550311398?pr=14267 Its only pip installing cmake (right after enabling the venv), need to also install black, isort, flake8. We can move this discussion elsewhere, if you prefer. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
