Skip to content

Commit 86d2ed1

Browse files
lexus2kCopilot
andcommitted
Fix CI: pin setuptools<78 for ESP-IDF v4.3 compatibility
ESP-IDF v4.3 export.sh requires pkg_resources which was removed from setuptools>=78. Pin to a compatible version in the ESP32 Python virtual environment before running export.sh. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 5308eb7 commit 86d2ed1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ jobs:
9494
./.travis/setup_esp_build_env.sh travis
9595
- name: Building ESP32 code
9696
run: |
97+
~/.espressif/python_env/idf4.3_py3.10_env/bin/pip install "setuptools<78"
9798
. ~/esp/esp-idf/export.sh
9899
cd examples/esp32_idf/uart/tinyfd_loopback/components/tinyproto && ln -s ../../../../../../src && ln -s ../../../../../../component.mk
99100
cd ../.. && make defconfig

0 commit comments

Comments
 (0)