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

Fix builds to macos-13 rather than latest due to bootstrap python incompatibilities #33142

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

andy31415
Copy link
Contributor

@andy31415 andy31415 commented Apr 24, 2024

Builds seem to fail with AttributeError: cython_sources which seems to point at an incompatibility between PyYaml and python 3.12 (pyyaml seems to claim compatibility up to python 3.11 so far)

Preliminary investigation of failures seem to indicate:

  • CI passed when macos-latest was pointing to macos-12 (odd, since 13 also existed)
  • When github moved the label to point to macos-14-arm64 we started having failures

So this may be python version or architecture version or both.

Unclear if this is the correct fix since we presumably want to ensure darwin code compiles on the latest release of the platform, however for now validating the claim that runner version is at fault for build failures.

Copy link

github-actions bot commented Apr 24, 2024

PR #33142: Size comparison from e1dd279 to e8fbd23

Decreases (1 build for efr32)
platform target config section e1dd279 e8fbd23 change % change
efr32 window-app BRD4187C (read/write) 1135972 1135964 -8 -0.0
.text 968096 968088 -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 e1dd279 e8fbd23 change % change
bl602 lighting-app bl602 (read/write) 1442986 1442986 0 0.0
.bss 85448 85448 0 0.0
.data 9512 9512 0 0.0
.rodata 159092 159092 0 0.0
.text 1108274 1108274 0 0.0
bl602+mfd (read/write) 1457402 1457402 0 0.0
.bss 85616 85616 0 0.0
.data 9488 9488 0 0.0
.rodata 158052 158052 0 0.0
.text 1123592 1123592 0 0.0
bl602+rpc (read/write) 1490626 1490626 0 0.0
.bss 93488 93488 0 0.0
.data 9888 9888 0 0.0
.rodata 166660 166660 0 0.0
.text 1139920 1139920 0 0.0
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1209255 1209255 0 0.0
.bss 11185 11185 0 0.0
.data 3704 3704 0 0.0
.rodata 108788 108788 0 0.0
.text 978630 978630 0 0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1220075 1220075 0 0.0
.bss 11361 11361 0 0.0
.data 3688 3688 0 0.0
.rodata 107728 107728 0 0.0
.text 990384 990384 0 0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1300743 1300743 0 0.0
.bss 19669 19669 0 0.0
.data 4248 4248 0 0.0
.rodata 124160 124160 0 0.0
.text 1053338 1053338 0 0.0
bl706-eth (read/write) 1025373 1025373 0 0.0
.bss 23760 23760 0 0.0
.data 3256 3256 0 0.0
.rodata 101776 101776 0 0.0
.text 768546 768546 0 0.0
bl706-wifi (read/write) 1260050 1260050 0 0.0
.bss 10645 10645 0 0.0
.data 3704 3704 0 0.0
.rodata 122776 122776 0 0.0
.text 1000454 1000454 0 0.0
bl702l lighting-app bl702l (read only) 512 512 0 0.0
(read/write) 1178576 1178576 0 0.0
.bss 16396 16396 0 0.0
.data 5072 5072 0 0.0
.rodata 102792 102792 0 0.0
.text 971484 971484 0 0.0
bl702l+mfd (read only) 512 512 0 0.0
(read/write) 1189992 1189992 0 0.0
.bss 16572 16572 0 0.0
.data 5048 5048 0 0.0
.rodata 101732 101732 0 0.0
.text 983806 983806 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 783684 783684 0 0.0
(read/write) 176668 176668 0 0.0
.bss 98612 98612 0 0.0
.data 3588 3588 0 0.0
.rodata 82964 82964 0 0.0
.text 700452 700452 0 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 799564 799564 0 0.0
(read/write) 187156 187156 0 0.0
.bss 109100 109100 0 0.0
.data 3588 3588 0 0.0
.rodata 76948 76948 0 0.0
.text 722348 722348 0 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 788436 788436 0 0.0
(read/write) 181276 181276 0 0.0
.bss 103220 103220 0 0.0
.data 3588 3588 0 0.0
.rodata 103868 103868 0 0.0
.text 684300 684300 0 0.0
pump-app LP_EM_CC1354P10_6 (read only) 740684 740684 0 0.0
(read/write) 175644 175644 0 0.0
.bss 97352 97352 0 0.0
.data 3580 3580 0 0.0
.rodata 78628 78628 0 0.0
.text 661788 661788 0 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 726308 726308 0 0.0
(read/write) 175852 175852 0 0.0
.bss 97576 97576 0 0.0
.data 3572 3572 0 0.0
.rodata 74404 74404 0 0.0
.text 651636 651636 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 586926 586926 0 0.0
(read/write) 208100 208100 0 0.0
.bss 201324 201324 0 0.0
.data 1652 1652 0 0.0
.rodata 87526 87526 0 0.0
.text 497276 497276 0 0.0
lock CC3235SF_LAUNCHXL (read only) 633086 633086 0 0.0
(read/write) 208364 208364 0 0.0
.bss 201728 201728 0 0.0
.data 1516 1516 0 0.0
.rodata 108206 108206 0 0.0
.text 522760 522760 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 570359 570359 0 0.0
.app_xip_area 460269 460269 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) 552575 552575 0 0.0
.app_xip_area 437813 437813 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) 573111 573111 0 0.0
.app_xip_area 464517 464517 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) 565559 565559 0 0.0
.app_xip_area 453781 453781 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) 1069600 1069600 0 0.0
.bss 179920 179920 0 0.0
.data 3432 3432 0 0.0
.text 886228 886228 0 0.0
lock-app BRD4338a (read/write) 962164 962164 0 0.0
.bss 210236 210236 0 0.0
.data 30288 30288 0 0.0
.text 702272 702272 0 0.0
window-app BRD4187C (read/write) 1135972 1135964 -8 -0.0
.bss 164520 164520 0 0.0
.data 3336 3336 0 0.0
.text 968096 968088 -8 -0.0
esp32 all-clusters-app c3devkit (read only) 1214972 1214972 0 0.0
(read/write) 1750888 1750888 0 0.0
.dram0.bss 74352 74352 0 0.0
.dram0.data 13652 13652 0 0.0
.flash.rodata 253352 253352 0 0.0
.flash.text 1214972 1214972 0 0.0
.iram0.text 75570 75570 0 0.0
m5stack (read only) 1256075 1256075 0 0.0
(read/write) 537276 537276 0 0.0
.dram0.bss 81104 81104 0 0.0
.dram0.data 35196 35196 0 0.0
.flash.rodata 285056 285056 0 0.0
.flash.text 1249911 1249911 0 0.0
.iram0.text 125403 125403 0 0.0
linux air-purifier-app debug (read only) 2649709 2649709 0 0.0
(read/write) 130064 130064 0 0.0
.bss 46728 46728 0 0.0
.data 2272 2272 0 0.0
.data.rel.ro 75112 75112 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 185072 185072 0 0.0
.text 2285525 2285525 0 0.0
all-clusters-app debug (read only) 5964577 5964577 0 0.0
(read/write) 481704 481704 0 0.0
.bss 135040 135040 0 0.0
.data 4560 4560 0 0.0
.data.rel.ro 334664 334664 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 352016 352016 0 0.0
.text 5177299 5177299 0 0.0
all-clusters-minimal-app debug (read only) 5244553 5244553 0 0.0
(read/write) 237656 237656 0 0.0
.bss 127872 127872 0 0.0
.data 4464 4464 0 0.0
.data.rel.ro 98248 98248 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 290666 290666 0 0.0
.text 4717283 4717283 0 0.0
bridge-app debug (read only) 4635809 4635809 0 0.0
(read/write) 218568 218568 0 0.0
.bss 118400 118400 0 0.0
.data 6240 6240 0 0.0
.data.rel.ro 87200 87200 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 230890 230890 0 0.0
.text 4182739 4182739 0 0.0
chip-tool debug (read only) 12086809 12086809 0 0.0
(read/write) 523136 523136 0 0.0
.bss 94744 94744 0 0.0
.data 5122 5122 0 0.0
.data.rel.ro 416032 416032 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 451353 451353 0 0.0
.text 10926979 10926979 0 0.0
chip-tool-ipv6only arm64 (read only) 11405924 11405924 0 0.0
(read/write) 589384 589384 0 0.0
.bss 103720 103720 0 0.0
.data 4520 4520 0 0.0
.data.rel.ro 455976 455976 0 0.0
.dynamic 512 512 0 0.0
.got 17112 17112 0 0.0
.init 24 24 0 0.0
.init_array 280 280 0 0.0
.rodata 356276 356276 0 0.0
.text 10167848 10167848 0 0.0
lighting-app debug+rpc+ui (read only) 5559345 5559345 0 0.0
(read/write) 227336 227336 0 0.0
.bss 119344 119344 0 0.0
.data 4896 4896 0 0.0
.data.rel.ro 95568 95568 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 354804 354804 0 0.0
.text 4955971 4955971 0 0.0
lock-app debug (read only) 4701737 4701737 0 0.0
(read/write) 205792 205792 0 0.0
.bss 113704 113704 0 0.0
.data 4192 4192 0 0.0
.data.rel.ro 81192 81192 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 256746 256746 0 0.0
.text 4231875 4231875 0 0.0
ota-provider-app debug (read only) 4311481 4311481 0 0.0
(read/write) 194232 194232 0 0.0
.bss 113440 113440 0 0.0
.data 4368 4368 0 0.0
.data.rel.ro 70480 70480 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 209514 209514 0 0.0
.text 3907363 3907363 0 0.0
ota-requestor-app debug (read only) 4442105 4442105 0 0.0
(read/write) 198600 198600 0 0.0
.bss 114336 114336 0 0.0
.data 4768 4768 0 0.0
.data.rel.ro 73584 73584 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 215594 215594 0 0.0
.text 4027363 4027363 0 0.0
shell debug (read only) 2932657 2932657 0 0.0
(read/write) 157072 157072 0 0.0
.bss 62512 62512 0 0.0
.data 1424 1424 0 0.0
.data.rel.ro 87344 87344 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 188384 188384 0 0.0
.text 2569042 2569042 0 0.0
thermostat-no-ble arm64 (read only) 4435196 4435196 0 0.0
(read/write) 244336 244336 0 0.0
.bss 121976 121976 0 0.0
.data 3408 3408 0 0.0
.data.rel.ro 104464 104464 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 160388 160388 0 0.0
.text 3937864 3937864 0 0.0
tv-app debug (read only) 5775665 5775665 0 0.0
(read/write) 353560 353560 0 0.0
.bss 244336 244336 0 0.0
.data 6560 6560 0 0.0
.data.rel.ro 95368 95368 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 295242 295242 0 0.0
.text 5236547 5236547 0 0.0
tv-casting-app debug (read only) 9901409 9901409 0 0.0
(read/write) 342784 342784 0 0.0
.bss 157976 157976 0 0.0
.data 3008 3008 0 0.0
.data.rel.ro 174896 174896 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 384536 384536 0 0.0
.text 9049875 9049875 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2535776 2535776 0 0.0
.bss 220488 220488 0 0.0
.data 5216 5216 0 0.0
.text 1498460 1498460 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1065856 1065856 0 0.0
bss 133119 133119 0 0.0
rodata 103432 103432 0 0.0
text 782088 782088 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1226488 1226488 0 0.0
bss 127175 127175 0 0.0
rodata 151384 151384 0 0.0
text 797896 797896 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1013424 1013424 0 0.0
bss 131977 131977 0 0.0
rodata 90696 90696 0 0.0
text 743432 743432 0 0.0
nxp contact k32w0+release (read only) 575676 575676 0 0.0
(read/write) 83140 83140 0 0.0
.bss 67856 67856 0 0.0
.data 2188 2188 0 0.0
.text 575140 575140 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 702996 702996 0 0.0
.bss 71200 71200 0 0.0
.data 2864 2864 0 0.0
.text 589552 589552 0 0.0
light k32w0+release (read only) 609688 609688 0 0.0
(read/write) 82600 82600 0 0.0
.bss 67296 67296 0 0.0
.data 2208 2208 0 0.0
.text 609152 609152 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 794888 794888 0 0.0
.bss 80744 80744 0 0.0
.data 2064 2064 0 0.0
.text 672712 672712 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 832272 832272 0 0.0
(read/write) 1804868 1804868 0 0.0
.bss 198380 198380 0 0.0
.data 2688 2688 0 0.0
.text 1595412 1595412 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 835424 835424 0 0.0
(read/write) 1726772 1726772 0 0.0
.bss 195260 195260 0 0.0
.data 2656 2656 0 0.0
.text 1520468 1520468 0 0.0
light cy8ckit_062s2_43012 (read only) 842144 842144 0 0.0
(read/write) 1645508 1645508 0 0.0
.bss 188724 188724 0 0.0
.data 2472 2472 0 0.0
.text 1445924 1445924 0 0.0
lock cy8ckit_062s2_43012 (read only) 815072 815072 0 0.0
(read/write) 1674172 1674172 0 0.0
.bss 215804 215804 0 0.0
.data 2464 2464 0 0.0
.text 1447516 1447516 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1133220 1133220 0 0.0
.bss 102588 102588 0 0.0
.data 856 856 0 0.0
.text 645600 645600 0 0.0
lock-app qpg6105+debug (read/write) 1093220 1093220 0 0.0
.bss 97260 97260 0 0.0
.data 860 860 0 0.0
.text 605604 605604 0 0.0
stm32 light STM32WB5MM-DK (read/write) 604809 604809 0 0.0
.bss 128444 128444 0 0.0
.data 688 688 0 0.0
.rodata 80532 80532 0 0.0
.text 385400 385400 0 0.0
telink air-quality-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 833942 833942 0 0.0
bss 49856 49856 0 0.0
text 624610 624610 0 0.0
all-clusters-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 1097020 1097020 0 0.0
bss 101540 101540 0 0.0
text 798010 798010 0 0.0
all-clusters-minimal-app tlsr9528a (read only) 47960 47960 0 0.0
(read/write) 1058476 1058476 0 0.0
bss 109988 109988 0 0.0
text 772372 772372 0 0.0
bridge-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 913996 913996 0 0.0
bss 92744 92744 0 0.0
text 655852 655852 0 0.0
contact-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 835962 835962 0 0.0
bss 49900 49900 0 0.0
text 626710 626710 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a (read only) 51584 51584 0 0.0
(read/write) 936636 936636 0 0.0
bss 77512 77512 0 0.0
text 703252 703252 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d (read only) 29122 29122 0 0.0
(read/write) 1090508 1090508 0 0.0
bss 99836 99836 0 0.0
text 793954 793954 0 0.0
lock-app-dfu tlsr9528a (read only) 51584 51584 0 0.0
(read/write) 911216 911216 0 0.0
bss 69180 69180 0 0.0
text 660246 660246 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 932848 932848 0 0.0
bss 92448 92448 0 0.0
text 674888 674888 0 0.0
pump-app tlsr9258a (read only) 52490 52490 0 0.0
(read/write) 833520 833520 0 0.0
bss 58144 58144 0 0.0
text 623710 623710 0 0.0
pump-controller-app tlsr9518adk80d (read only) 31872 31872 0 0.0
(read/write) 799640 799640 0 0.0
bss 56072 56072 0 0.0
text 598616 598616 0 0.0
shell tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 676128 676128 0 0.0
bss 73424 73424 0 0.0
text 461864 461864 0 0.0
smoke_co_alarm-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 843694 843694 0 0.0
bss 51528 51528 0 0.0
text 633242 633242 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d (read only) 32220 32220 0 0.0
(read/write) 858521 858521 0 0.0
bss 59696 59696 0 0.0
text 642200 642200 0 0.0
thermostat tlsr9518adk80d (read only) 31872 31872 0 0.0
(read/write) 825188 825188 0 0.0
bss 56404 56404 0 0.0
text 618166 618166 0 0.0
window-covering tlsr9258a (read only) 52490 52490 0 0.0
(read/write) 838408 838408 0 0.0
bss 58360 58360 0 0.0
text 626174 626174 0 0.0

