We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Open IoT SDK examples CI building fails with ModuleNotFoundError: No module named 'giscanner._giscanner' in my PR #32517. See: https://github.com/project-chip/connectedhomeip/actions/runs/8215104818/job/22468244739?pr=32517
ModuleNotFoundError: No module named 'giscanner._giscanner'
other
Creating a clear VirtualEnv in 'out/venv' ... created virtual environment CPython3.9.5.final.0-64 in 567ms creator CPython3Posix(dest=/__w/connectedhomeip/connectedhomeip/out/venv, clear=True, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/github/home/.local/share/virtualenv) added seed packages: pip==23.0.1, setuptools==67.4.0, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Requirement already satisfied: pip in ./out/venv/lib/python3.9/site-packages (23.0.1) Collecting pip Downloading pip-24.0-py3-none-any.whl (2.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 48.8 MB/s eta 0:00:00 Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 23.0.1 Uninstalling pip-23.0.1: Successfully uninstalled pip-23.0.1 Successfully installed pip-24.0 Processing ./out/python_lib/controller/python/chip_clusters-0.0-py3-none-any.whl Processing ./out/python_lib/controller/python/chip_core-0.0-cp37-abi3-linux_x86_64.whl Processing ./out/python_lib/controller/python/chip_repl-0.0-py3-none-any.whl Collecting dacite (from chip-clusters==0.0) Downloading dacite-1.8.1-py3-none-any.whl.metadata (15 kB) Collecting aenum (from chip-clusters==0.0) Downloading aenum-3.1.15-py3-none-any.whl.metadata (3.7 kB) Collecting coloredlogs (from chip-core==0.0) Downloading coloredlogs-15.0.1-py2.py3-none-any.whl.metadata (12 kB) Collecting construct (from chip-core==0.0) Downloading construct-2.10.70-py3-none-any.whl.metadata (4.2 kB) Collecting rich (from chip-core==0.0) Downloading rich-13.7.1-py3-none-any.whl.metadata (18 kB) Collecting pyyaml (from chip-core==0.0) Downloading PyYAML-6.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB) Collecting ipdb (from chip-core==0.0) Downloading ipdb-0.13.13-py3-none-any.whl.metadata (14 kB) Collecting deprecation (from chip-core==0.0) Downloading deprecation-2.1.0-py2.py3-none-any.whl.metadata (4.6 kB) Collecting cryptography (from chip-core==0.0) Downloading cryptography-42.0.5-cp39-abi3-manylinux_2_28_x86_64.whl.metadata (5.3 kB) Collecting ecdsa (from chip-core==0.0) Downloading ecdsa-0.18.0-py2.py3-none-any.whl.metadata (29 kB) Collecting ipython!=8.1.0 (from chip-repl==0.0) Downloading ipython-8.18.1-py3-none-any.whl.metadata (6.0 kB) Collecting ipykernel (from chip-repl==0.0) Downloading ipykernel-6.29.3-py3-none-any.whl.metadata (6.3 kB) Collecting dbus-python==1.2.18 (from chip-repl==0.0) Downloading dbus-python-1.2.18.tar.gz (578 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 578.2/578.2 kB 71.2 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting pygobject (from chip-repl==0.0) Downloading pygobject-3.48.0.tar.gz (714 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 714.2/714.2 kB 91.7 MB/s eta 0:00:00 Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Installing backend dependencies: started Installing backend dependencies: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [155 lines of output] + meson setup /tmp/pip-install-1r_3hly7/pygobject_3455e105c6b443f8ad8326c131052dba /tmp/pip-install-1r_3hly7/pygobject_3455e105c6b443f8ad8326c131052dba/.mesonpy-exbfx3cw -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md -Dwheel=true --wrap-mode=nofallback --native-file=/tmp/pip-install-1r_3hly7/pygobject_3455e105c6b443f8ad8326c131052dba/.mesonpy-exbfx3cw/meson-python-native-file.ini The Meson build system Version: 1.3.2 Source dir: /tmp/pip-install-1r_3hly7/pygobject_3455e105c6b443f8ad8326c131052dba Build dir: /tmp/pip-install-1r_3hly7/pygobject_3455e105c6b443f8ad8326c131052dba/.mesonpy-exbfx3cw Build type: native build Project name: pygobject Project version: 3.48.0 C compiler for the host machine: ccache cc (gcc 10.5.0 "cc (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0") C linker for the host machine: cc ld.bfd 2.34 Host machine cpu family: x86_64 Host machine cpu: x86_64 Program python3 found: YES (/__w/connectedhomeip/connectedhomeip/out/venv/bin/python) Found pkg-config: YES (/usr/bin/pkg-config) 0.29.1 Run-time dependency python found: YES 3.9 Run-time dependency gobject-introspection-1.0 found: YES 1.64.1 Run-time dependency glib-2.0 found: YES 2.64.6 Run-time dependency gobject-2.0 found: YES 2.64.6 Run-time dependency gio-2.0 found: YES 2.64.6 Run-time dependency gmodule-2.0 found: YES 2.64.6 Run-time dependency libffi found: YES 3.3 Run-time dependency cairo found: YES 1.16.0 Run-time dependency cairo-gobject found: YES 1.16.0 Message: Found pycairo with target Python: /tmp/pip-build-env-7e0esdy1/overlay/lib/python3.9/site-packages/cairo/include Compiler for C supports arguments -Wall: YES Compiler for C supports arguments -Warray-bounds: YES Compiler for C supports arguments -Wcast-align: YES Compiler for C supports arguments -Wduplicated-branches: YES Compiler for C supports arguments -Wextra: YES Compiler for C supports arguments -Wformat=2: YES Compiler for C supports arguments -Wformat-nonliteral: YES Compiler for C supports arguments -Wformat-security: YES Compiler for C supports arguments -Wimplicit-function-declaration: YES Compiler for C supports arguments -Winit-self: YES Compiler for C supports arguments -Wjump-misses-init: YES Compiler for C supports arguments -Wlogical-op: YES Compiler for C supports arguments -Wmissing-declarations: YES Compiler for C supports arguments -Wmissing-format-attribute: YES Compiler for C supports arguments -Wmissing-include-dirs: YES Compiler for C supports arguments -Wmissing-noreturn: YES Compiler for C supports arguments -Wmissing-prototypes: YES Compiler for C supports arguments -Wnested-externs: YES Compiler for C supports arguments -Wnull-dereference: YES Compiler for C supports arguments -Wold-style-definition: YES Compiler for C supports arguments -Wpacked: YES Compiler for C supports arguments -Wpointer-arith: YES Compiler for C supports arguments -Wrestrict: YES Compiler for C supports arguments -Wreturn-type: YES Compiler for C supports arguments -Wshadow: YES Compiler for C supports arguments -Wsign-compare: YES Compiler for C supports arguments -Wstrict-aliasing: YES Compiler for C supports arguments -Wstrict-prototypes: YES Compiler for C supports arguments -Wswitch-default: YES Compiler for C supports arguments -Wundef: YES Compiler for C supports arguments -Wunused-but-set-variable: YES Compiler for C supports arguments -Wwrite-strings: YES Compiler for C supports arguments -Wno-incompatible-pointer-types-discards-qualifiers: NO Compiler for C supports arguments -Wno-missing-field-initializers: YES Compiler for C supports arguments -Wno-unused-parameter: YES Compiler for C supports arguments -Wno-discarded-qualifiers: YES Compiler for C supports arguments -Wno-sign-conversion: YES Compiler for C supports arguments -Wno-cast-function-type: YES Compiler for C supports arguments -Wno-int-conversion: YES Compiler for C supports arguments -fno-strict-aliasing: YES Compiler for C supports arguments -fvisibility=hidden: YES Configuring config.h using configuration Compiler for C supports arguments -fvisibility=hidden: YES (cached) Dependency gobject-introspection-1.0 found: YES 1.64.1 (cached) Dependency gobject-introspection-1.0 found: YES 1.64.1 (cached) Program /usr/bin/g-ir-scanner found: YES (/usr/bin/g-ir-scanner) Dependency gobject-introspection-1.0 found: YES 1.64.1 (cached) Program /usr/bin/g-ir-compiler found: YES (/usr/bin/g-ir-compiler) Dependency gio-2.0 found: YES 2.64.6 (cached) Program /usr/lib/x86_64-linux-gnu/glib-2.0/glib-compile-schemas found: YES (/usr/lib/x86_64-linux-gnu/glib-2.0/glib-compile-schemas) Build targets in project: 10 pygobject 3.48.0 User defined options Native files: /tmp/pip-install-1r_3hly7/pygobject_3455e105c6b443f8ad8326c131052dba/.mesonpy-exbfx3cw/meson-python-native-file.ini buildtype : release wrap_mode : nofallback b_ndebug : if-release b_vscrt : md wheel : true Found ninja-1.12.0.git at /__w/connectedhomeip/connectedhomeip/.environment/cipd/packages/pigweed/bin/ninja + /__w/connectedhomeip/connectedhomeip/.environment/cipd/packages/pigweed/bin/ninja [1/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygenum.c.o [2/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygflags.c.o [3/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygboxed.c.o [4/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pyginterface.c.o [5/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygparamspec.c.o [6/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygpointer.c.o [7/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygoptioncontext.c.o [8/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygspawn.c.o [9/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygobject-object.c.o [10/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygoptiongroup.c.o [11/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygi-foreign.c.o [12/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygi-struct.c.o [13/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygi-repository.c.o [14/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygi-source.c.o [15/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/gimodule.c.o [16/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygi-resulttuple.c.o [17/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygi-argument.c.o [18/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygi-info.c.o [19/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygi-boxed.c.o [20/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygi-type.c.o [21/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygi-util.c.o [22/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygi-ccallback.c.o [23/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygi-closure.c.o [24/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygi-property.c.o [25/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygi-signal-closure.c.o [26/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygi-invoke.c.o [27/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygi-marshal-cleanup.c.o [28/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygi-cache.c.o [29/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygi-basictype.c.o [30/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygi-list.c.o [31/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygi-array.c.o [32/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygi-error.c.o [33/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygi-fundamental.c.o [34/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygi-object.c.o [35/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygi-enum-marshal.c.o [36/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygi-value.c.o [37/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygi-struct-marshal.c.o [38/58] Compiling C object gi/_gi.cpython-39-x86_64-linux-gnu.so.p/pygi-hashtable.c.o [39/58] Compiling C object gi/_gi_cairo.cpython-39-x86_64-linux-gnu.so.p/pygi-foreign-cairo.c.o [40/58] Linking target gi/_gi.cpython-39-x86_64-linux-gnu.so [41/58] Compiling C object tests/libgimarshallingtests.so.p/gimarshallingtestsextra.c.o [42/58] Linking target gi/_gi_cairo.cpython-39-x86_64-linux-gnu.so [43/58] Compiling C object tests/libregress.so.p/_usr_share_gobject-introspection-1.0_tests_annotation.c.o [44/58] Compiling C object tests/libregress.so.p/regressextra.c.o [45/58] Compiling C object tests/testhelper.cpython-39-x86_64-linux-gnu.so.p/test-floating.c.o [46/58] Compiling gschemas tests/gsettings-compile-tests [47/58] Compiling C object tests/testhelper.cpython-39-x86_64-linux-gnu.so.p/test-thread.c.o [48/58] Compiling C object tests/testhelper.cpython-39-x86_64-linux-gnu.so.p/testhelpermodule.c.o [49/58] Compiling C object tests/testhelper.cpython-39-x86_64-linux-gnu.so.p/test-unknown.c.o [50/58] Linking target tests/testhelper.cpython-39-x86_64-linux-gnu.so [51/58] Compiling C object tests/libregress.so.p/_usr_share_gobject-introspection-1.0_tests_regress.c.o [52/58] Linking target tests/libregress.so [53/58] Generating tests/Regress-1.0.gir with a custom command (wrapped by meson to set env) FAILED: tests/Regress-1.0.gir env PKG_CONFIG_PATH=/tmp/pip-install-1r_3hly7/pygobject_3455e105c6b443f8ad8326c131052dba/.mesonpy-exbfx3cw/meson-uninstalled PKG_CONFIG=/usr/bin/pkg-config 'CC=ccache cc' /usr/bin/g-ir-scanner --quiet --no-libtool --namespace=Regress --nsversion=1.0 --warn-all --output tests/Regress-1.0.gir --quiet -I/tmp/pip-install-1r_3hly7/pygobject_3455e105c6b443f8ad8326c131052dba/tests -I/tmp/pip-install-1r_3hly7/pygobject_3455e105c6b443f8ad8326c131052dba/.mesonpy-exbfx3cw/tests -I/usr/share/gobject-introspection-1.0/tests -I/usr/share/gobject-introspection-1.0/tests --filelist=/tmp/pip-install-1r_3hly7/pygobject_3455e105c6b443f8ad8326c131052dba/.mesonpy-exbfx3cw/tests/libregress.so.p/Regress_1.0_gir_filelist --include=Gio-2.0 --include=cairo-1.0 --cflags-begin -I/usr/share/gobject-introspection-1.0/tests -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gobject-introspection-1.0 --cflags-end --add-include-path=/usr/share/gir-1.0 -L/tmp/pip-install-1r_3hly7/pygobject_3455e105c6b443f8ad8326c131052dba/.mesonpy-exbfx3cw/tests --library regress -lglib-2.0 -lgobject-2.0 -lgio-2.0 -lgmodule-2.0 -lcairo -lcairo-gobject -lgirepository-1.0 Traceback (most recent call last): File "/usr/bin/g-ir-scanner", line 103, in <module> from giscanner.scannermain import scanner_main File "/usr/lib/x86_64-linux-gnu/gobject-introspection/giscanner/scannermain.py", line 35, in <module> from giscanner.ast import Include, Namespace File "/usr/lib/x86_64-linux-gnu/gobject-introspection/giscanner/ast.py", line 29, in <module> from .sourcescanner import CTYPE_TYPEDEF, CSYMBOL_TYPE_TYPEDEF File "/usr/lib/x86_64-linux-gnu/gobject-introspection/giscanner/sourcescanner.py", line 35, in <module> from giscanner._giscanner import SourceScanner as CSourceScanner ModuleNotFoundError: No module named 'giscanner._giscanner' [54/58] Compiling C object tests/libgimarshallingtests.so.p/_usr_share_gobject-introspection-1.0_tests_gimarshallingtests.c.o ninja: build stopped: subcommand failed. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details. Error: Process completed with exit code 1.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Workflow issues
Open IoT SDK examples CI building fails with
ModuleNotFoundError: No module named 'giscanner._giscanner'
in my PR #32517.See: https://github.com/project-chip/connectedhomeip/actions/runs/8215104818/job/22468244739?pr=32517
Platform
other
Anything else?
The text was updated successfully, but these errors were encountered: