You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support building chip-tool with python3.12 (#33242) (#33770)
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 <2538614+noahp@users.noreply.github.com>
0 commit comments