Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support building chip-tool with python3.12 #33242

Merged

Conversation

noahp
Copy link
Contributor

@noahp noahp commented Apr 30, 2024

This updates 2 python packages to versions compatible with python3.12, fixing the following errors when running
./scripts/examples/gn_build_example.sh examples/chip-tool BUILDFOLDER:

  1. pyyaml 6.0 build error: AttributeError: cython_sources, addressed here

  2. construct import error:

    File "/tmp/pip-install-ifgk4tul/construct_6d60304f85e249759f6c184ea89f1317/construct/core.py", line 3, in <module> import struct, io, binascii, itertools, collections, pickle, sys, os, tempfile, hashlib, importlib, imp ModuleNotFoundError: No module named 'imp'

    this was fixed here, in version v2.10.57 of construct. I'm just updating to latest though.

Now running ./scripts/examples/gn_build_example.sh examples/chip-tool BUILDFOLDER succeeds when the host python is python3.12.

Note

SiLabs patched their fork for prompt-toolkit (already upstreamed though):
https://github.com/SiliconLabs/matter/pull/147/files
Nordic's fork needs that patch too, they'll get it after upmerging.

Fixes #32589.

@CLAassistant
Copy link

CLAassistant commented Apr 30, 2024

CLA assistant check
All committers have signed the CLA.

@noahp noahp force-pushed the noahp/python3.12-build-chip-tool branch from 9dd9579 to 2312caf Compare April 30, 2024 17:36
@pullapprove pullapprove bot requested a review from kiel-apple April 30, 2024 17:36
Copy link

github-actions bot commented Apr 30, 2024

PR #33242: Size comparison from 1b9d971 to 2312caf

