Skip to content

Commit 57a5c7e

Browse files
committed
Update Python dependency specs for IDF
1 parent d71e4d0 commit 57a5c7e

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

builder/frameworks/espidf.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1277,14 +1277,17 @@ def _get_installed_pip_packages(python_exe_path):
12771277
# https://github.com/platformio/platformio-core/issues/4614
12781278
"urllib3": "<2",
12791279
# https://github.com/platformio/platform-espressif32/issues/635
1280-
"cryptography": "~=41.0.1" if IDF5 else ">=2.1.4,<35.0.0",
1281-
"future": ">=0.18.3",
1280+
"cryptography": "~=44.0.0" if IDF5 else ">=2.1.4,<35.0.0",
12821281
"pyparsing": ">=3.1.0,<4" if IDF5 else ">=2.0.3,<2.4.0",
1283-
"kconfiglib": "~=14.1.0" if IDF5 else "~=13.7.1",
12841282
"idf-component-manager": "~=1.5.2" if IDF5 else "~=1.0",
1285-
"esp-idf-kconfig": ">=1.4.2,<2.0.0"
1283+
"esp-idf-kconfig": "~=2.5.0"
12861284
}
12871285

1286+
if not IDF5:
1287+
deps["kconfiglib"] = "~=13.7.1"
1288+
deps["future"] = ">=0.18.3"
1289+
deps["esp-idf-kconfig"] = ">=1.4.2,<2.0.0"
1290+
12881291
if sys_platform.system() == "Darwin" and "arm" in sys_platform.machine().lower():
12891292
deps["chardet"] = ">=3.0.2,<4"
12901293

0 commit comments

Comments
 (0)