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

[v1.2] Fix bootstrapping #34477

Merged
merged 2 commits into from
Jul 26, 2024

Conversation

shubhamdp
Copy link
Contributor

error due to pyyaml
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [54 lines of output]
    running egg_info
    writing lib/PyYAML.egg-info/PKG-INFO
    writing dependency_links to lib/PyYAML.egg-info/dependency_links.txt
    writing top-level names to lib/PyYAML.egg-info/top_level.txt
error due to construct
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [10 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/private/var/folders/34/_563kfb57rj_9n2x3qc8ng5r0000gn/T/pip-install-upc5sc58/construct_47c6216bc9774546a3db803fd2414288/setup.py", line
 3, in <module>
          from construct.version import version_string
        File "/private/var/folders/34/_563kfb57rj_9n2x3qc8ng5r0000gn/T/pip-install-upc5sc58/construct_47c6216bc9774546a3db803fd2414288/construct/__ini
t__.py", line 22, in <module>
          from construct.core import *
        File "/private/var/folders/34/_563kfb57rj_9n2x3qc8ng5r0000gn/T/pip-install-upc5sc58/construct_47c6216bc9774546a3db803fd2414288/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'

bzbarsky-apple and others added 2 commits July 24, 2024 15:47
Pigweed seems to fail with:

    ERROR at /home/angus/projects/connectedhomeip/third_party/pigweed/repo/pw_build/facade.gni:187:7: Assertion failed.
    assert(_dep_is_in_link_dependencies,

when the repo path has symlinks in it and bootstrap is run.

The workaround is to change to the symlink-resolved path temporarily while doing
the pigweed parts of bootstrap.sh.

Fixes project-chip#31851
@iDevPro
Copy link

iDevPro commented Jul 25, 2024

@shubhamdp @dhrishi - Please fix this PR :)

@andy31415 andy31415 merged commit e9980ee into project-chip:v1.2-branch Jul 26, 2024
54 of 55 checks passed
@shubhamdp shubhamdp deleted the fix_py_pkg_version branch July 26, 2024 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants