Skip to content

Latest version of PyGObject requires Ubuntu 24.04 #222

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

Closed
MarkoSagadin opened this issue Mar 14, 2025 · 1 comment · May be fixed by #223
Closed

Latest version of PyGObject requires Ubuntu 24.04 #222

MarkoSagadin opened this issue Mar 14, 2025 · 1 comment · May be fixed by #223

Comments

@MarkoSagadin
Copy link

MarkoSagadin commented Mar 14, 2025

Hello!

I am writing this as an heads up message so you don't waste time more time on this than needed (as I already did).

Currently the Dockerfile.base installs unpinned version of the pygobject pip package.

Based on this issue the pygobject >=3.51.0 depends on the libgirepository 2.0, however libgirepository 2.0 is not yet available in the Ubuntu 22.04, but it is in Ubuntu 24.04 (as libgirepository2.0-dev apt package).

This means that in the current state the Zephyr's docker images fail to build.

So the solution for this is to:

  • either pin pygobject to some version before 3.51.0
  • Or transition to Ubutnu 24.04 as base image.

I imagine that the first one is the easiest. I hoped that I saved some time.

Best regards
Marko

MarkoSagadin added a commit to IRNAS/docker-image that referenced this issue Mar 14, 2025
Versions of pygobject from 3.51.0 forward require
libgirepository-2.0-dev as a dependency, but that one is not yet
available on the Ubuntu 22.04 (it is on 24.04).

3.50.0 version requires libgirepository-1.0-dev, which is available on
the Ubuntu 22.04, however that package was never explicitly installed,
so this commit also adds it.

By pinning the pip package and adding new apt package we ensure that
Dockerfile.base can be even built.

Closes: zephyrproject-rtos#222
MarkoSagadin added a commit to IRNAS/docker-image that referenced this issue Mar 14, 2025
Versions of pygobject from 3.51.0 forward require
libgirepository-2.0-dev as a dependency, but that one is not yet
available on the Ubuntu 22.04 (it is on 24.04).

3.50.0 version requires libgirepository-1.0-dev, which is available on
the Ubuntu 22.04, however that package was never explicitly installed,
so this commit also adds it.

By pinning the pip package and adding new apt package we ensure that
Dockerfile.base can be even built.

Closes: zephyrproject-rtos#222
MarkoSagadin added a commit to IRNAS/irnas-docker-software that referenced this issue Mar 14, 2025
Versions of pygobject from 3.51.0 forward require
libgirepository-2.0-dev as a dependency, but that one is not yet
available on the Ubuntu 22.04 (it is on 24.04).

By pinning the pip package we ensure that Dockerfile.ci can be
even built.

For more info see:
zephyrproject-rtos/docker-image#222
@nashif
Copy link
Member

nashif commented May 30, 2025

we now have 24.04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

2 participants