Decreases (2 builds for efr32)
platform target config section 1b9d971 2312caf change % change
efr32 lock-app BRD4338a (read/write) 961940 961932 -8 -0.0
.text 700064 700056 -8 -0.0
window-app BRD4187C (read/write) 1137384 1137376 -8 -0.0
.text 969428 969420 -8 -0.0
Full report (71 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink)
platform target config section 1b9d971 2312caf change % change
bl602 lighting-app bl602 (read/write) 1443986 1443986 0 0.0
.bss 85720 85720 0 0.0
.data 9512 9512 0 0.0
.rodata 159220 159220 0 0.0
.text 1108880 1108880 0 0.0
bl602+mfd (read/write) 1458410 1458410 0 0.0
.bss 85888 85888 0 0.0
.data 9488 9488 0 0.0
.rodata 158180 158180 0 0.0
.text 1124198 1124198 0 0.0
bl602+rpc (read/write) 1491634 1491634 0 0.0
.bss 93760 93760 0 0.0
.data 9888 9888 0 0.0
.rodata 166788 166788 0 0.0
.text 1140526 1140526 0 0.0
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1209663 1209663 0 0.0
.bss 11185 11185 0 0.0
.data 3704 3704 0 0.0
.rodata 108816 108816 0 0.0
.text 978996 978996 0 0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1220503 1220503 0 0.0
.bss 11361 11361 0 0.0
.data 3688 3688 0 0.0
.rodata 107756 107756 0 0.0
.text 990750 990750 0 0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1301151 1301151 0 0.0
.bss 19669 19669 0 0.0
.data 4248 4248 0 0.0
.rodata 124188 124188 0 0.0
.text 1053704 1053704 0 0.0
bl706-eth (read/write) 1026077 1026077 0 0.0
.bss 23760 23760 0 0.0
.data 3256 3256 0 0.0
.rodata 101904 101904 0 0.0
.text 768852 768852 0 0.0
bl706-wifi (read/write) 1261522 1261522 0 0.0
.bss 10645 10645 0 0.0
.data 3704 3704 0 0.0
.rodata 122904 122904 0 0.0
.text 1001526 1001526 0 0.0
bl702l lighting-app bl702l (read only) 512 512 0 0.0
(read/write) 1179004 1179004 0 0.0
.bss 16396 16396 0 0.0
.data 5072 5072 0 0.0
.rodata 102820 102820 0 0.0
.text 971850 971850 0 0.0
bl702l+mfd (read/write) 1190912 1190912 0 0.0
.bss 16572 16572 0 0.0
.data 5048 5048 0 0.0
.rodata 101760 101760 0 0.0
.text 984172 984172 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 784604 784604 0 0.0
(read/write) 176660 176660 0 0.0
.bss 98604 98604 0 0.0
.data 3588 3588 0 0.0
.rodata 83092 83092 0 0.0
.text 701248 701248 0 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 800420 800420 0 0.0
(read/write) 187148 187148 0 0.0
.bss 109092 109092 0 0.0
.data 3588 3588 0 0.0
.rodata 77084 77084 0 0.0
.text 723068 723068 0 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 789180 789180 0 0.0
(read/write) 181268 181268 0 0.0
.bss 103212 103212 0 0.0
.data 3588 3588 0 0.0
.rodata 103996 103996 0 0.0
.text 684920 684920 0 0.0
pump-app LP_EM_CC1354P10_6 (read only) 741484 741484 0 0.0
(read/write) 175636 175636 0 0.0
.bss 97344 97344 0 0.0
.data 3580 3580 0 0.0
.rodata 78756 78756 0 0.0
.text 662464 662464 0 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 727156 727156 0 0.0
(read/write) 175844 175844 0 0.0
.bss 97568 97568 0 0.0
.data 3572 3572 0 0.0
.rodata 74540 74540 0 0.0
.text 652352 652352 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 588998 588998 0 0.0
(read/write) 208372 208372 0 0.0
.bss 201596 201596 0 0.0
.data 1652 1652 0 0.0
.rodata 87654 87654 0 0.0
.text 499224 499224 0 0.0
lock CC3235SF_LAUNCHXL (read only) 634894 634894 0 0.0
(read/write) 208636 208636 0 0.0
.bss 202000 202000 0 0.0
.data 1516 1516 0 0.0
.rodata 108414 108414 0 0.0
.text 524356 524356 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 571279 571279 0 0.0
.app_xip_area 461189 461189 0 0.0
.bss 64908 64908 0 0.0
.data 760 760 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 553383 553383 0 0.0
.app_xip_area 438621 438621 0 0.0
.bss 69572 69572 0 0.0
.data 768 768 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 573983 573983 0 0.0
.app_xip_area 465389 465389 0 0.0
.bss 63452 63452 0 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 566527 566527 0 0.0
.app_xip_area 454749 454749 0 0.0
.bss 66556 66556 0 0.0
.data 800 800 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4187C (read/write) 1070548 1070548 0 0.0
.bss 180008 180008 0 0.0
.data 3432 3432 0 0.0
.text 887088 887088 0 0.0
lock-app BRD4338a (read/write) 961940 961932 -8 -0.0
.bss 213064 213064 0 0.0
.data 29448 29448 0 0.0
.text 700064 700056 -8 -0.0
window-app BRD4187C (read/write) 1137384 1137376 -8 -0.0
.bss 164600 164600 0 0.0
.data 3336 3336 0 0.0
.text 969428 969420 -8 -0.0
esp32 all-clusters-app c3devkit (read only) 1214806 1214806 0 0.0
(read/write) 1751288 1751288 0 0.0
.dram0.bss 74568 74568 0 0.0
.dram0.data 13652 13652 0 0.0
.flash.rodata 253528 253528 0 0.0
.flash.text 1214806 1214806 0 0.0
.iram0.text 75570 75570 0 0.0
m5stack (read only) 1256619 1256619 0 0.0
(read/write) 537684 537684 0 0.0
.dram0.bss 81320 81320 0 0.0
.dram0.data 35196 35196 0 0.0
.flash.rodata 285248 285248 0 0.0
.flash.text 1250455 1250455 0 0.0
.iram0.text 125403 125403 0 0.0
linux air-purifier-app debug (read only) 2658629 2658629 0 0.0
(read/write) 130384 130384 0 0.0
.bss 47016 47016 0 0.0
.data 2272 2272 0 0.0
.data.rel.ro 75160 75160 0 0.0
.dynamic 608 608 0 0.0
.got 4520 4520 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 184336 184336 0 0.0
.text 2295013 2295013 0 0.0
all-clusters-app debug (read only) 5971705 5971705 0 0.0
(read/write) 481992 481992 0 0.0
.bss 135296 135296 0 0.0
.data 4560 4560 0 0.0
.data.rel.ro 334712 334712 0 0.0
.dynamic 624 624 0 0.0
.got 5328 5328 0 0.0
.init 27 27 0 0.0
.init_array 1440 1440 0 0.0
.rodata 350736 350736 0 0.0
.text 5185539 5185539 0 0.0
all-clusters-minimal-app debug (read only) 5255841 5255841 0 0.0
(read/write) 238008 238008 0 0.0
.bss 128160 128160 0 0.0
.data 4464 4464 0 0.0
.data.rel.ro 98296 98296 0 0.0
.dynamic 624 624 0 0.0
.got 5248 5248 0 0.0
.init 27 27 0 0.0
.init_array 1168 1168 0 0.0
.rodata 289930 289930 0 0.0
.text 4729139 4729139 0 0.0
bridge-app debug (read only) 4646473 4646473 0 0.0
(read/write) 218888 218888 0 0.0
.bss 118688 118688 0 0.0
.data 6240 6240 0 0.0
.data.rel.ro 87248 87248 0 0.0
.dynamic 624 624 0 0.0
.got 5216 5216 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 230378 230378 0 0.0
.text 4193747 4193747 0 0.0
chip-tool debug (read only) 12112177 12112177 0 0.0
(read/write) 523456 523456 0 0.0
.bss 95032 95032 0 0.0
.data 5122 5122 0 0.0
.data.rel.ro 416064 416064 0 0.0
.dynamic 624 624 0 0.0
.got 5736 5736 0 0.0
.init 27 27 0 0.0
.init_array 832 832 0 0.0
.rodata 451481 451481 0 0.0
.text 10952099 10952099 0 0.0
chip-tool-ipv6only arm64 (read only) 11445140 11445140 0 0.0
(read/write) 587352 587352 0 0.0
.bss 104008 104008 0 0.0
.data 4520 4520 0 0.0
.data.rel.ro 456016 456016 0 0.0
.dynamic 512 512 0 0.0
.got 17104 17104 0 0.0
.init 24 24 0 0.0
.init_array 280 280 0 0.0
.rodata 356340 356340 0 0.0
.text 10206904 10206904 0 0.0
lighting-app debug+rpc+ui (read only) 5569449 5569449 0 0.0
(read/write) 227656 227656 0 0.0
.bss 119632 119632 0 0.0
.data 4896 4896 0 0.0
.data.rel.ro 95616 95616 0 0.0
.dynamic 672 672 0 0.0
.got 5856 5856 0 0.0
.init 27 27 0 0.0
.init_array 976 976 0 0.0
.rodata 354196 354196 0 0.0
.text 4966515 4966515 0 0.0
lock-app debug (read only) 4713521 4713521 0 0.0
(read/write) 206112 206112 0 0.0
.bss 113960 113960 0 0.0
.data 4192 4192 0 0.0
.data.rel.ro 81256 81256 0 0.0
.dynamic 624 624 0 0.0
.got 5168 5168 0 0.0
.init 27 27 0 0.0
.init_array 880 880 0 0.0
.rodata 256298 256298 0 0.0
.text 4243939 4243939 0 0.0
ota-provider-app debug (read only) 4321377 4321377 0 0.0
(read/write) 194616 194616 0 0.0
.bss 113760 113760 0 0.0
.data 4368 4368 0 0.0
.data.rel.ro 70544 70544 0 0.0
.dynamic 624 624 0 0.0
.got 4536 4536 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 209130 209130 0 0.0
.text 3917475 3917475 0 0.0
ota-requestor-app debug (read only) 4452097 4452097 0 0.0
(read/write) 198984 198984 0 0.0
.bss 114656 114656 0 0.0
.data 4768 4768 0 0.0
.data.rel.ro 73648 73648 0 0.0
.dynamic 624 624 0 0.0
.got 4472 4472 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 215242 215242 0 0.0
.text 4037539 4037539 0 0.0
shell debug (read only) 2943049 2943049 0 0.0
(read/write) 157424 157424 0 0.0
.bss 62800 62800 0 0.0
.data 1424 1424 0 0.0
.data.rel.ro 87400 87400 0 0.0
.dynamic 592 592 0 0.0
.got 4056 4056 0 0.0
.init 27 27 0 0.0
.init_array 1112 1112 0 0.0
.rodata 187616 187616 0 0.0
.text 2580034 2580034 0 0.0
thermostat-no-ble arm64 (read only) 4445804 4445804 0 0.0
(read/write) 246280 246280 0 0.0
.bss 122264 122264 0 0.0
.data 3408 3408 0 0.0
.data.rel.ro 104520 104520 0 0.0
.dynamic 512 512 0 0.0
.got 8720 8720 0 0.0
.init 24 24 0 0.0
.init_array 448 448 0 0.0
.rodata 160436 160436 0 0.0
.text 3948248 3948248 0 0.0
tv-app debug (read only) 5790593 5790593 0 0.0
(read/write) 353816 353816 0 0.0
.bss 244528 244528 0 0.0
.data 6560 6560 0 0.0
.data.rel.ro 95432 95432 0 0.0
.dynamic 624 624 0 0.0
.got 5464 5464 0 0.0
.init 27 27 0 0.0
.init_array 1184 1184 0 0.0
.rodata 295178 295178 0 0.0
.text 5251347 5251347 0 0.0
tv-casting-app debug (read only) 9929121 9929121 0 0.0
(read/write) 343616 343616 0 0.0
.bss 158744 158744 0 0.0
.data 3008 3008 0 0.0
.data.rel.ro 174960 174960 0 0.0
.dynamic 624 624 0 0.0
.got 5040 5040 0 0.0
.init 27 27 0 0.0
.init_array 1216 1216 0 0.0
.rodata 384632 384632 0 0.0
.text 9077299 9077299 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2536504 2536504 0 0.0
.bss 220744 220744 0 0.0
.data 5216 5216 0 0.0
.text 1499188 1499188 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1060040 1060040 0 0.0
bss 139123 139123 0 0.0
rodata 101560 101560 0 0.0
text 772132 772132 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1237280 1237280 0 0.0
bss 137395 137395 0 0.0
rodata 151392 151392 0 0.0
text 798456 798456 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1007872 1007872 0 0.0
bss 138029 138029 0 0.0
rodata 88824 88824 0 0.0
text 733736 733736 0 0.0
nxp contact k32w0+release (read only) 576252 576252 0 0.0
(read/write) 83140 83140 0 0.0
.bss 67856 67856 0 0.0
.data 2188 2188 0 0.0
.text 575716 575716 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 703684 703684 0 0.0
.bss 71200 71200 0 0.0
.data 2864 2864 0 0.0
.text 590240 590240 0 0.0
light k32w0+release (read only) 610280 610280 0 0.0
(read/write) 82600 82600 0 0.0
.bss 67296 67296 0 0.0
.data 2208 2208 0 0.0
.text 609744 609744 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 795552 795552 0 0.0
.bss 80736 80736 0 0.0
.data 2064 2064 0 0.0
.text 673384 673384 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 832056 832056 0 0.0
(read/write) 1807740 1807740 0 0.0
.bss 198540 198540 0 0.0
.data 2744 2744 0 0.0
.text 1598068 1598068 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 835152 835152 0 0.0
(read/write) 1729076 1729076 0 0.0
.bss 195468 195468 0 0.0
.data 2720 2720 0 0.0
.text 1522500 1522500 0 0.0
light cy8ckit_062s2_43012 (read only) 841872 841872 0 0.0
(read/write) 1647548 1647548 0 0.0
.bss 188932 188932 0 0.0
.data 2536 2536 0 0.0
.text 1447692 1447692 0 0.0
lock cy8ckit_062s2_43012 (read only) 814808 814808 0 0.0
(read/write) 1676228 1676228 0 0.0
.bss 216012 216012 0 0.0
.data 2520 2520 0 0.0
.text 1449308 1449308 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1133900 1133900 0 0.0
.bss 102620 102620 0 0.0
.data 856 856 0 0.0
.text 646280 646280 0 0.0
lock-app qpg6105+debug (read/write) 1093740 1093740 0 0.0
.bss 97292 97292 0 0.0
.data 860 860 0 0.0
.text 606124 606124 0 0.0
stm32 light STM32WB5MM-DK (read/write) 605513 605513 0 0.0
.bss 128468 128468 0 0.0
.data 688 688 0 0.0
.rodata 80532 80532 0 0.0
.text 386080 386080 0 0.0
telink air-quality-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 833778 833778 0 0.0
bss 49852 49852 0 0.0
text 624452 624452 0 0.0
all-clusters-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 1096104 1096104 0 0.0
bss 101520 101520 0 0.0
text 797114 797114 0 0.0
all-clusters-minimal-app tlsr9528a (read only) 47960 47960 0 0.0
(read/write) 1058620 1058620 0 0.0
bss 110016 110016 0 0.0
text 772476 772476 0 0.0
bridge-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 914268 914268 0 0.0
bss 92772 92772 0 0.0
text 656084 656084 0 0.0
contact-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 836130 836130 0 0.0
bss 49896 49896 0 0.0
text 626872 626872 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a (read only) 51584 51584 0 0.0
(read/write) 936896 936896 0 0.0
bss 77508 77508 0 0.0
text 703478 703478 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d (read only) 29122 29122 0 0.0
(read/write) 1090660 1090660 0 0.0
bss 99864 99864 0 0.0
text 794066 794066 0 0.0
lock-app-dfu tlsr9528a (read only) 51584 51584 0 0.0
(read/write) 911248 911248 0 0.0
bss 69176 69176 0 0.0
text 660272 660272 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 933064 933064 0 0.0
bss 92476 92476 0 0.0
text 675066 675066 0 0.0
pump-app tlsr9258a (read only) 52490 52490 0 0.0
(read/write) 833688 833688 0 0.0
bss 58140 58140 0 0.0
text 623874 623874 0 0.0
pump-controller-app tlsr9518adk80d (read only) 31872 31872 0 0.0
(read/write) 799808 799808 0 0.0
bss 56068 56068 0 0.0
text 598776 598776 0 0.0
shell tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 676092 676092 0 0.0
bss 73452 73452 0 0.0
text 461766 461766 0 0.0
smoke_co_alarm-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 843982 843982 0 0.0
bss 51524 51524 0 0.0
text 633528 633528 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d (read only) 32220 32220 0 0.0
(read/write) 858649 858649 0 0.0
bss 59692 59692 0 0.0
text 642318 642318 0 0.0
thermostat tlsr9518adk80d (read only) 31872 31872 0 0.0
(read/write) 825364 825364 0 0.0
bss 56400 56400 0 0.0
text 618338 618338 0 0.0
window-covering tlsr9258a (read only) 52490 52490 0 0.0
(read/write) 838392 838392 0 0.0
bss 58356 58356 0 0.0
text 626148 626148 0 0.0

