>>> py3-pytest-mypy: Building community/py3-pytest-mypy 0.10.3-r3 (using abuild 3.15.0-r0) started Mon, 13 Oct 2025 03:11:47 +0000 >>> py3-pytest-mypy: Validating /home/udu/aports/community/py3-pytest-mypy/APKBUILD... >>> py3-pytest-mypy: Analyzing dependencies... >>> py3-pytest-mypy: Installing for build: build-base py3-attrs py3-filelock py3-mypy py3-pytest py3-gpep517 py3-setuptools_scm py3-wheel py3-pexpect py3-pytest-xdist 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/41) Installing py3-attrs-pyc (25.3.0-r0) (2/41) Installing py3-attrs (25.3.0-r0) (3/41) Installing py3-filelock (3.16.1-r1) (4/41) Installing py3-filelock-pyc (3.16.1-r1) (5/41) Installing py3-mypy-extensions (1.0.0-r3) (6/41) Installing py3-mypy-extensions-pyc (1.0.0-r3) (7/41) Installing py3-typing-extensions (4.13.2-r0) (8/41) Installing py3-typing-extensions-pyc (4.13.2-r0) (9/41) Installing py3-mypy (1.15.0-r0) (10/41) Installing py3-mypy-pyc (1.15.0-r0) (11/41) Installing py3-iniconfig (2.1.0-r0) (12/41) Installing py3-iniconfig-pyc (2.1.0-r0) (13/41) Installing py3-parsing (3.2.3-r0) (14/41) Installing py3-parsing-pyc (3.2.3-r0) (15/41) Installing py3-packaging (25.0-r0) (16/41) Installing py3-packaging-pyc (25.0-r0) (17/41) Installing py3-pluggy (1.5.0-r0) (18/41) Installing py3-pluggy-pyc (1.5.0-r0) (19/41) Installing py3-py (1.11.0-r4) (20/41) Installing py3-py-pyc (1.11.0-r4) (21/41) Installing py3-pytest (8.3.5-r0) (22/41) Installing py3-pytest-pyc (8.3.5-r0) (23/41) Installing py3-installer (0.7.0-r2) (24/41) Installing py3-installer-pyc (0.7.0-r2) (25/41) Installing py3-gpep517 (19-r0) (26/41) Installing py3-gpep517-pyc (19-r0) (27/41) Installing py3-setuptools (80.9.0-r0) (28/41) Installing py3-setuptools-pyc (80.9.0-r0) (29/41) Installing py3-setuptools_scm (8.3.1-r0) (30/41) Installing py3-setuptools_scm-pyc (8.3.1-r0) (31/41) Installing py3-wheel (0.46.1-r0) (32/41) Installing py3-wheel-pyc (0.46.1-r0) (33/41) Installing py3-ptyprocess (0.7.0-r6) (34/41) Installing py3-ptyprocess-pyc (0.7.0-r6) (35/41) Installing py3-pexpect (4.9-r1) (36/41) Installing py3-pexpect-pyc (4.9-r1) (37/41) Installing py3-execnet (2.1.1-r0) (38/41) Installing py3-execnet-pyc (2.1.1-r0) (39/41) Installing py3-pytest-xdist (3.6.1-r0) (40/41) Installing py3-pytest-xdist-pyc (3.6.1-r0) (41/41) Installing .makedepends-py3-pytest-mypy (20251013.031147) Executing busybox-1.37.0-r19.trigger OK: 327 MiB in 130 packages >>> py3-pytest-mypy: Cleaning up srcdir >>> py3-pytest-mypy: Cleaning up pkgdir >>> py3-pytest-mypy: Cleaning up tmpdir >>> py3-pytest-mypy: Fetching py3-pytest-mypy-0.10.3.tar.gz::https://github.com/realpython/pytest-mypy/archive/refs/tags/v0.10.3.tar.gz >>> py3-pytest-mypy: Fetching py3-pytest-mypy-0.10.3.tar.gz::https://github.com/realpython/pytest-mypy/archive/refs/tags/v0.10.3.tar.gz >>> py3-pytest-mypy: Checking sha512sums... py3-pytest-mypy-0.10.3.tar.gz: OK timeout.patch: OK >>> py3-pytest-mypy: Unpacking /var/cache/distfiles/py3-pytest-mypy-0.10.3.tar.gz... >>> py3-pytest-mypy: timeout.patch patching file tests/test_pytest_mypy.py Hunk #1 succeeded at 429 with fuzz 1 (offset -50 lines). 2025-10-13 03:11:48,503 gpep517 INFO Building wheel via backend setuptools.build_meta /usr/lib/python3.12/site-packages/setuptools_scm/_integration/setuptools.py:92: UserWarning: version of pytest-mypy already set warnings.warn(f"version of {dist_name} already set") /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 :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() 2025-10-13 03:11:48,521 root INFO running bdist_wheel 2025-10-13 03:11:48,531 root INFO running build 2025-10-13 03:11:48,531 root INFO running build_py 2025-10-13 03:11:48,533 root INFO creating build/lib 2025-10-13 03:11:48,533 root INFO copying src/pytest_mypy.py -> build/lib 2025-10-13 03:11:48,537 root INFO installing to build/bdist.linux-x86_64/wheel 2025-10-13 03:11:48,537 root INFO running install 2025-10-13 03:11:48,542 root INFO running install_lib 2025-10-13 03:11:48,544 root INFO creating build/bdist.linux-x86_64/wheel 2025-10-13 03:11:48,544 root INFO copying build/lib/pytest_mypy.py -> build/bdist.linux-x86_64/wheel/. 2025-10-13 03:11:48,544 root INFO running install_egg_info 2025-10-13 03:11:48,546 root INFO running egg_info 2025-10-13 03:11:48,547 root INFO creating src/pytest_mypy.egg-info 2025-10-13 03:11:48,547 root INFO writing src/pytest_mypy.egg-info/PKG-INFO 2025-10-13 03:11:48,548 root INFO writing dependency_links to src/pytest_mypy.egg-info/dependency_links.txt 2025-10-13 03:11:48,548 root INFO writing entry points to src/pytest_mypy.egg-info/entry_points.txt 2025-10-13 03:11:48,549 root INFO writing requirements to src/pytest_mypy.egg-info/requires.txt 2025-10-13 03:11:48,549 root INFO writing top-level names to src/pytest_mypy.egg-info/top_level.txt 2025-10-13 03:11:48,549 root INFO writing manifest file 'src/pytest_mypy.egg-info/SOURCES.txt' ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any 2025-10-13 03:11:48,556 root INFO reading manifest file 'src/pytest_mypy.egg-info/SOURCES.txt' 2025-10-13 03:11:48,556 root INFO adding license file 'LICENSE' 2025-10-13 03:11:48,557 root INFO writing manifest file 'src/pytest_mypy.egg-info/SOURCES.txt' 2025-10-13 03:11:48,557 root INFO Copying src/pytest_mypy.egg-info to build/bdist.linux-x86_64/wheel/./pytest_mypy-0.10.3-py3.12.egg-info 2025-10-13 03:11:48,557 root INFO running install_scripts 2025-10-13 03:11:48,558 root INFO creating build/bdist.linux-x86_64/wheel/pytest_mypy-0.10.3.dist-info/WHEEL 2025-10-13 03:11:48,558 wheel INFO creating '/home/udu/aports/community/py3-pytest-mypy/src/pytest-mypy-0.10.3/.dist/.tmp-s4r8ttnl/pytest_mypy-0.10.3-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it 2025-10-13 03:11:48,558 wheel INFO adding 'pytest_mypy.py' 2025-10-13 03:11:48,558 wheel INFO adding 'pytest_mypy-0.10.3.dist-info/licenses/LICENSE' 2025-10-13 03:11:48,558 wheel INFO adding 'pytest_mypy-0.10.3.dist-info/METADATA' 2025-10-13 03:11:48,558 wheel INFO adding 'pytest_mypy-0.10.3.dist-info/WHEEL' 2025-10-13 03:11:48,558 wheel INFO adding 'pytest_mypy-0.10.3.dist-info/entry_points.txt' 2025-10-13 03:11:48,558 wheel INFO adding 'pytest_mypy-0.10.3.dist-info/top_level.txt' 2025-10-13 03:11:48,558 wheel INFO adding 'pytest_mypy-0.10.3.dist-info/RECORD' 2025-10-13 03:11:48,559 root INFO removing build/bdist.linux-x86_64/wheel 2025-10-13 03:11:48,559 gpep517 INFO The backend produced .dist/pytest_mypy-0.10.3-py3-none-any.whl pytest_mypy-0.10.3-py3-none-any.whl ============================================================================================================================================ test session starts ============================================================================================================================================= platform linux -- Python 3.12.11, pytest-8.3.5, pluggy-1.5.0 rootdir: /home/udu/aports/community/py3-pytest-mypy/src/pytest-mypy-0.10.3 configfile: tox.ini testpaths: tests plugins: mypy-0.10.3, xdist-3.6.1 created: 20/20 workers 20 workers [56 items] ............x.....x......x.x.F..F..xx................... [100%] ================================================================================================================================================== FAILURES ================================================================================================================================================== _________________________________________________________________________________________________________________________________________ test_looponfail[test_demo] _________________________________________________________________________________________________________________________________________ [gw17] linux -- Python 3.12.11 /home/udu/aports/community/py3-pytest-mypy/src/pytest-mypy-0.10.3/.testenv/bin/python3 testdir = , module_name = 'test_demo' @pytest.mark.parametrize("module_name", ["__init__", "test_demo"]) def test_looponfail(testdir, module_name): """Ensure that the plugin works with --looponfail.""" pass_source = textwrap.dedent( """\ def pyfunc(x: int) -> int: return x * 2 """, ) fail_source = textwrap.dedent( """\ def pyfunc(x: int) -> str: return x * 2 """, ) pyfile = testdir.makepyfile(**{module_name: fail_source}) looponfailroot = testdir.mkdir("looponfailroot") looponfailroot_pyfile = looponfailroot.join(pyfile.basename) pyfile.move(looponfailroot_pyfile) pyfile = looponfailroot_pyfile testdir.makeini( textwrap.dedent( """\ [pytest] looponfailroots = {looponfailroots} """.format( looponfailroots=looponfailroot, ), ), ) > child = testdir.spawn_pytest( "--mypy --looponfail " + str(pyfile), expect_timeout=300.0, ) /home/udu/aports/community/py3-pytest-mypy/src/pytest-mypy-0.10.3/tests/test_pytest_mypy.py:430: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/_pytest/legacypath.py:240: in spawn_pytest return self._pytester.spawn_pytest(string, expect_timeout=expect_timeout) /usr/lib/python3.12/site-packages/_pytest/pytester.py:1506: in spawn_pytest return self.spawn(cmd, expect_timeout=expect_timeout) /usr/lib/python3.12/site-packages/_pytest/pytester.py:1520: in spawn child = pexpect.spawn(cmd, logfile=logfile, timeout=expect_timeout) /usr/lib/python3.12/site-packages/pexpect/pty_spawn.py:205: in __init__ self._spawn(command, args, preexec_fn, dimensions) /usr/lib/python3.12/site-packages/pexpect/pty_spawn.py:303: in _spawn self.ptyproc = self._spawnpty(self.args, env=self.env, /usr/lib/python3.12/site-packages/pexpect/pty_spawn.py:315: in _spawnpty return ptyprocess.PtyProcess.spawn(args, **kwargs) /usr/lib/python3.12/site-packages/ptyprocess/ptyprocess.py:230: in spawn pid, fd = pty.fork() /usr/lib/python3.12/pty.py:107: in fork master_fd, slave_fd = openpty() /usr/lib/python3.12/pty.py:34: in openpty master_fd, slave_name = _open_terminal() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _open_terminal(): """Open pty master and return (master_fd, tty_name).""" for x in 'pqrstuvwxyzPQRST': for y in '0123456789abcdef': pty_name = '/dev/pty' + x + y try: fd = os.open(pty_name, os.O_RDWR) except OSError: continue return (fd, '/dev/tty' + x + y) > raise OSError('out of pty devices') E OSError: out of pty devices /usr/lib/python3.12/pty.py:67: OSError _________________________________________________________________________________________________________________________________________ test_looponfail[__init__] __________________________________________________________________________________________________________________________________________ [gw11] linux -- Python 3.12.11 /home/udu/aports/community/py3-pytest-mypy/src/pytest-mypy-0.10.3/.testenv/bin/python3 testdir = , module_name = '__init__' @pytest.mark.parametrize("module_name", ["__init__", "test_demo"]) def test_looponfail(testdir, module_name): """Ensure that the plugin works with --looponfail.""" pass_source = textwrap.dedent( """\ def pyfunc(x: int) -> int: return x * 2 """, ) fail_source = textwrap.dedent( """\ def pyfunc(x: int) -> str: return x * 2 """, ) pyfile = testdir.makepyfile(**{module_name: fail_source}) looponfailroot = testdir.mkdir("looponfailroot") looponfailroot_pyfile = looponfailroot.join(pyfile.basename) pyfile.move(looponfailroot_pyfile) pyfile = looponfailroot_pyfile testdir.makeini( textwrap.dedent( """\ [pytest] looponfailroots = {looponfailroots} """.format( looponfailroots=looponfailroot, ), ), ) > child = testdir.spawn_pytest( "--mypy --looponfail " + str(pyfile), expect_timeout=300.0, ) /home/udu/aports/community/py3-pytest-mypy/src/pytest-mypy-0.10.3/tests/test_pytest_mypy.py:430: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/_pytest/legacypath.py:240: in spawn_pytest return self._pytester.spawn_pytest(string, expect_timeout=expect_timeout) /usr/lib/python3.12/site-packages/_pytest/pytester.py:1506: in spawn_pytest return self.spawn(cmd, expect_timeout=expect_timeout) /usr/lib/python3.12/site-packages/_pytest/pytester.py:1520: in spawn child = pexpect.spawn(cmd, logfile=logfile, timeout=expect_timeout) /usr/lib/python3.12/site-packages/pexpect/pty_spawn.py:205: in __init__ self._spawn(command, args, preexec_fn, dimensions) /usr/lib/python3.12/site-packages/pexpect/pty_spawn.py:303: in _spawn self.ptyproc = self._spawnpty(self.args, env=self.env, /usr/lib/python3.12/site-packages/pexpect/pty_spawn.py:315: in _spawnpty return ptyprocess.PtyProcess.spawn(args, **kwargs) /usr/lib/python3.12/site-packages/ptyprocess/ptyprocess.py:230: in spawn pid, fd = pty.fork() /usr/lib/python3.12/pty.py:107: in fork master_fd, slave_fd = openpty() /usr/lib/python3.12/pty.py:34: in openpty master_fd, slave_name = _open_terminal() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _open_terminal(): """Open pty master and return (master_fd, tty_name).""" for x in 'pqrstuvwxyzPQRST': for y in '0123456789abcdef': pty_name = '/dev/pty' + x + y try: fd = os.open(pty_name, os.O_RDWR) except OSError: continue return (fd, '/dev/tty' + x + y) > raise OSError('out of pty devices') E OSError: out of pty devices /usr/lib/python3.12/pty.py:67: OSError ========================================================================================================================================== short test summary info =========================================================================================================================================== FAILED tests/test_pytest_mypy.py::test_looponfail[test_demo] - OSError: out of pty devices FAILED tests/test_pytest_mypy.py::test_looponfail[__init__] - OSError: out of pty devices ================================================================================================================================== 2 failed, 48 passed, 6 xfailed in 51.13s ================================================================================================================================== >>> ERROR: py3-pytest-mypy: check failed >>> py3-pytest-mypy: Uninstalling dependencies... (1/41) Purging .makedepends-py3-pytest-mypy (20251013.031147) (2/41) Purging py3-attrs-pyc (25.3.0-r0) (3/41) Purging py3-attrs (25.3.0-r0) (4/41) Purging py3-filelock-pyc (3.16.1-r1) (5/41) Purging py3-filelock (3.16.1-r1) (6/41) Purging py3-mypy-pyc (1.15.0-r0) (7/41) Purging py3-mypy (1.15.0-r0) (8/41) Purging py3-mypy-extensions-pyc (1.0.0-r3) (9/41) Purging py3-mypy-extensions (1.0.0-r3) (10/41) Purging py3-typing-extensions-pyc (4.13.2-r0) (11/41) Purging py3-typing-extensions (4.13.2-r0) (12/41) Purging py3-gpep517-pyc (19-r0) (13/41) Purging py3-gpep517 (19-r0) (14/41) Purging py3-installer-pyc (0.7.0-r2) (15/41) Purging py3-installer (0.7.0-r2) (16/41) Purging py3-setuptools_scm-pyc (8.3.1-r0) (17/41) Purging py3-setuptools_scm (8.3.1-r0) (18/41) Purging py3-setuptools-pyc (80.9.0-r0) (19/41) Purging py3-setuptools (80.9.0-r0) (20/41) Purging py3-wheel-pyc (0.46.1-r0) (21/41) Purging py3-wheel (0.46.1-r0) (22/41) Purging py3-pexpect-pyc (4.9-r1) (23/41) Purging py3-pexpect (4.9-r1) (24/41) Purging py3-ptyprocess-pyc (0.7.0-r6) (25/41) Purging py3-ptyprocess (0.7.0-r6) (26/41) Purging py3-pytest-xdist-pyc (3.6.1-r0) (27/41) Purging py3-pytest-xdist (3.6.1-r0) (28/41) Purging py3-execnet-pyc (2.1.1-r0) (29/41) Purging py3-execnet (2.1.1-r0) (30/41) Purging py3-pytest-pyc (8.3.5-r0) (31/41) Purging py3-pytest (8.3.5-r0) (32/41) Purging py3-iniconfig-pyc (2.1.0-r0) (33/41) Purging py3-iniconfig (2.1.0-r0) (34/41) Purging py3-packaging-pyc (25.0-r0) (35/41) Purging py3-packaging (25.0-r0) (36/41) Purging py3-parsing-pyc (3.2.3-r0) (37/41) Purging py3-parsing (3.2.3-r0) (38/41) Purging py3-pluggy-pyc (1.5.0-r0) (39/41) Purging py3-pluggy (1.5.0-r0) (40/41) Purging py3-py-pyc (1.11.0-r4) (41/41) Purging py3-py (1.11.0-r4) Executing busybox-1.37.0-r19.trigger OK: 296 MiB in 89 packages