Skip to content

Commit

Permalink
Add functionality to skip installation of IDF's Python deps
Browse files Browse the repository at this point in the history
  • Loading branch information
valeros committed Mar 21, 2024
1 parent 62f67a6 commit 62697f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions builder/frameworks/espidf.py
Original file line number Diff line number Diff line change
Expand Up @@ -1109,6 +1109,10 @@ def _get_installed_pip_packages(python_exe_path):

return result

skip_python_packages = os.path.join(FRAMEWORK_DIR, ".pio_skip_pypackages")
if os.path.isfile(skip_python_packages):
return

deps = {
# https://github.com/platformio/platformio-core/issues/4614
"urllib3": "<2",
Expand Down

0 comments on commit 62697f2

Please sign in to comment.