Skip to content

Commit 1044ca2

Browse files
authored
Pin PyGObject to 3.50.0 (#233)
Newer versions of PyGObject depend on libgirepository-2.0-dev which isn't packaged for Debian. This leads to build failures like Collecting PyGObject Downloading pygobject-3.52.1.tar.gz (1.2 MB) ... × Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [24 lines of output] ... ../meson.build:31:9: ERROR: Dependency 'girepository-2.0' is required but not found. Pin the version of PyGObject to 3.50.0 which is the latest version known to work. Fixes sonic-net/sonic-buildimage#21984 This needs to be cherry-picked onto the 202411branch. Probably 202405 and 202311 too. I don't think it'll apply cleanly to 202305 so that'd need a branch specific change.
1 parent 53f9218 commit 1044ca2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
'dbus-python',
4848
'systemd-python',
4949
'Jinja2>=2.10',
50-
'PyGObject',
50+
'PyGObject==3.50.0',
5151
'pycairo==1.26.1',
5252
'psutil'
5353
] + sonic_dependencies,

0 commit comments

Comments
 (0)