Skip to content

Commit 311a48c

Browse files
authored
Bump platformio to 6.0.2 (esphome#3566)
1 parent 01b3815 commit 311a48c

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

docker/Dockerfile

+1-3
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,10 @@ RUN \
4646
# Ubuntu python3-pip is missing wheel
4747
pip3 install --no-cache-dir \
4848
wheel==0.37.1 \
49-
platformio==5.2.5 \
49+
platformio==6.0.2 \
5050
# Change some platformio settings
5151
&& platformio settings set enable_telemetry No \
52-
&& platformio settings set check_libraries_interval 1000000 \
5352
&& platformio settings set check_platformio_interval 1000000 \
54-
&& platformio settings set check_platforms_interval 1000000 \
5553
&& mkdir -p /piolibs
5654

5755

esphome/platformio_api.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def patch_structhash():
2020
# removed/added. This might have unintended consequences, but this improves compile
2121
# times greatly when adding/removing components and a simple clean build solves
2222
# all issues
23-
from platformio.commands.run import helpers, command
23+
from platformio.run import helpers, cli
2424
from os.path import join, isdir, getmtime
2525
from os import makedirs
2626

@@ -39,7 +39,7 @@ def patched_clean_build_dir(build_dir, *args):
3939

4040
# pylint: disable=protected-access
4141
helpers.clean_build_dir = patched_clean_build_dir
42-
command.clean_build_dir = patched_clean_build_dir
42+
cli.clean_build_dir = patched_clean_build_dir
4343

4444

4545
IGNORE_LIB_WARNINGS = f"(?:{'|'.join(['Hash', 'Update'])})"

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ tornado==6.1
66
tzlocal==4.2 # from time
77
tzdata>=2021.1 # from time
88
pyserial==3.5
9-
platformio==5.2.5 # When updating platformio, also update Dockerfile
9+
platformio==6.0.2 # When updating platformio, also update Dockerfile
1010
esptool==3.3.1
1111
click==8.1.3
1212
esphome-dashboard==20220508.0

0 commit comments

Comments
 (0)