Package: src:gnome-keysign Version: 1.9.0-1 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202608/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:gnome-keysign, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --with python3 --buildsystem=pybuild debian/rules override_dh_auto_clean make[1]: Entering directory '/<<PKGBUILDDIR>>' dh_clean rm -rf debian/man/gnome-keysign.1 debian/man/gks-qrcode.1 .pybuild .pytest_cache gnome_keysign.egg-info data/org.gnome.Keysign.appdata.xml data/org.gnome.Keysign.desktop find . -name "__pycache__" -type d -exec rm -r {} + find . -name "*.mo" -delete find . -name "*.pyc" -delete make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --with python3 --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild [... snipped ...] [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) /usr/lib/python3/dist-packages/setuptools/command/build_py.py:212: _Warning: Package 'keysign.locale.uk.LC_MESSAGES' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'keysign.locale.uk.LC_MESSAGES' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'keysign.locale.uk.LC_MESSAGES' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'keysign.locale.uk.LC_MESSAGES' to be distributed and are already explicitly excluding 'keysign.locale.uk.LC_MESSAGES' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) /usr/lib/python3/dist-packages/setuptools/command/build_py.py:212: _Warning: Package 'keysign.locale.zh_CN.LC_MESSAGES' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'keysign.locale.zh_CN.LC_MESSAGES' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'keysign.locale.zh_CN.LC_MESSAGES' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'keysign.locale.zh_CN.LC_MESSAGES' to be distributed and are already explicitly excluding 'keysign.locale.zh_CN.LC_MESSAGES' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) copying keysign/app4.ui -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign copying keysign/dialog_avahi4.ui -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign copying keysign/receive4.ui -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign copying keysign/send4.ui -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/cs/LC_MESSAGES copying keysign/locale/cs/LC_MESSAGES/keysign.mo -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/cs/LC_MESSAGES copying keysign/locale/cs/LC_MESSAGES/keysign.po -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/cs/LC_MESSAGES creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/da/LC_MESSAGES copying keysign/locale/da/LC_MESSAGES/keysign.mo -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/da/LC_MESSAGES copying keysign/locale/da/LC_MESSAGES/keysign.po -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/da/LC_MESSAGES creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/de/LC_MESSAGES copying keysign/locale/de/LC_MESSAGES/keysign.mo -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/de/LC_MESSAGES copying keysign/locale/de/LC_MESSAGES/keysign.po -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/de/LC_MESSAGES creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/en_GB/LC_MESSAGES copying keysign/locale/en_GB/LC_MESSAGES/keysign.mo -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/en_GB/LC_MESSAGES copying keysign/locale/en_GB/LC_MESSAGES/keysign.po -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/en_GB/LC_MESSAGES creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/es/LC_MESSAGES copying keysign/locale/es/LC_MESSAGES/keysign.mo -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/es/LC_MESSAGES copying keysign/locale/es/LC_MESSAGES/keysign.po -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/es/LC_MESSAGES creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/eu/LC_MESSAGES copying keysign/locale/eu/LC_MESSAGES/keysign.mo -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/eu/LC_MESSAGES copying keysign/locale/eu/LC_MESSAGES/keysign.po -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/eu/LC_MESSAGES creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/fi/LC_MESSAGES copying keysign/locale/fi/LC_MESSAGES/keysign.mo -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/fi/LC_MESSAGES copying keysign/locale/fi/LC_MESSAGES/keysign.po -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/fi/LC_MESSAGES creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/fr/LC_MESSAGES copying keysign/locale/fr/LC_MESSAGES/keysign.mo -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/fr/LC_MESSAGES copying keysign/locale/fr/LC_MESSAGES/keysign.po -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/fr/LC_MESSAGES creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/fur/LC_MESSAGES copying keysign/locale/fur/LC_MESSAGES/keysign.mo -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/fur/LC_MESSAGES copying keysign/locale/fur/LC_MESSAGES/keysign.po -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/fur/LC_MESSAGES creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/hi/LC_MESSAGES copying keysign/locale/hi/LC_MESSAGES/keysign.mo -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/hi/LC_MESSAGES copying keysign/locale/hi/LC_MESSAGES/keysign.po -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/hi/LC_MESSAGES creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/hr/LC_MESSAGES copying keysign/locale/hr/LC_MESSAGES/keysign.mo -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/hr/LC_MESSAGES copying keysign/locale/hr/LC_MESSAGES/keysign.po -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/hr/LC_MESSAGES creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/hu/LC_MESSAGES copying keysign/locale/hu/LC_MESSAGES/keysign.mo -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/hu/LC_MESSAGES copying keysign/locale/hu/LC_MESSAGES/keysign.po -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/hu/LC_MESSAGES creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/id/LC_MESSAGES copying keysign/locale/id/LC_MESSAGES/keysign.mo -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/id/LC_MESSAGES copying keysign/locale/id/LC_MESSAGES/keysign.po -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/id/LC_MESSAGES creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/it/LC_MESSAGES copying keysign/locale/it/LC_MESSAGES/keysign.mo -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/it/LC_MESSAGES copying keysign/locale/it/LC_MESSAGES/keysign.po -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/it/LC_MESSAGES creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/ka/LC_MESSAGES copying keysign/locale/ka/LC_MESSAGES/keysign.mo -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/ka/LC_MESSAGES copying keysign/locale/ka/LC_MESSAGES/keysign.po -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/ka/LC_MESSAGES creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/kk/LC_MESSAGES copying keysign/locale/kk/LC_MESSAGES/keysign.mo -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/kk/LC_MESSAGES copying keysign/locale/kk/LC_MESSAGES/keysign.po -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/kk/LC_MESSAGES creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/nl/LC_MESSAGES copying keysign/locale/nl/LC_MESSAGES/keysign.mo -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/nl/LC_MESSAGES copying keysign/locale/nl/LC_MESSAGES/keysign.po -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/nl/LC_MESSAGES creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/pl/LC_MESSAGES copying keysign/locale/pl/LC_MESSAGES/keysign.mo -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/pl/LC_MESSAGES copying keysign/locale/pl/LC_MESSAGES/keysign.po -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/pl/LC_MESSAGES creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/pt_BR/LC_MESSAGES copying keysign/locale/pt_BR/LC_MESSAGES/keysign.mo -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/pt_BR/LC_MESSAGES copying keysign/locale/pt_BR/LC_MESSAGES/keysign.po -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/pt_BR/LC_MESSAGES creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/ro/LC_MESSAGES copying keysign/locale/ro/LC_MESSAGES/keysign.mo -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/ro/LC_MESSAGES copying keysign/locale/ro/LC_MESSAGES/keysign.po -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/ro/LC_MESSAGES creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/ru/LC_MESSAGES copying keysign/locale/ru/LC_MESSAGES/keysign.mo -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/ru/LC_MESSAGES copying keysign/locale/ru/LC_MESSAGES/keysign.po -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/ru/LC_MESSAGES creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/sl/LC_MESSAGES copying keysign/locale/sl/LC_MESSAGES/keysign.mo -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/sl/LC_MESSAGES copying keysign/locale/sl/LC_MESSAGES/keysign.po -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/sl/LC_MESSAGES creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/sr/LC_MESSAGES copying keysign/locale/sr/LC_MESSAGES/keysign.mo -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/sr/LC_MESSAGES copying keysign/locale/sr/LC_MESSAGES/keysign.po -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/sr/LC_MESSAGES creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/sv/LC_MESSAGES copying keysign/locale/sv/LC_MESSAGES/keysign.mo -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/sv/LC_MESSAGES copying keysign/locale/sv/LC_MESSAGES/keysign.po -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/sv/LC_MESSAGES creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/tr/LC_MESSAGES copying keysign/locale/tr/LC_MESSAGES/keysign.mo -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/tr/LC_MESSAGES copying keysign/locale/tr/LC_MESSAGES/keysign.po -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/tr/LC_MESSAGES creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/uk/LC_MESSAGES copying keysign/locale/uk/LC_MESSAGES/keysign.mo -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/uk/LC_MESSAGES copying keysign/locale/uk/LC_MESSAGES/keysign.po -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/uk/LC_MESSAGES creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/zh_CN/LC_MESSAGES copying keysign/locale/zh_CN/LC_MESSAGES/keysign.mo -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/zh_CN/LC_MESSAGES copying keysign/locale/zh_CN/LC_MESSAGES/keysign.po -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gnome-keysign/build/keysign/locale/zh_CN/LC_MESSAGES debian/rules override_dh_auto_test make[1]: Entering directory '/<<PKGBUILDDIR>>' xvfb-run -a python3 -m pytest ============================= test session starts ============================== platform linux -- Python 3.14.6, pytest-9.1.1, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>> configfile: pyproject.toml testpaths: tests plugins: twisted-1.14.3, typeguard-4.4.4 collected 65 items tests/test_app.py .. [ 3%] tests/test_bluetooth.py ssFs [ 9%] tests/test_camera.py ... [ 13%] tests/test_camera_portal.py ............ [ 32%] tests/test_gpgmeh.py ................................. [ 83%] tests/test_latin1.py ... [ 87%] tests/test_uids.py .. [ 90%] tests/test_wormhole.py ssssss [100%] =================================== FAILURES =================================== ______________________________ test_bt_wrong_mac _______________________________ @inlineCallbacks @unittest.skipUnless(HAVE_BT, "requires bluetooth module") def test_bt_wrong_mac(): """This test requires one working Bluetooth device""" receive = BluetoothReceive() > msg_tuple = yield receive.find_key("01:23:45:67:89:AB", "hmac") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_bluetooth.py:124: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/twisted/internet/defer.py:1841: in _inlineCallbacks result = context.run(gen.send, result) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ keysign/bluetoothreceive.py:47: in find_key self.client_socket = socket.socket( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <socket.socket fd=-1, family=0, type=0, proto=0> family = <AddressFamily.AF_BLUETOOTH: 31>, type = <SocketKind.SOCK_STREAM: 1> proto = 3, fileno = None def __init__(self, family=-1, type=-1, proto=-1, fileno=None): # For user code address family and type values are IntEnum members, but # for the underlying _socket.socket they're just integers. The # constructor of _socket.socket converts the given argument to an # integer automatically. if fileno is None: if family == -1: family = AF_INET if type == -1: type = SOCK_STREAM if proto == -1: proto = 0 > _socket.socket.__init__(self, family, type, proto, fileno) E OSError: [Errno 97] Address family not supported by protocol /usr/lib/python3.14/socket.py:236: OSError =============================== warnings summary =============================== ../../../usr/lib/python3/dist-packages/gi/overrides/__init__.py:159 /usr/lib/python3/dist-packages/gi/overrides/__init__.py:159: PyGIDeprecationWarning: GLib.unix_signal_add_full is deprecated; use GLibUnix.signal_add_full instead value = getattr(proxy, attr) ../../../usr/lib/python3/dist-packages/twisted/internet/gireactor.py:33 /usr/lib/python3/dist-packages/twisted/internet/gireactor.py:33: PyGIDeprecationWarning: Since version 3.11, calling threads_init is no longer needed. See: https://pygobject.gnome.org/guide/threading.html#threads-faq GLib.threads_init() keysign/receive.py:66 /<<PKGBUILDDIR>>/keysign/receive.py:66: SyntaxWarning: "\s" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\s"? A raw string is also an option. cleaned = re.sub('[\s+]', '', s) tests/test_app.py::test_scanner_mapped_callback /<<PKGBUILDDIR>>/keysign/app.py:325: DeprecationWarning: Gtk.Widget.hide is deprecated self.internet_toggle.hide() tests/test_camera.py::test_camera_1_no_barcode /usr/lib/python3/dist-packages/gi/events.py:803: DeprecationWarning: 'asyncio.AbstractEventLoopPolicy' is deprecated and slated for removal in Python 3.16 AbstractEventLoopPolicy = getattr(asyncio, "AbstractEventLoopPolicy", object) tests/test_camera.py::test_camera_1_no_barcode tests/test_camera.py::test_camera_2_no_barcode tests/test_camera.py::test_camera_3_detects_barcode tests/test_camera_portal.py::test_pipewiresrc_barcode_decodes_qr tests/test_latin1.py::test_kpw tests/test_latin1.py::test_psw tests/test_latin1.py::test_klw /usr/lib/python3/dist-packages/gi/events.py:890: DeprecationWarning: 'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 3.16 if not isinstance(_get_event_loop_policy(), GLibEventLoopPolicy): tests/test_gpgmeh.py: 10 warnings /<<PKGBUILDDIR>>/keysign/gpgkey.py:119: DeprecationWarning: Legacy fpr, use the fingerprint property warnings.warn("Legacy fpr, use the fingerprint property", -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_bluetooth.py::test_bt_wrong_mac - OSError: [Errno 97] Addre... ============ 1 failed, 55 passed, 9 skipped, 22 warnings in 17.75s ============= make[1]: *** [debian/rules:38: override_dh_auto_test] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:20: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

