>>> py3-pyserial: Building community/py3-pyserial 3.5-r7 (using abuild 3.15.0-r0) started Mon, 13 Oct 2025 03:03:02 +0000 >>> py3-pyserial: Validating /home/udu/aports/community/py3-pyserial/APKBUILD... >>> WARNING: py3-pyserial: No maintainer >>> py3-pyserial: Analyzing dependencies... >>> py3-pyserial: Installing for build: build-base python3 python3-dev py3-setuptools WARNING: opening /home/udu/packages//community: No such file or directory WARNING: opening /home/udu/packages//main: No such file or directory fetch http://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz (1/11) Upgrading python3 (3.12.11-r0 -> 3.12.12-r0) (2/11) Upgrading python3-pycache-pyc0 (3.12.11-r0 -> 3.12.12-r0) (3/11) Upgrading python3-pyc (3.12.11-r0 -> 3.12.12-r0) (4/11) Installing python3-dev (3.12.12-r0) (5/11) Installing py3-parsing (3.2.3-r0) (6/11) Installing py3-parsing-pyc (3.2.3-r0) (7/11) Installing py3-packaging (25.0-r0) (8/11) Installing py3-packaging-pyc (25.0-r0) (9/11) Installing py3-setuptools (80.9.0-r0) (10/11) Installing py3-setuptools-pyc (80.9.0-r0) (11/11) Installing .makedepends-py3-pyserial (20251013.030303) Executing busybox-1.37.0-r19.trigger OK: 349 MiB in 97 packages >>> py3-pyserial: Cleaning up srcdir >>> py3-pyserial: Cleaning up pkgdir >>> py3-pyserial: Cleaning up tmpdir >>> py3-pyserial: Fetching https://files.pythonhosted.org/packages/source/p/pyserial/pyserial-3.5.tar.gz >>> py3-pyserial: Fetching https://files.pythonhosted.org/packages/source/p/pyserial/pyserial-3.5.tar.gz >>> py3-pyserial: Checking sha512sums... pyserial-3.5.tar.gz: OK >>> py3-pyserial: Unpacking /var/cache/distfiles/pyserial-3.5.tar.gz... /usr/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: BSD License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running build running build_py creating build/lib/serial copying serial/serialutil.py -> build/lib/serial copying serial/serialcli.py -> build/lib/serial copying serial/rs485.py -> build/lib/serial copying serial/rfc2217.py -> build/lib/serial copying serial/serialposix.py -> build/lib/serial copying serial/win32.py -> build/lib/serial copying serial/__init__.py -> build/lib/serial copying serial/__main__.py -> build/lib/serial copying serial/serialjava.py -> build/lib/serial copying serial/serialwin32.py -> build/lib/serial creating build/lib/serial/tools copying serial/tools/list_ports.py -> build/lib/serial/tools copying serial/tools/list_ports_linux.py -> build/lib/serial/tools copying serial/tools/list_ports_posix.py -> build/lib/serial/tools copying serial/tools/list_ports_common.py -> build/lib/serial/tools copying serial/tools/hexlify_codec.py -> build/lib/serial/tools copying serial/tools/list_ports_windows.py -> build/lib/serial/tools copying serial/tools/list_ports_osx.py -> build/lib/serial/tools copying serial/tools/__init__.py -> build/lib/serial/tools copying serial/tools/miniterm.py -> build/lib/serial/tools creating build/lib/serial/urlhandler copying serial/urlhandler/protocol_cp2110.py -> build/lib/serial/urlhandler copying serial/urlhandler/protocol_loop.py -> build/lib/serial/urlhandler copying serial/urlhandler/protocol_rfc2217.py -> build/lib/serial/urlhandler copying serial/urlhandler/protocol_alt.py -> build/lib/serial/urlhandler copying serial/urlhandler/protocol_socket.py -> build/lib/serial/urlhandler copying serial/urlhandler/__init__.py -> build/lib/serial/urlhandler copying serial/urlhandler/protocol_spy.py -> build/lib/serial/urlhandler copying serial/urlhandler/protocol_hwgrep.py -> build/lib/serial/urlhandler creating build/lib/serial/threaded copying serial/threaded/__init__.py -> build/lib/serial/threaded /home/udu/aports/community/py3-pyserial/src/pyserial-3.5/test/run_all_tests.py:40: DeprecationWarning: unittest.findTestCases() is deprecated and will be removed in Python 3.13. Please use unittest.TestLoader.loadTestsFromModule() instead. testsuite = unittest.findTestCases(module) ..s.EEE..................................ssss................ ====================================================================== ERROR: test_pty_serial_open_slave (test_pty.Test_Pty_Serial_Open.test_pty_serial_open_slave) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/udu/aports/community/py3-pyserial/src/pyserial-3.5/test/test_pty.py", line 29, in setUp self.master, self.slave = pty.openpty() ^^^^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 34, in openpty master_fd, slave_name = _open_terminal() ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 67, in _open_terminal raise OSError('out of pty devices') OSError: out of pty devices ====================================================================== ERROR: test_pty_serial_read (test_pty.Test_Pty_Serial_Open.test_pty_serial_read) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/udu/aports/community/py3-pyserial/src/pyserial-3.5/test/test_pty.py", line 29, in setUp self.master, self.slave = pty.openpty() ^^^^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 34, in openpty master_fd, slave_name = _open_terminal() ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 67, in _open_terminal raise OSError('out of pty devices') OSError: out of pty devices ====================================================================== ERROR: test_pty_serial_write (test_pty.Test_Pty_Serial_Open.test_pty_serial_write) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/udu/aports/community/py3-pyserial/src/pyserial-3.5/test/test_pty.py", line 29, in setUp self.master, self.slave = pty.openpty() ^^^^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 34, in openpty master_fd, slave_name = _open_terminal() ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/pty.py", line 67, in _open_terminal raise OSError('out of pty devices') OSError: out of pty devices ---------------------------------------------------------------------- Ran 61 tests in 26.776s FAILED (errors=3, skipped=5) Patching sys.path to test local version. Testing Version: 3.5 found 2 tests in 'test_util' found 0 tests in 'test_asyncio' found 2 tests in 'test_rs485' found 3 tests in 'test_pty' found 1 tests in 'test_iolib' found 2 tests in 'test_threaded' found 4 tests in 'test_settings_dict' found 3 tests in 'test_url' found 2 tests in 'test_high_load' found 4 tests in 'test_timeout_class' found 10 tests in 'test_advanced' found 2 tests in 'test_cancel' found 1 tests in 'test_rfc2217' found 5 tests in 'test_readline' found 4 tests in 'test_exclusive' found 1 tests in 'test_context' found 15 tests in 'test' >>> ERROR: py3-pyserial: check failed >>> py3-pyserial: Uninstalling dependencies... (1/8) Purging .makedepends-py3-pyserial (20251013.030303) (2/8) Purging python3-dev (3.12.12-r0) (3/8) Purging py3-setuptools-pyc (80.9.0-r0) (4/8) Purging py3-setuptools (80.9.0-r0) (5/8) Purging py3-packaging-pyc (25.0-r0) (6/8) Purging py3-packaging (25.0-r0) (7/8) Purging py3-parsing-pyc (3.2.3-r0) (8/8) Purging py3-parsing (3.2.3-r0) Executing busybox-1.37.0-r19.trigger OK: 296 MiB in 89 packages