@andy31415 andy31415 added the hotfix urgent fix needed, can bypass review label Apr 24, 2024
@andy31415
Copy link
Contributor Author

Marking as hotfix and will merge as without this entire CI is blocked on darwin and no PRs can be checked.

@woody-apple @bzbarsky-apple @ksperling-apple please be aware and update with other fixes as appropriate for Darwin. For now I just patched it to unblock CI.

@andy31415 andy31415 merged commit fe54a37 into project-chip:master Apr 24, 2024
65 checks passed
andy31415 added a commit to andy31415/connectedhomeip that referenced this pull request Apr 25, 2024
andy31415 added a commit to andy31415/connectedhomeip that referenced this pull request Apr 25, 2024
andy31415 added a commit that referenced this pull request Apr 25, 2024
…33173)

* Fix builds to macos-13 rather than latest due to bootstrap python incompatibilities (#33142)

* Add a few more conversions that did not happen in ToT but seem needed on 1.3
andy31415 added a commit that referenced this pull request Apr 25, 2024
* Fix builds to macos-13 rather than latest due to bootstrap python incompatibilities (#33142)

* Add a few more conversions that did not happen in ToT but seem needed on 1.2

* Also fix construct dependency

* Revert "Also fix construct dependency"

This reverts commit 296be95.
andy31415 added a commit to andy31415/connectedhomeip that referenced this pull request May 3, 2024
andy31415 added a commit that referenced this pull request May 3, 2024
* Fix builds to macos-13 rather than latest due to bootstrap python incompatibilities (#33142)

* Fix google-api-core (#32687)

* [ESP32] bump the component manager version (#32474)

* [ESP32] bump the component manager version

* Update requirements.esp32.txt

* Update requirements.esp32.txt

* fix the version in constraints.txt

* Bump prompt-toolkit requirement to fix ptpython version update (#30987)

* Undo protobuf constraint fixing - make requirements and constraints equal

---------

Co-authored-by: Shubham Patil <[email protected]>
Co-authored-by: Andrei Litvin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github hotfix urgent fix needed, can bypass review review - pending workflows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant