If it was already broken, then yes it'd be better to remove it. Not only it breaks byte compiling tehpackage, it also breaks the test suite, even with the pull request fixing the build applied: ``` ====================================================================== FAIL: breezy.tests.per_transport.TransportTests.test_has(GioTransport,GioLocalURLServer) tags: worker-9 ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/guix-build-breezy-3.2.2.drv-0/breezy-3.2.2/breezy/transport/gio_transport.py", line 212, in _create_connection connection = gio.File(self.url) TypeError: GInterface.__init__() takes exactly 0 arguments (1 given) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/tmp/guix-build-breezy-3.2.2.drv-0/breezy-3.2.2/breezy/transport/gio_transport.py", line 309, in put_file f = self._get_GIO(tmppath) File "/tmp/guix-build-breezy-3.2.2.drv-0/breezy-3.2.2/breezy/transport/gio_transport.py", line 152, in _get_GIO connection, credentials = self._create_connection() File "/tmp/guix-build-breezy-3.2.2.drv-0/breezy-3.2.2/breezy/transport/gio_transport.py", line 230, in _create_connection except gio.Error as e: File "/gnu/store/44a8ghndc3p0c14jb65dgfr1mxblfm3m-python-pygobject-3.40.1/lib/python3.9/site-packages/gi/overrides/__init__.py", line 32, in __getattr__ return getattr(self._introspection_module, name) File "/gnu/store/44a8ghndc3p0c14jb65dgfr1mxblfm3m-python-pygobject-3.40.1/lib/python3.9/site-packages/gi/module.py", line 123, in __getattr__ raise AttributeError("%r object has no attribute %r" % ( AttributeError: 'gi.repository.Gio' object has no attribute 'Error' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/tmp/guix-build-breezy-3.2.2.drv-0/breezy-3.2.2/breezy/tests/per_transport.py", line 149, in test_has self.build_tree(files, transport=t) File "/tmp/guix-build-breezy-3.2.2.drv-0/breezy-3.2.2/breezy/tests/__init__.py", line 2937, in build_tree transport.put_bytes_non_atomic(urlutils.escape(name), content) File "/tmp/guix-build-breezy-3.2.2.drv-0/breezy-3.2.2/breezy/transport/__init__.py", line 898, in put_bytes_non_atomic self.put_file_non_atomic(relpath, BytesIO(raw_bytes), mode=mode, File "/tmp/guix-build-breezy-3.2.2.drv-0/breezy-3.2.2/breezy/transport/__init__.py", line 934, in put_file_non_atomic return self.put_file(relpath, f, mode=mode) File "/tmp/guix-build-breezy-3.2.2.drv-0/breezy-3.2.2/breezy/transport/gio_transport.py", line 322, in put_file except gio.Error as e: File "/gnu/store/44a8ghndc3p0c14jb65dgfr1mxblfm3m-python-pygobject-3.40.1/lib/python3.9/site-packages/gi/overrides/__init__.py", line 32, in __getattr__ return getattr(self._introspection_module, name) File "/gnu/store/44a8ghndc3p0c14jb65dgfr1mxblfm3m-python-pygobject-3.40.1/lib/python3.9/site-packages/gi/module.py", line 123, in __getattr__ raise AttributeError("%r object has no attribute %r" % ( AttributeError: 'gi.repository.Gio' object has no attribute 'Error' ====================================================================== FAIL: breezy.tests.per_transport.TransportTests.test_iter_files_recursive(GioTransport,GioLocalURLServer) tags: worker-9 ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/guix-build-breezy-3.2.2.drv-0/breezy-3.2.2/breezy/transport/gio_transport.py", line 212, in _create_connection connection = gio.File(self.url) TypeError: GInterface.__init__() takes exactly 0 arguments (1 given) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/tmp/guix-build-breezy-3.2.2.drv-0/breezy-3.2.2/breezy/transport/gio_transport.py", line 335, in mkdir f = self._get_GIO(relpath) File "/tmp/guix-build-breezy-3.2.2.drv-0/breezy-3.2.2/breezy/transport/gio_transport.py", line 152, in _get_GIO connection, credentials = self._create_connection() File "/tmp/guix-build-breezy-3.2.2.drv-0/breezy-3.2.2/breezy/transport/gio_transport.py", line 230, in _create_connection except gio.Error as e: File "/gnu/store/44a8ghndc3p0c14jb65dgfr1mxblfm3m-python-pygobject-3.40.1/lib/python3.9/site-packages/gi/overrides/__init__.py", line 32, in __getattr__ return getattr(self._introspection_module, name) File "/gnu/store/44a8ghndc3p0c14jb65dgfr1mxblfm3m-python-pygobject-3.40.1/lib/python3.9/site-packages/gi/module.py", line 123, in __getattr__ raise AttributeError("%r object has no attribute %r" % ( AttributeError: 'gi.repository.Gio' object has no attribute 'Error' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/tmp/guix-build-breezy-3.2.2.drv-0/breezy-3.2.2/breezy/tests/per_transport.py", line 1358, in test_iter_files_recursive self.build_tree(['isolated/', File "/tmp/guix-build-breezy-3.2.2.drv-0/breezy-3.2.2/breezy/tests/__init__.py", line 2927, in build_tree transport.mkdir(urlutils.escape(name[:-1])) File "/tmp/guix-build-breezy-3.2.2.drv-0/breezy-3.2.2/breezy/transport/gio_transport.py", line 338, in mkdir except gio.Error as e: File "/gnu/store/44a8ghndc3p0c14jb65dgfr1mxblfm3m-python-pygobject-3.40.1/lib/python3.9/site-packages/gi/overrides/__init__.py", line 32, in __getattr__ return getattr(self._introspection_module, name) File "/gnu/store/44a8ghndc3p0c14jb65dgfr1mxblfm3m-python-pygobject-3.40.1/lib/python3.9/site-packages/gi/module.py", line 123, in __getattr__ raise AttributeError("%r object has no attribute %r" % ( AttributeError: 'gi.repository.Gio' object has no attribute 'Error' ====================================================================== FAIL: breezy.tests.per_transport.TransportTests.test_lock_read(GioTransport,GioLocalURLServer) tags: worker-9 ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/guix-build-breezy-3.2.2.drv-0/breezy-3.2.2/breezy/transport/gio_transport.py", line 212, in _create_connection connection = gio.File(self.url) TypeError: GInterface.__init__() takes exactly 0 arguments (1 given) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/tmp/guix-build-breezy-3.2.2.drv-0/breezy-3.2.2/breezy/transport/gio_transport.py", line 309, in put_file f = self._get_GIO(tmppath) File "/tmp/guix-build-breezy-3.2.2.drv-0/breezy-3.2.2/breezy/transport/gio_transport.py", line 152, in _get_GIO connection, credentials = self._create_connection() File "/tmp/guix-build-breezy-3.2.2.drv-0/breezy-3.2.2/breezy/transport/gio_transport.py", line 230, in _create_connection except gio.Error as e: File "/gnu/store/44a8ghndc3p0c14jb65dgfr1mxblfm3m-python-pygobject-3.40.1/lib/python3.9/site-packages/gi/overrides/__init__.py", line 32, in __getattr__ return getattr(self._introspection_module, name) File "/gnu/store/44a8ghndc3p0c14jb65dgfr1mxblfm3m-python-pygobject-3.40.1/lib/python3.9/site-packages/gi/module.py", line 123, in __getattr__ raise AttributeError("%r object has no attribute %r" % ( AttributeError: 'gi.repository.Gio' object has no attribute 'Error' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/tmp/guix-build-breezy-3.2.2.drv-0/breezy-3.2.2/breezy/tests/per_transport.py", line 1516, in test_lock_read transport.put_bytes('lock', b'') File "/tmp/guix-build-breezy-3.2.2.drv-0/breezy-3.2.2/breezy/transport/__init__.py", line 875, in put_bytes return self.put_file(relpath, BytesIO(raw_bytes), mode=mode) File "/tmp/guix-build-breezy-3.2.2.drv-0/breezy-3.2.2/breezy/transport/gio_transport.py", line 322, in put_file except gio.Error as e: File "/gnu/store/44a8ghndc3p0c14jb65dgfr1mxblfm3m-python-pygobject-3.40.1/lib/python3.9/site-packages/gi/overrides/__init__.py", line 32, in __getattr__ return getattr(self._introspection_module, name) File "/gnu/store/44a8ghndc3p0c14jb65dgfr1mxblfm3m-python-pygobject-3.40.1/lib/python3.9/site-packages/gi/module.py", line 123, in __getattr__ raise AttributeError("%r object has no attribute %r" % ( AttributeError: 'gi.repository.Gio' object has no attribute 'Error' ====================================================================== FAIL: breezy.tests.per_transport.TransportTests.test_move(GioTransport,GioLocalURLServer) tags: worker-9 ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/guix-build-breezy-3.2.2.drv-0/breezy-3.2.2/breezy/transport/gio_transport.py", line 212, in _create_connection connection = gio.File(self.url) TypeError: GInterface.__init__() takes exactly 0 arguments (1 given) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/tmp/guix-build-breezy-3.2.2.drv-0/breezy-3.2.2/breezy/transport/gio_transport.py", line 309, in put_file f = self._get_GIO(tmppath) File "/tmp/guix-build-breezy-3.2.2.drv-0/breezy-3.2.2/breezy/transport/gio_transport.py", line 152, in _get_GIO connection, credentials = self._create_connection() File "/tmp/guix-build-breezy-3.2.2.drv-0/breezy-3.2.2/breezy/transport/gio_transport.py", line 230, in _create_connection except gio.Error as e: File "/gnu/store/44a8ghndc3p0c14jb65dgfr1mxblfm3m-python-pygobject-3.40.1/lib/python3.9/site-packages/gi/overrides/__init__.py", line 32, in __getattr__ return getattr(self._introspection_module, name) File "/gnu/store/44a8ghndc3p0c14jb65dgfr1mxblfm3m-python-pygobject-3.40.1/lib/python3.9/site-packages/gi/module.py", line 123, in __getattr__ raise AttributeError("%r object has no attribute %r" % ( AttributeError: 'gi.repository.Gio' object has no attribute 'Error' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/tmp/guix-build-breezy-3.2.2.drv-0/breezy-3.2.2/breezy/tests/per_transport.py", line 892, in test_move t.put_bytes('a', b'a first file\n') File "/tmp/guix-build-breezy-3.2.2.drv-0/breezy-3.2.2/breezy/transport/__init__.py", line 875, in put_bytes return self.put_file(relpath, BytesIO(raw_bytes), mode=mode) File "/tmp/guix-build-breezy-3.2.2.drv-0/breezy-3.2.2/breezy/transport/gio_transport.py", line 322, in put_file except gio.Error as e: File "/gnu/store/44a8ghndc3p0c14jb65dgfr1mxblfm3m-python-pygobject-3.40.1/lib/python3.9/site-packages/gi/overrides/__init__.py", line 32, in __getattr__ return getattr(self._introspection_module, name) File "/gnu/store/44a8ghndc3p0c14jb65dgfr1mxblfm3m-python-pygobject-3.40.1/lib/python3.9/site-packages/gi/module.py", line 123, in __getattr__ raise AttributeError("%r object has no attribute %r" % ( AttributeError: 'gi.repository.Gio' object has no attribute 'Error' [...] ```