This updates 2 python packages to versions compatible with python3.12,
fixing the following errors when running
`./scripts/examples/gn_build_example.sh examples/chip-tool BUILDFOLDER`:

1. `pyyaml` 6.0 build error: `AttributeError: cython_sources`, fixed
   [here](yaml/pyyaml#702)
2. `construct` import error:

   ```
           File "/tmp/pip-install-ifgk4tul/construct_6d60304f85e249759f6c184ea89f1317/construct/core.py", line 3, in <module>
          import struct, io, binascii, itertools, collections, pickle, sys, os, tempfile, hashlib, importlib, imp
      ModuleNotFoundError: No module named 'imp'
   ```

   this was fixed
   [here](construct/construct@91cc0c6),
   in version `v2.10.57` of `construct`. I'm just
   updating to latest though.

Now running `./scripts/examples/gn_build_example.sh examples/chip-tool
BUILDFOLDER` succeeds when the host python is python3.12.
@noahp noahp force-pushed the noahp/python3.12-build-chip-tool branch from 2312caf to fd892a0 Compare April 30, 2024 19:33
Copy link

github-actions bot commented Apr 30, 2024

PR #33242: Size comparison from 3062e91 to fd892a0

Decreases (2 builds for efr32)
platform target config section 3062e91 fd892a0 change % change
efr32 lock-app BRD4338a (read/write) 961940 961932 -8 -0.0
.text 700064 700056 -8 -0.0
window-app BRD4187C (read/write) 1137384 1137376 -8 -0.0
.text 969428 969420 -8 -0.0
Full report (71 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink)
platform target config section 3062e91 fd892a0 change % change
bl602 lighting-app bl602 (read/write) 1443986 1443986 0 0.0
.bss 85720 85720 0 0.0
.data 9512 9512 0 0.0
.rodata 159220 159220 0 0.0
.text 1108880 1108880 0 0.0
bl602+mfd (read/write) 1458410 1458410 0 0.0
.bss 85888 85888 0 0.0
.data 9488 9488 0 0.0
.rodata 158180 158180 0 0.0
.text 1124198 1124198 0 0.0
bl602+rpc (read/write) 1491634 1491634 0 0.0
.bss 93760 93760 0 0.0
.data 9888 9888 0 0.0
.rodata 166788 166788 0 0.0
.text 1140526 1140526 0 0.0
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1209663 1209663 0 0.0
.bss 11185 11185 0 0.0
.data 3704 3704 0 0.0
.rodata 108816 108816 0 0.0
.text 978996 978996 0 0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1220503 1220503 0 0.0
.bss 11361 11361 0 0.0
.data 3688 3688 0 0.0
.rodata 107756 107756 0 0.0
.text 990750 990750 0 0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1301151 1301151 0 0.0
.bss 19669 19669 0 0.0
.data 4248 4248 0 0.0
.rodata 124188 124188 0 0.0
.text 1053704 1053704 0 0.0
bl706-eth (read/write) 1026077 1026077 0 0.0
.bss 23760 23760 0 0.0
.data 3256 3256 0 0.0
.rodata 101904 101904 0 0.0
.text 768852 768852 0 0.0
bl706-wifi (read/write) 1261522 1261522 0 0.0
.bss 10645 10645 0 0.0
.data 3704 3704 0 0.0
.rodata 122904 122904 0 0.0
.text 1001526 1001526 0 0.0
bl702l lighting-app bl702l (read only) 512 512 0 0.0
(read/write) 1179004 1179004 0 0.0
.bss 16396 16396 0 0.0
.data 5072 5072 0 0.0
.rodata 102820 102820 0 0.0
.text 971850 971850 0 0.0
bl702l+mfd (read/write) 1190912 1190912 0 0.0
.bss 16572 16572 0 0.0
.data 5048 5048 0 0.0
.rodata 101760 101760 0 0.0
.text 984172 984172 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 784604 784604 0 0.0
(read/write) 176660 176660 0 0.0
.bss 98604 98604 0 0.0
.data 3588 3588 0 0.0
.rodata 83092 83092 0 0.0
.text 701248 701248 0 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 800420 800420 0 0.0
(read/write) 187148 187148 0 0.0
.bss 109092 109092 0 0.0
.data 3588 3588 0 0.0
.rodata 77084 77084 0 0.0
.text 723068 723068 0 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 789180 789180 0 0.0
(read/write) 181268 181268 0 0.0
.bss 103212 103212 0 0.0
.data 3588 3588 0 0.0
.rodata 103996 103996 0 0.0
.text 684920 684920 0 0.0
pump-app LP_EM_CC1354P10_6 (read only) 741484 741484 0 0.0
(read/write) 175636 175636 0 0.0
.bss 97344 97344 0 0.0
.data 3580 3580 0 0.0
.rodata 78756 78756 0 0.0
.text 662464 662464 0 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 727156 727156 0 0.0
(read/write) 175844 175844 0 0.0
.bss 97568 97568 0 0.0
.data 3572 3572 0 0.0
.rodata 74540 74540 0 0.0
.text 652352 652352 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 588998 588998 0 0.0
(read/write) 208372 208372 0 0.0
.bss 201596 201596 0 0.0
.data 1652 1652 0 0.0
.rodata 87654 87654 0 0.0
.text 499224 499224 0 0.0
lock CC3235SF_LAUNCHXL (read only) 634894 634894 0 0.0
(read/write) 208636 208636 0 0.0
.bss 202000 202000 0 0.0
.data 1516 1516 0 0.0
.rodata 108414 108414 0 0.0
.text 524356 524356 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 571279 571279 0 0.0
.app_xip_area 461189 461189 0 0.0
.bss 64908 64908 0 0.0
.data 760 760 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 553383 553383 0 0.0
.app_xip_area 438621 438621 0 0.0
.bss 69572 69572 0 0.0
.data 768 768 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 573983 573983 0 0.0
.app_xip_area 465389 465389 0 0.0
.bss 63452 63452 0 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 566527 566527 0 0.0
.app_xip_area 454749 454749 0 0.0
.bss 66556 66556 0 0.0
.data 800 800 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4187C (read/write) 1070548 1070548 0 0.0
.bss 180008 180008 0 0.0
.data 3432 3432 0 0.0
.text 887088 887088 0 0.0
lock-app BRD4338a (read/write) 961940 961932 -8 -0.0
.bss 213064 213064 0 0.0
.data 29448 29448 0 0.0
.text 700064 700056 -8 -0.0
window-app BRD4187C (read/write) 1137384 1137376 -8 -0.0
.bss 164600 164600 0 0.0
.data 3336 3336 0 0.0
.text 969428 969420 -8 -0.0
esp32 all-clusters-app c3devkit (read only) 1214656 1214656 0 0.0
(read/write) 1751288 1751288 0 0.0
.dram0.bss 74568 74568 0 0.0
.dram0.data 13652 13652 0 0.0
.flash.rodata 253528 253528 0 0.0
.flash.text 1214656 1214656 0 0.0
.iram0.text 75570 75570 0 0.0
m5stack (read only) 1256359 1256359 0 0.0
(read/write) 537692 537692 0 0.0
.dram0.bss 81320 81320 0 0.0
.dram0.data 35196 35196 0 0.0
.flash.rodata 285256 285256 0 0.0
.flash.text 1250195 1250195 0 0.0
.iram0.text 125403 125403 0 0.0
linux air-purifier-app debug (read only) 2658629 2658629 0 0.0
(read/write) 130384 130384 0 0.0
.bss 47016 47016 0 0.0
.data 2272 2272 0 0.0
.data.rel.ro 75160 75160 0 0.0
.dynamic 608 608 0 0.0
.got 4520 4520 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 184336 184336 0 0.0
.text 2295013 2295013 0 0.0
all-clusters-app debug (read only) 5971705 5971705 0 0.0
(read/write) 481992 481992 0 0.0
.bss 135296 135296 0 0.0
.data 4560 4560 0 0.0
.data.rel.ro 334712 334712 0 0.0
.dynamic 624 624 0 0.0
.got 5328 5328 0 0.0
.init 27 27 0 0.0
.init_array 1440 1440 0 0.0
.rodata 350736 350736 0 0.0
.text 5185539 5185539 0 0.0
all-clusters-minimal-app debug (read only) 5255841 5255841 0 0.0
(read/write) 238008 238008 0 0.0
.bss 128160 128160 0 0.0
.data 4464 4464 0 0.0
.data.rel.ro 98296 98296 0 0.0
.dynamic 624 624 0 0.0
.got 5248 5248 0 0.0
.init 27 27 0 0.0
.init_array 1168 1168 0 0.0
.rodata 289930 289930 0 0.0
.text 4729139 4729139 0 0.0
bridge-app debug (read only) 4646473 4646473 0 0.0
(read/write) 218888 218888 0 0.0
.bss 118688 118688 0 0.0
.data 6240 6240 0 0.0
.data.rel.ro 87248 87248 0 0.0
.dynamic 624 624 0 0.0
.got 5216 5216 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 230378 230378 0 0.0
.text 4193747 4193747 0 0.0
chip-tool debug (read only) 12112177 12112177 0 0.0
(read/write) 523456 523456 0 0.0
.bss 95032 95032 0 0.0
.data 5122 5122 0 0.0
.data.rel.ro 416064 416064 0 0.0
.dynamic 624 624 0 0.0
.got 5736 5736 0 0.0
.init 27 27 0 0.0
.init_array 832 832 0 0.0
.rodata 451481 451481 0 0.0
.text 10952099 10952099 0 0.0
chip-tool-ipv6only arm64 (read only) 11445140 11445140 0 0.0
(read/write) 587352 587352 0 0.0
.bss 104008 104008 0 0.0
.data 4520 4520 0 0.0
.data.rel.ro 456016 456016 0 0.0
.dynamic 512 512 0 0.0
.got 17104 17104 0 0.0
.init 24 24 0 0.0
.init_array 280 280 0 0.0
.rodata 356340 356340 0 0.0
.text 10206904 10206904 0 0.0
lighting-app debug+rpc+ui (read only) 5569449 5569449 0 0.0
(read/write) 227656 227656 0 0.0
.bss 119632 119632 0 0.0
.data 4896 4896 0 0.0
.data.rel.ro 95616 95616 0 0.0
.dynamic 672 672 0 0.0
.got 5856 5856 0 0.0
.init 27 27 0 0.0
.init_array 976 976 0 0.0
.rodata 354196 354196 0 0.0
.text 4966515 4966515 0 0.0
lock-app debug (read only) 4713521 4713521 0 0.0
(read/write) 206112 206112 0 0.0
.bss 113960 113960 0 0.0
.data 4192 4192 0 0.0
.data.rel.ro 81256 81256 0 0.0
.dynamic 624 624 0 0.0
.got 5168 5168 0 0.0
.init 27 27 0 0.0
.init_array 880 880 0 0.0
.rodata 256298 256298 0 0.0
.text 4243939 4243939 0 0.0
ota-provider-app debug (read only) 4321377 4321377 0 0.0
(read/write) 194616 194616 0 0.0
.bss 113760 113760 0 0.0
.data 4368 4368 0 0.0
.data.rel.ro 70544 70544 0 0.0
.dynamic 624 624 0 0.0
.got 4536 4536 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 209130 209130 0 0.0
.text 3917475 3917475 0 0.0
ota-requestor-app debug (read only) 4452097 4452097 0 0.0
(read/write) 198984 198984 0 0.0
.bss 114656 114656 0 0.0
.data 4768 4768 0 0.0
.data.rel.ro 73648 73648 0 0.0
.dynamic 624 624 0 0.0
.got 4472 4472 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 215242 215242 0 0.0
.text 4037539 4037539 0 0.0
shell debug (read only) 2943049 2943049 0 0.0
(read/write) 157424 157424 0 0.0
.bss 62800 62800 0 0.0
.data 1424 1424 0 0.0
.data.rel.ro 87400 87400 0 0.0
.dynamic 592 592 0 0.0
.got 4056 4056 0 0.0
.init 27 27 0 0.0
.init_array 1112 1112 0 0.0
.rodata 187616 187616 0 0.0
.text 2580034 2580034 0 0.0
thermostat-no-ble arm64 (read only) 4445804 4445804 0 0.0
(read/write) 246280 246280 0 0.0
.bss 122264 122264 0 0.0
.data 3408 3408 0 0.0
.data.rel.ro 104520 104520 0 0.0
.dynamic 512 512 0 0.0
.got 8720 8720 0 0.0
.init 24 24 0 0.0
.init_array 448 448 0 0.0
.rodata 160436 160436 0 0.0
.text 3948248 3948248 0 0.0
tv-app debug (read only) 5790593 5790593 0 0.0
(read/write) 353816 353816 0 0.0
.bss 244528 244528 0 0.0
.data 6560 6560 0 0.0
.data.rel.ro 95432 95432 0 0.0
.dynamic 624 624 0 0.0
.got 5464 5464 0 0.0
.init 27 27 0 0.0
.init_array 1184 1184 0 0.0
.rodata 295178 295178 0 0.0
.text 5251347 5251347 0 0.0
tv-casting-app debug (read only) 9929121 9929121 0 0.0
(read/write) 343616 343616 0 0.0
.bss 158744 158744 0 0.0
.data 3008 3008 0 0.0
.data.rel.ro 174960 174960 0 0.0
.dynamic 624 624 0 0.0
.got 5040 5040 0 0.0
.init 27 27 0 0.0
.init_array 1216 1216 0 0.0
.rodata 384632 384632 0 0.0
.text 9077299 9077299 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2536504 2536504 0 0.0
.bss 220744 220744 0 0.0
.data 5216 5216 0 0.0
.text 1499188 1499188 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1060040 1060040 0 0.0
bss 139123 139123 0 0.0
rodata 101560 101560 0 0.0
text 772132 772132 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1237280 1237280 0 0.0
bss 137395 137395 0 0.0
rodata 151392 151392 0 0.0
text 798456 798456 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1007872 1007872 0 0.0
bss 138029 138029 0 0.0
rodata 88824 88824 0 0.0
text 733736 733736 0 0.0
nxp contact k32w0+release (read only) 576252 576252 0 0.0
(read/write) 83140 83140 0 0.0
.bss 67856 67856 0 0.0
.data 2188 2188 0 0.0
.text 575716 575716 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 703684 703684 0 0.0
.bss 71200 71200 0 0.0
.data 2864 2864 0 0.0
.text 590240 590240 0 0.0
light k32w0+release (read only) 610280 610280 0 0.0
(read/write) 82600 82600 0 0.0
.bss 67296 67296 0 0.0
.data 2208 2208 0 0.0
.text 609744 609744 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 795552 795552 0 0.0
.bss 80736 80736 0 0.0
.data 2064 2064 0 0.0
.text 673384 673384 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 832056 832056 0 0.0
(read/write) 1807740 1807740 0 0.0
.bss 198540 198540 0 0.0
.data 2744 2744 0 0.0
.text 1598068 1598068 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 835152 835152 0 0.0
(read/write) 1729076 1729076 0 0.0
.bss 195468 195468 0 0.0
.data 2720 2720 0 0.0
.text 1522500 1522500 0 0.0
light cy8ckit_062s2_43012 (read only) 841872 841872 0 0.0
(read/write) 1647548 1647548 0 0.0
.bss 188932 188932 0 0.0
.data 2536 2536 0 0.0
.text 1447692 1447692 0 0.0
lock cy8ckit_062s2_43012 (read only) 814808 814808 0 0.0
(read/write) 1676228 1676228 0 0.0
.bss 216012 216012 0 0.0
.data 2520 2520 0 0.0
.text 1449308 1449308 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1133900 1133900 0 0.0
.bss 102620 102620 0 0.0
.data 856 856 0 0.0
.text 646280 646280 0 0.0
lock-app qpg6105+debug (read/write) 1093740 1093740 0 0.0
.bss 97292 97292 0 0.0
.data 860 860 0 0.0
.text 606124 606124 0 0.0
stm32 light STM32WB5MM-DK (read/write) 605513 605513 0 0.0
.bss 128468 128468 0 0.0
.data 688 688 0 0.0
.rodata 80532 80532 0 0.0
.text 386080 386080 0 0.0
telink air-quality-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 833778 833778 0 0.0
bss 49852 49852 0 0.0
text 624452 624452 0 0.0
all-clusters-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 1096104 1096104 0 0.0
bss 101520 101520 0 0.0
text 797114 797114 0 0.0
all-clusters-minimal-app tlsr9528a (read only) 47960 47960 0 0.0
(read/write) 1058620 1058620 0 0.0
bss 110016 110016 0 0.0
text 772476 772476 0 0.0
bridge-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 914268 914268 0 0.0
bss 92772 92772 0 0.0
text 656084 656084 0 0.0
contact-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 836130 836130 0 0.0
bss 49896 49896 0 0.0
text 626872 626872 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a (read only) 51584 51584 0 0.0
(read/write) 936896 936896 0 0.0
bss 77508 77508 0 0.0
text 703478 703478 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d (read only) 29122 29122 0 0.0
(read/write) 1090660 1090660 0 0.0
bss 99864 99864 0 0.0
text 794066 794066 0 0.0
lock-app-dfu tlsr9528a (read only) 51584 51584 0 0.0
(read/write) 911248 911248 0 0.0
bss 69176 69176 0 0.0
text 660272 660272 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 933064 933064 0 0.0
bss 92476 92476 0 0.0
text 675066 675066 0 0.0
pump-app tlsr9258a (read only) 52490 52490 0 0.0
(read/write) 833688 833688 0 0.0
bss 58140 58140 0 0.0
text 623874 623874 0 0.0
pump-controller-app tlsr9518adk80d (read only) 31872 31872 0 0.0
(read/write) 799808 799808 0 0.0
bss 56068 56068 0 0.0
text 598776 598776 0 0.0
shell tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 676092 676092 0 0.0
bss 73452 73452 0 0.0
text 461766 461766 0 0.0
smoke_co_alarm-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 843982 843982 0 0.0
bss 51524 51524 0 0.0
text 633528 633528 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d (read only) 32220 32220 0 0.0
(read/write) 858649 858649 0 0.0
bss 59692 59692 0 0.0
text 642318 642318 0 0.0
thermostat tlsr9518adk80d (read only) 31872 31872 0 0.0
(read/write) 825364 825364 0 0.0
bss 56400 56400 0 0.0
text 618338 618338 0 0.0
window-covering tlsr9258a (read only) 52490 52490 0 0.0
(read/write) 838392 838392 0 0.0
bss 58356 58356 0 0.0
text 626148 626148 0 0.0

@pullapprove pullapprove bot requested review from bauerschwan and fessehaeve May 1, 2024 15:32
@mergify mergify bot merged commit 74c95db into project-chip:master May 2, 2024
65 checks passed
raju-apple pushed a commit to raju-apple/connectedhomeip that referenced this pull request Jun 5, 2024
This updates 2 python packages to versions compatible with python3.12,
fixing the following errors when running
`./scripts/examples/gn_build_example.sh examples/chip-tool BUILDFOLDER`:

1. `pyyaml` 6.0 build error: `AttributeError: cython_sources`, fixed
   [here](yaml/pyyaml#702)
2. `construct` import error:

   ```
           File "/tmp/pip-install-ifgk4tul/construct_6d60304f85e249759f6c184ea89f1317/construct/core.py", line 3, in <module>
          import struct, io, binascii, itertools, collections, pickle, sys, os, tempfile, hashlib, importlib, imp
      ModuleNotFoundError: No module named 'imp'
   ```

   this was fixed
   [here](construct/construct@91cc0c6),
   in version `v2.10.57` of `construct`. I'm just
   updating to latest though.

Now running `./scripts/examples/gn_build_example.sh examples/chip-tool
BUILDFOLDER` succeeds when the host python is python3.12.
raju-apple pushed a commit to raju-apple/connectedhomeip that referenced this pull request Jun 5, 2024
This updates 2 python packages to versions compatible with python3.12,
fixing the following errors when running
`./scripts/examples/gn_build_example.sh examples/chip-tool BUILDFOLDER`:

1. `pyyaml` 6.0 build error: `AttributeError: cython_sources`, fixed
   [here](yaml/pyyaml#702)
2. `construct` import error:

   ```
           File "/tmp/pip-install-ifgk4tul/construct_6d60304f85e249759f6c184ea89f1317/construct/core.py", line 3, in <module>
          import struct, io, binascii, itertools, collections, pickle, sys, os, tempfile, hashlib, importlib, imp
      ModuleNotFoundError: No module named 'imp'
   ```

   this was fixed
   [here](construct/construct@91cc0c6),
   in version `v2.10.57` of `construct`. I'm just
   updating to latest though.

Now running `./scripts/examples/gn_build_example.sh examples/chip-tool
BUILDFOLDER` succeeds when the host python is python3.12.
andy31415 pushed a commit that referenced this pull request Jun 6, 2024
This updates 2 python packages to versions compatible with python3.12,
fixing the following errors when running
`./scripts/examples/gn_build_example.sh examples/chip-tool BUILDFOLDER`:

1. `pyyaml` 6.0 build error: `AttributeError: cython_sources`, fixed
   [here](yaml/pyyaml#702)
2. `construct` import error:

   ```
           File "/tmp/pip-install-ifgk4tul/construct_6d60304f85e249759f6c184ea89f1317/construct/core.py", line 3, in <module>
          import struct, io, binascii, itertools, collections, pickle, sys, os, tempfile, hashlib, importlib, imp
      ModuleNotFoundError: No module named 'imp'
   ```

   this was fixed
   [here](construct/construct@91cc0c6),
   in version `v2.10.57` of `construct`. I'm just
   updating to latest though.

Now running `./scripts/examples/gn_build_example.sh examples/chip-tool
BUILDFOLDER` succeeds when the host python is python3.12.

Co-authored-by: Noah Pendleton <[email protected]>
shubhamdp pushed a commit to shubhamdp/connectedhomeip that referenced this pull request Jun 21, 2024
This updates 2 python packages to versions compatible with python3.12,
fixing the following errors when running
`./scripts/examples/gn_build_example.sh examples/chip-tool BUILDFOLDER`:

1. `pyyaml` 6.0 build error: `AttributeError: cython_sources`, fixed
   [here](yaml/pyyaml#702)
2. `construct` import error:

   ```
           File "/tmp/pip-install-ifgk4tul/construct_6d60304f85e249759f6c184ea89f1317/construct/core.py", line 3, in <module>
          import struct, io, binascii, itertools, collections, pickle, sys, os, tempfile, hashlib, importlib, imp
      ModuleNotFoundError: No module named 'imp'
   ```

   this was fixed
   [here](construct/construct@91cc0c6),
   in version `v2.10.57` of `construct`. I'm just
   updating to latest though.

Now running `./scripts/examples/gn_build_example.sh examples/chip-tool
BUILDFOLDER` succeeds when the host python is python3.12.
agners pushed a commit to agners/connectedhomeip that referenced this pull request Jul 13, 2024
This updates 2 python packages to versions compatible with python3.12,
fixing the following errors when running
`./scripts/examples/gn_build_example.sh examples/chip-tool BUILDFOLDER`:

1. `pyyaml` 6.0 build error: `AttributeError: cython_sources`, fixed
   [here](yaml/pyyaml#702)
2. `construct` import error:

   ```
           File "/tmp/pip-install-ifgk4tul/construct_6d60304f85e249759f6c184ea89f1317/construct/core.py", line 3, in <module>
          import struct, io, binascii, itertools, collections, pickle, sys, os, tempfile, hashlib, importlib, imp
      ModuleNotFoundError: No module named 'imp'
   ```

   this was fixed
   [here](construct/construct@91cc0c6),
   in version `v2.10.57` of `construct`. I'm just
   updating to latest though.

Now running `./scripts/examples/gn_build_example.sh examples/chip-tool
BUILDFOLDER` succeeds when the host python is python3.12.
yufengwangca pushed a commit that referenced this pull request Jul 14, 2024
This updates 2 python packages to versions compatible with python3.12,
fixing the following errors when running
`./scripts/examples/gn_build_example.sh examples/chip-tool BUILDFOLDER`:

1. `pyyaml` 6.0 build error: `AttributeError: cython_sources`, fixed
   [here](yaml/pyyaml#702)
2. `construct` import error:

   ```
           File "/tmp/pip-install-ifgk4tul/construct_6d60304f85e249759f6c184ea89f1317/construct/core.py", line 3, in <module>
          import struct, io, binascii, itertools, collections, pickle, sys, os, tempfile, hashlib, importlib, imp
      ModuleNotFoundError: No module named 'imp'
   ```

   this was fixed
   [here](construct/construct@91cc0c6),
   in version `v2.10.57` of `construct`. I'm just
   updating to latest though.

Now running `./scripts/examples/gn_build_example.sh examples/chip-tool
BUILDFOLDER` succeeds when the host python is python3.12.

Co-authored-by: Noah Pendleton <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Build] Bootstraph.sh fails with pip building PyYAML
3 participants