Skip to content

[action] [PR:228] Pin PyGObject to 3.50.0#233

Merged
mssonicbld merged 1 commit intosonic-net:202411from
mssonicbld:cherry/202411/228
Mar 28, 2025
Merged

[action] [PR:228] Pin PyGObject to 3.50.0#233
mssonicbld merged 1 commit intosonic-net:202411from
mssonicbld:cherry/202411/228

Conversation

@mssonicbld
Copy link
Copy Markdown

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.

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.
@mssonicbld
Copy link
Copy Markdown
Author

Original PR: #228

@mssonicbld
Copy link
Copy Markdown
Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld mssonicbld merged commit 1044ca2 into sonic-net:202411 Mar 28, 2025
3 of 4 checks passed
@jusherma
Copy link
Copy Markdown

Looks like the 202411 branch of sonic-buildimage hasn't been updated to include this submodule commit. It's still pointing to a commit from Feb

https://github.com/sonic-net/sonic-buildimage/tree/202411/src

Can this be fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants