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

Update some constraints.txt requirements for python 3.10 support #20191

Merged

Conversation

andy31415
Copy link
Contributor

Note that pip compile fails because mbed and esp32 disagree on click
version, so I manually edited the constraints file

I managed to use it to bootstrap on 3.10 (after some more changes to the
PW repo to pw_doctor) and also bootstrapped on 3.9 in a vscode docker
image.

Note that pip compile fails because mbed and esp32 disagree on click
version, so I manually edited the constraints file

I managed to use it to bootstrap on 3.10 (after some more changes to the
PW repo to pw_doctor) and also bootstrapped on 3.9 in a vscode docker
image.
@andy31415 andy31415 changed the title Update some constranint requirements for python 3.10 suupport Update some constraints.txt requirements for python 3.10 suupport Jun 30, 2022
@andy31415 andy31415 changed the title Update some constraints.txt requirements for python 3.10 suupport Update some constraints.txt requirements for python 3.10 support Jun 30, 2022
@github-actions
Copy link

github-actions bot commented Jun 30, 2022

PR #20191: Size comparison from c8bfba9 to 6387a41

Increases (1 build for cc13x2_26x2)
platform target config section c8bfba9 6387a41 change % change
cc13x2_26x2 pump-app LP_CC2652R7 (read/write) 165008 165016 8 0.0
Decreases (3 builds for cc13x2_26x2, k32w, telink)
platform target config section c8bfba9 6387a41 change % change
cc13x2_26x2 pump-app LP_CC2652R7 (read only) 677207 677199 -8 -0.0
.text 588300 588292 -8 -0.0
k32w lock k32w061+release (read/write) 684524 684508 -16 -0.0
.text 606740 606724 -16 -0.0
telink light-switch-app tlsr9518adk80d (read/write) 796300 796292 -8 -0.0
text 564818 564816 -2 -0.0
Full report (41 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section c8bfba9 6387a41 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 665171 665171 0 0.0
(read/write) 186052 186052 0 0.0
.bss 74116 74116 0 0.0
.data 3356 3356 0 0.0
.rodata 88091 88091 0 0.0
.text 576764 576764 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 653947 653947 0 0.0
(read/write) 196572 196572 0 0.0
.bss 73412 73412 0 0.0
.data 3356 3356 0 0.0
.rodata 91571 91571 0 0.0
.text 562060 562060 0 0.0
lock-ftd LP_CC2652R7 (read only) 667759 667759 0 0.0
(read/write) 173608 173608 0 0.0
.bss 71148 71148 0 0.0
.data 3280 3280 0 0.0
.rodata 76191 76191 0 0.0
.text 591088 591088 0 0.0
lock-mtd LP_CC2652R7 (read only) 617175 617175 0 0.0
(read/write) 144264 144264 0 0.0
.bss 66868 66868 0 0.0
.data 3280 3280 0 0.0
.rodata 76071 76071 0 0.0
.text 540616 540616 0 0.0
pump-app LP_CC2652R7 (read only) 677207 677199 -8 -0.0
(read/write) 165008 165016 8 0.0
.bss 71228 71228 0 0.0
.data 3280 3280 0 0.0
.rodata 88423 88423 0 0.0
.text 588300 588292 -8 -0.0
pump-controller-app LP_CC2652R7 (read only) 663047 663047 0 0.0
(read/write) 179288 179288 0 0.0
.bss 71348 71348 0 0.0
.data 3276 3276 0 0.0
.rodata 84271 84271 0 0.0
.text 578296 578296 0 0.0
shell LP_CC2652R7 (read only) 657630 657630 0 0.0
(read/write) 189096 189096 0 0.0
.bss 76420 76420 0 0.0
.data 3360 3360 0 0.0
.rodata 84838 84838 0 0.0
.text 572476 572476 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 578662 578662 0 0.0
.app_xip_area 457440 457440 0 0.0
.bss 64184 64184 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 580238 580238 0 0.0
.app_xip_area 458824 458824 0 0.0
.bss 64376 64376 0 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 581734 581734 0 0.0
.app_xip_area 461360 461360 0 0.0
.bss 63392 63392 0 0.0
.data 660 660 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1080092 1080092 0 0.0
.bss 132996 132996 0 0.0
.data 2048 2048 0 0.0
.text 945028 945028 0 0.0
BRD4161A+rpc (read/write) 1134420 1134420 0 0.0
.bss 149676 149676 0 0.0
.data 2260 2260 0 0.0
.text 982464 982464 0 0.0
BRD4161A+rs911x (read/write) 942556 942556 0 0.0
.bss 138712 138712 0 0.0
.data 2048 2048 0 0.0
.text 801776 801776 0 0.0
lock-app BRD4161A+wf200 (read/write) 1123992 1123992 0 0.0
.bss 142128 142128 0 0.0
.data 2060 2060 0 0.0
.text 979784 979784 0 0.0
window-app BRD4161A (read/write) 1065324 1065324 0 0.0
.bss 133076 133076 0 0.0
.data 2076 2076 0 0.0
.text 930148 930148 0 0.0
esp32 all-clusters-app c3devkit (read only) 1018486 1018486 0 0.0
(read/write) 1484882 1484882 0 0.0
.dram0.bss 70080 70080 0 0.0
.dram0.data 14592 14592 0 0.0
.flash.rodata 214784 214784 0 0.0
.flash.text 1018486 1018486 0 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1072583 1072583 0 0.0
(read/write) 486984 486984 0 0.0
.dram0.bss 75600 75600 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 245244 245244 0 0.0
.flash.text 1067199 1067199 0 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 658040 658040 0 0.0
.bss 69516 69516 0 0.0
.data 1992 1992 0 0.0
.text 580732 580732 0 0.0
lock k32w061+release (read/write) 684524 684508 -16 -0.0
.bss 69980 69980 0 0.0
.data 2004 2004 0 0.0
.text 606740 606724 -16 -0.0
linux all-clusters-app debug (read only) 2954289 2954289 0 0.0
(read/write) 154744 154744 0 0.0
.bss 61536 61536 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 84952 84952 0 0.0
.dynamic 608 608 0 0.0
.got 4536 4536 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 263133 263133 0 0.0
.text 2514018 2514018 0 0.0
all-clusters-minimal-app debug (read only) 2808401 2808401 0 0.0
(read/write) 146648 146648 0 0.0
.bss 60864 60864 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 77592 77592 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 264797 264797 0 0.0
.text 2368642 2368642 0 0.0
bridge-app debug+rpc (read only) 2311801 2311801 0 0.0
(read/write) 125472 125472 0 0.0
.bss 48928 48928 0 0.0
.data 3824 3824 0 0.0
.data.rel.ro 66968 66968 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 197696 197696 0 0.0
.text 1952418 1952418 0 0.0
chip-tool debug (read only) 10168325 10168325 0 0.0
(read/write) 611784 611784 0 0.0
.bss 24384 24384 0 0.0
.data 1088 1088 0 0.0
.data.rel.ro 580016 580016 0 0.0
.dynamic 624 624 0 0.0
.got 5016 5016 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 508069 508069 0 0.0
.text 8249269 8249269 0 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9901380 9901380 0 0.0
(read/write) 676593 676593 0 0.0
.bss 42609 42609 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 615576 615576 0 0.0
.dynamic 528 528 0 0.0
.got 13448 13448 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 471476 471476 0 0.0
.text 7888052 7888052 0 0.0
lighting-app debug+rpc (read only) 2547705 2547705 0 0.0
(read/write) 129496 129496 0 0.0
.bss 49440 49440 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 72104 72104 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 816 816 0 0.0
.rodata 213512 213512 0 0.0
.text 2164274 2164274 0 0.0
lock-app debug (read only) 2509537 2509537 0 0.0
(read/write) 124472 124472 0 0.0
.bss 47840 47840 0 0.0
.data 1712 1712 0 0.0
.data.rel.ro 69080 69080 0 0.0
.dynamic 608 608 0 0.0
.got 4424 4424 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 228200 228200 0 0.0
.text 2116242 2116242 0 0.0
ota-provider-app debug (read only) 2318625 2318625 0 0.0
(read/write) 118312 118312 0 0.0
.bss 47488 47488 0 0.0
.data 1944 1944 0 0.0
.data.rel.ro 63080 63080 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 203288 203288 0 0.0
.text 1952610 1952610 0 0.0
ota-requestor-app debug (read only) 2435809 2435809 0 0.0
(read/write) 125216 125216 0 0.0
.bss 49856 49856 0 0.0
.data 2232 2232 0 0.0
.data.rel.ro 67272 67272 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 207328 207328 0 0.0
.text 2057378 2057378 0 0.0
shell debug (read only) 2543921 2543921 0 0.0
(read/write) 141032 141032 0 0.0
.bss 57448 57448 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 76672 76672 0 0.0
.dynamic 608 608 0 0.0
.got 4096 4096 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 227218 227218 0 0.0
.text 2160386 2160386 0 0.0
thermostat-no-ble arm64 (read only) 2591604 2591604 0 0.0
(read/write) 158273 158273 0 0.0
.bss 65249 65249 0 0.0
.data 1704 1704 0 0.0
.data.rel.ro 83232 83232 0 0.0
.dynamic 528 528 0 0.0
.got 5072 5072 0 0.0
.init 24 24 0 0.0
.init_array 400 400 0 0.0
.rodata 165236 165236 0 0.0
.text 2186624 2186624 0 0.0
tv-app debug (read only) 3098121 3098121 0 0.0
(read/write) 257672 257672 0 0.0
.bss 167016 167016 0 0.0
.data 4848 4848 0 0.0
.data.rel.ro 79360 79360 0 0.0
.dynamic 608 608 0 0.0
.got 4848 4848 0 0.0
.init 27 27 0 0.0
.init_array 952 952 0 0.0
.rodata 249024 249024 0 0.0
.text 2661266 2661266 0 0.0
tv-casting-app debug (read only) 5555481 5555481 0 0.0
(read/write) 161680 161680 0 0.0
.bss 50248 50248 0 0.0
.data 2416 2416 0 0.0
.data.rel.ro 102792 102792 0 0.0
.dynamic 608 608 0 0.0
.got 4720 4720 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 343113 343113 0 0.0
.text 4935490 4935490 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2447088 2447088 0 0.0
.bss 213940 213940 0 0.0
.data 5872 5872 0 0.0
.text 1409732 1409732 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1172931 1172931 0 0.0
bss 142884 142884 0 0.0
rodata 141348 141348 0 0.0
text 809780 809780 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1153783 1153783 0 0.0
bss 142120 142120 0 0.0
rodata 133280 133280 0 0.0
text 799488 799488 0 0.0
p6 all-clusters-app default (read/write) 2562688 2562688 0 0.0
.bss 149120 149120 0 0.0
.data 2776 2776 0 0.0
.text 1520952 1520952 0 0.0
all-clusters-minimal-app default (read/write) 2508552 2508552 0 0.0
.bss 148400 148400 0 0.0
.data 2776 2776 0 0.0
.text 1466816 1466816 0 0.0
light-app default (read/write) 2439048 2439048 0 0.0
.bss 140456 140456 0 0.0
.data 2592 2592 0 0.0
.text 1397312 1397312 0 0.0
lock-app default (read/write) 2465328 2465328 0 0.0
.bss 140304 140304 0 0.0
.data 2600 2600 0 0.0
.text 1423592 1423592 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 796300 796292 -8 -0.0
bss 70560 70560 0 0.0
noinit 40416 40416 0 0.0
text 564818 564816 -2 -0.0
lighting-app tlsr9518adk80d (read/write) 816160 816160 0 0.0
bss 71404 71404 0 0.0
noinit 40416 40416 0 0.0
text 581172 581172 0 0.0

@mspang
Copy link
Contributor

mspang commented Jun 30, 2022

@pan- Can you help get mbed os dependencies upgraded..

@andy31415
Copy link
Contributor Author

andy31415 commented Jun 30, 2022

@pan- Can you help get mbed os dependencies upgraded..

This is what I got:

Could not find a version that matches click<8,>=7.0,>=7.1,>=8.0.0 (from -r requirements.txt (line 51))
Tried: 0.1, 0.1, 0.2, 0.2, 0.3, 0.3, 0.4, 0.4, 0.5, 0.5, 0.5.1, 0.5.1, 0.6, 0.6, 0.7, 0.7, 1.0, 1.0, 1.1, 1.1, 2.0, 2.0, 2.1, 2.1, 2.2, 2.2, 2.3, 2.3, 2.4
, 2.4, 2.5, 2.5, 2.6, 2.6, 3.0, 3.0, 3.1, 3.1, 3.2, 3.2, 3.3, 3.3, 4.0, 4.0, 4.1, 4.1, 5.0, 5.0, 5.1, 5.1, 6.0, 6.0, 6.1, 6.1, 6.2, 6.2, 6.3, 6.3, 6.4, 6.
4, 6.5, 6.6, 6.6, 6.7, 6.7, 7.0, 7.0, 7.1, 7.1, 7.1.1, 7.1.1, 7.1.2, 7.1.2, 8.0.0, 8.0.0, 8.0.1, 8.0.1, 8.0.2, 8.0.2, 8.0.3, 8.0.3, 8.0.4, 8.0.4, 8.1.0, 8
.1.0, 8.1.1, 8.1.1, 8.1.2, 8.1.2, 8.1.3, 8.1.3
Skipped pre-versions: 6.7.dev0, 8.0.0a1, 8.0.0a1, 8.0.0rc1, 8.0.0rc1
There are incompatible versions in the resolved dependencies:
  click>=7.0 (from -r requirements.esp32.txt (line 2))
  click (from -r requirements.txt (line 51))
  click>=7 (from pip-tools==6.1.0->-r requirements.txt (line 1))
  click>=8.0.0 (from idf-component-manager==1.1.3->-r requirements.esp32.txt (line 8))
  Click<8,>=7.1 (from mbed-tools==7.49.1->-r requirements.mbed.txt (line 1))

so I believe it is mbed that forces the requirements for less than 8 and that causes issues, but at the same time esp32 requires 8.0 so we could fix that too.

I believe forcing low version is what we need to fix, so mbed-tools should be updated.

@pan-
Copy link
Contributor

pan- commented Jun 30, 2022

Yes we will help. Thanks for raising the issue.

@andy31415 andy31415 merged commit 7901553 into project-chip:master Jul 1, 2022
andy31415 added a commit that referenced this pull request Jul 4, 2022
Note that pip compile fails because mbed and esp32 disagree on click
version, so I manually edited the constraints file

I managed to use it to bootstrap on 3.10 (after some more changes to the
PW repo to pw_doctor) and also bootstrapped on 3.9 in a vscode docker
image.
rerasool pushed a commit to SiliconLabs/matter that referenced this pull request Sep 9, 2022
Note that pip compile fails because mbed and esp32 disagree on click
version, so I manually edited the constraints file

I managed to use it to bootstrap on 3.10 (after some more changes to the
PW repo to pw_doctor) and also bootstrapped on 3.9 in a vscode docker
image.
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.

6 participants