-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[BUG] source scripts/bootstrap.sh fails when using Python 3.11 (Debian Bookworm) #25385
Comments
Small update, trying the procedure in a Debian Stable lxc container works as expected, so Debian Testing is definitely the suspect here. |
We seem to have had this problem occasionally due to esp32 requirement (gdbui -> gevent). @dhrishi ... any chance we can avoid esp32 requiring gdbgui? @s-marios could you test out what happens if you edit |
This fixes things and activate.sh/bootstrap.sh seem to work. I guess this does not affect normal development and the only thing that we miss out on is being able to use gdbui, am I right? |
Do we perhaps just need to update the constraints.txt ? |
Doesn't seem like there is a newer version of gevent, but I posted a PR to update anyway since it hasn't been done in a while: |
greenlet was updated. It's still possible this will resolve your issue. Mind trying it @s-marios ? |
if we don't install gdbui I believe esp32 builds may fail because it is mandatory there (builds switch to chip venv and then builds may completely fail, even if idl exports.sh would install it). If we make changes like commenting out gdbui, we have to ensure esp32 builds work (generally CI would check that, so that may be sufficient) |
Tried the fix in 25441 on my arch machine (which has the gdbui issue), no help unfortunately:
|
Just checked in our latest image (with latest esp32) and gdbui is NOT in |
I was missing a g in my grep. It is there after all as We could patch it in as part of our build image building, however that is probably not maintainable. I would much rather have esp-idf updated. @dhrishi |
Ok, well, it sounds like this may be blocked on resolving some upstream dependency issues. In order to fix compatibility issues, the dependencies must make a new release. So they must be updated. But we are blocking a handful of updates (presumably due to some breakage)
Trying to hold these back forever won't work, as the configuration eventually becomes unsatisfiable. |
Just removing
|
That's unfortunate, as it also happens that I'm targeting esp32.
So, this is not a Debian problem, it seems to be a python 3.11 problem I suppose? If that's the case, let's change the title of this issue to something more appropriate. |
ESP-IDF v4.4.4 requires gdbgui only when Python before 3.11 is used (see espressif/esp-idf@3974be7). Avoid installing it when not needed. Fixes: project-chip#25385
ESP-IDF v4.4.4 requires gdbgui only when Python before 3.11 is used (see espressif/esp-idf@3974be7). Avoid installing it when not needed. Fixes: #25385
ESP-IDF v4.4.4 requires gdbgui only when Python before 3.11 is used (see espressif/esp-idf@3974be7). Avoid installing it when not needed. Fixes: project-chip#25385
ESP-IDF v4.4.4 requires gdbgui only when Python before 3.11 is used (see espressif/esp-idf@3974be7). Avoid installing it when not needed. Fixes: project-chip#25385
* ESP32: avoid installing gdbgui when not needed (#26542) ESP-IDF v4.4.4 requires gdbgui only when Python before 3.11 is used (see espressif/esp-idf@3974be7). Avoid installing it when not needed. Fixes: #25385 * Remove gdbgui requirement for esp32 (#28007) * Remove gdbgui requirement for esp32 * Fix qemu * Fix chef as well --------- Co-authored-by: Stefan Agner <stefan@agner.ch> Co-authored-by: Andrei Litvin <andy314@gmail.com>
…t-chip#28507) * ESP32: avoid installing gdbgui when not needed (project-chip#26542) ESP-IDF v4.4.4 requires gdbgui only when Python before 3.11 is used (see espressif/esp-idf@3974be7). Avoid installing it when not needed. Fixes: project-chip#25385 * Remove gdbgui requirement for esp32 (project-chip#28007) * Remove gdbgui requirement for esp32 * Fix qemu * Fix chef as well --------- Co-authored-by: Stefan Agner <stefan@agner.ch> Co-authored-by: Andrei Litvin <andy314@gmail.com>
#28397) * Added support for Optiga Trust M. * * Added no warning flag when applying patch for optiga-trust-m. * Add the optiga_lib_config_mtb.h * 1)Updated README.md for psoc6 lock-app example 2)Added infineon_trustm_provisioning.md * 1)Updated README.md for psoc6 lock-app * 1)Updated README.md for psoc6 lock-app * 1)Updated optiga-trust-m submodule 2)Updated README.md for psoc6 lock-app * 1)Updated DeviceAttestationCredsExampleTrustM.cpp 2)Updated the argument with infineon added * 1)Updated CHIPCryptoPALHsm_HKDF_trustm.cpp and CHIPCryptoPALHsm_HMAC_trustm.cpp * Merging with v1.1-branch * Resolve merge conflicts with v1.1-branch * * Updated the copyright dates. * Updated README. * Removed PersistentStorage File. * 1)Changes to enable build door-lock example with Trust M using python script 2)Fixed the bug for CHIPCryptoPALHsm_HMAC_trustm.cpp * Restyled by whitespace * Restyled by clang-format * [Cherrypick] CI: Fix for v1.1-branch CI, broken due to gdbgui (#28507) * ESP32: avoid installing gdbgui when not needed (#26542) ESP-IDF v4.4.4 requires gdbgui only when Python before 3.11 is used (see espressif/esp-idf@3974be7). Avoid installing it when not needed. Fixes: #25385 * Remove gdbgui requirement for esp32 (#28007) * Remove gdbgui requirement for esp32 * Fix qemu * Fix chef as well --------- Co-authored-by: Stefan Agner <stefan@agner.ch> Co-authored-by: Andrei Litvin <andy314@gmail.com> * Fix CI/CD issues: - Misspell - restyling - infineon build * Resolve CI/CD Build issues for "Build on Linux" --------- Co-authored-by: Ank Khandelwal <ank.khandelwal@infineon.com> Co-authored-by: Restyled.io <commits@restyled.io> Co-authored-by: Shubham Patil <shubham.patil@espressif.com> Co-authored-by: Stefan Agner <stefan@agner.ch> Co-authored-by: Andrei Litvin <andy314@gmail.com>
Reproduction steps
On Debian Bookworm, python ver. 3.11.2, the bootstrap script fails.
To reproduce, follow the "building matter" document,
This resulted in the log file attached. console_output.txt
In sort, it fails to build (or actually install?) the wheels for gevent and greenlet.
I have no idea why this happens or how I could proceed from there.
Bug prevalence
Whenever I do this
GitHub hash of the SDK that was being used
e75d35a
Platform
core
Platform Version(s)
No response
Anything else?
This change in Debian about having python interpreters marked as externally managed may be of relevance.
Also, sometime in December I had no problem with the bootstrap script and was in fact able to build matter successfully. However, it seems that further updates in Debian Testing broke the bootstrap script.
Using a venv (pyton3.11 -m venv chip-venv) led to the same result.
Can you please look into this? Any insights are appreciated.
The text was updated successfully, but these errors were encountered: