Subject: Bug#1002487: python3-buildstream should depend on gir1.2-ostree-1.0

From: Carlos Alberto Lopez Perez <[email-masked]>
Date: Thu, 23 Dec 2021 03:33:08 +0000

Package: python3-buildstream
Version: 1.4.3-0.1

Installing python3-buildstream on Debian 11 (bullseye) on a new container
leads to the software not beeing usable due to a missing package dependency

Steps to reproduce:

1. Install on an empty debian system the packages python3-buildstream python3-gi python3 buildstream ostree

2. Try to run

  $ python3 -c 'from gi.repository import OSTree'
	Traceback (most recent call last):
	  File "<string>", line 1, in <module>
	  File "/usr/lib/python3/dist-packages/gi/importer.py", line 131, in load_module
		raise ImportError('cannot import name %s, '
	ImportError: cannot import name OSTree, introspection typelib not found

I fixed the issue by manually installing the package gir1.2-ostree-1.0,
but I think this should be automatically installed via the apt deps.