>>> py3-stack_data: Building community/py3-stack_data 0.6.3-r1 (using abuild 3.15.0_rc3-r1) started Wed, 30 Apr 2025 08:37:18 +0000 >>> py3-stack_data: Validating /home/buildozer/aports/community/py3-stack_data/APKBUILD... >>> py3-stack_data: Analyzing dependencies... >>> py3-stack_data: Installing for build: build-base python3 py3-executing py3-asttokens py3-pure_eval py3-gpep517 py3-setuptools_scm py3-wheel cython py3-littleutils py3-pygments py3-pytest py3-typeguard py3-typing-extensions python3-dev (1/61) Installing libbz2 (1.0.8-r6) (2/61) Installing libffi (3.4.8-r0) (3/61) Installing gdbm (1.24-r0) (4/61) Installing xz-libs (5.8.1-r0) (5/61) Installing mpdecimal (4.0.0-r0) (6/61) Installing libpanelw (6.5_p20250412-r0) (7/61) Installing sqlite-libs (3.49.1-r1) (8/61) Installing python3 (3.12.10-r0) (9/61) Installing python3-pycache-pyc0 (3.12.10-r0) (10/61) Installing pyc (3.12.10-r0) (11/61) Installing python3-pyc (3.12.10-r0) (12/61) Installing py3-executing (2.2.0-r0) (13/61) Installing py3-executing-pyc (2.2.0-r0) (14/61) Installing py3-asttokens (3.0.0-r0) (15/61) Installing py3-asttokens-pyc (3.0.0-r0) (16/61) Installing py3-pure_eval (0.2.3-r0) (17/61) Installing py3-pure_eval-pyc (0.2.3-r0) (18/61) Installing py3-installer (0.7.0-r2) (19/61) Installing py3-installer-pyc (0.7.0-r2) (20/61) Installing py3-gpep517 (16-r0) (21/61) Installing py3-gpep517-pyc (16-r0) (22/61) Installing py3-parsing (3.2.0-r0) (23/61) Installing py3-parsing-pyc (3.2.0-r0) (24/61) Installing py3-packaging (25.0-r0) (25/61) Installing py3-packaging-pyc (25.0-r0) (26/61) Installing py3-setuptools (77.0.3-r0) (27/61) Installing py3-setuptools-pyc (77.0.3-r0) (28/61) Installing py3-setuptools_scm (8.2.0-r0) (29/61) Installing py3-setuptools_scm-pyc (8.2.0-r0) (30/61) Installing py3-wheel (0.43.0-r0) (31/61) Installing py3-wheel-pyc (0.43.0-r0) (32/61) Installing cython (3.0.12-r0) (33/61) Installing cython-pyc (3.0.12-r0) (34/61) Installing py3-littleutils (0.2.4-r0) (35/61) Installing py3-littleutils-pyc (0.2.4-r0) (36/61) Installing py3-pygments (2.19.1-r1) (37/61) Installing py3-pygments-pyc (2.19.1-r1) (38/61) Installing py3-iniconfig (2.1.0-r0) (39/61) Installing py3-iniconfig-pyc (2.1.0-r0) (40/61) Installing py3-pluggy (1.5.0-r0) (41/61) Installing py3-pluggy-pyc (1.5.0-r0) (42/61) Installing py3-py (1.11.0-r4) (43/61) Installing py3-py-pyc (1.11.0-r4) (44/61) Installing py3-pytest (8.3.5-r0) (45/61) Installing py3-pytest-pyc (8.3.5-r0) (46/61) Installing py3-editables (0.5-r2) (47/61) Installing py3-editables-pyc (0.5-r2) (48/61) Installing py3-pathspec (0.12.1-r2) (49/61) Installing py3-pathspec-pyc (0.12.1-r2) (50/61) Installing py3-trove-classifiers (2025.1.15.22-r0) (51/61) Installing py3-trove-classifiers-pyc (2025.1.15.22-r0) (52/61) Installing py3-hatchling (1.27.0-r0) (53/61) Installing py3-hatchling-pyc (1.27.0-r0) (54/61) Installing py3-bracex (2.5-r0) (55/61) Installing py3-bracex-pyc (2.5-r0) (56/61) Installing py3-typing-extensions (4.13.2-r0) (57/61) Installing py3-typing-extensions-pyc (4.13.2-r0) (58/61) Installing py3-typeguard (4.4.2-r0) (59/61) Installing py3-typeguard-pyc (4.4.2-r0) (60/61) Installing python3-dev (3.12.10-r0) (61/61) Installing .makedepends-py3-stack_data (20250430.083738) Executing busybox-1.37.0-r16.trigger OK: 490 MiB in 163 packages >>> py3-stack_data: Cleaning up srcdir >>> py3-stack_data: Cleaning up pkgdir >>> py3-stack_data: Cleaning up tmpdir >>> py3-stack_data: Fetching https://distfiles.alpinelinux.org/distfiles/v3.22/py3-stack_data-0.6.3.tar.gz >>> py3-stack_data: Fetching https://distfiles.alpinelinux.org/distfiles/v3.22/py3-stack_data-0.6.3.tar.gz >>> py3-stack_data: Checking sha512sums... py3-stack_data-0.6.3.tar.gz: OK >>> py3-stack_data: Unpacking /var/cache/distfiles/v3.22/py3-stack_data-0.6.3.tar.gz... 2025-04-30 08:37:39,221 gpep517 INFO Building wheel via backend setuptools.build_meta /usr/lib/python3.12/site-packages/setuptools/dist.py:760: 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-04-30 08:37:39,255 root INFO running bdist_wheel 2025-04-30 08:37:39,328 root INFO running build 2025-04-30 08:37:39,328 root INFO running build_py 2025-04-30 08:37:39,333 root INFO creating build/lib/stack_data 2025-04-30 08:37:39,333 root INFO copying stack_data/version.py -> build/lib/stack_data 2025-04-30 08:37:39,333 root INFO copying stack_data/__init__.py -> build/lib/stack_data 2025-04-30 08:37:39,334 root INFO copying stack_data/formatting.py -> build/lib/stack_data 2025-04-30 08:37:39,334 root INFO copying stack_data/serializing.py -> build/lib/stack_data 2025-04-30 08:37:39,334 root INFO copying stack_data/utils.py -> build/lib/stack_data 2025-04-30 08:37:39,334 root INFO copying stack_data/core.py -> build/lib/stack_data 2025-04-30 08:37:39,334 root INFO running egg_info 2025-04-30 08:37:39,337 root INFO creating stack_data.egg-info 2025-04-30 08:37:39,337 root INFO writing stack_data.egg-info/PKG-INFO 2025-04-30 08:37:39,339 root INFO writing dependency_links to stack_data.egg-info/dependency_links.txt 2025-04-30 08:37:39,339 root INFO writing requirements to stack_data.egg-info/requires.txt 2025-04-30 08:37:39,339 root INFO writing top-level names to stack_data.egg-info/top_level.txt 2025-04-30 08:37:39,339 root INFO writing manifest file 'stack_data.egg-info/SOURCES.txt' ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any 2025-04-30 08:37:39,353 root INFO reading manifest file 'stack_data.egg-info/SOURCES.txt' 2025-04-30 08:37:39,353 root INFO reading manifest template 'MANIFEST.in' 2025-04-30 08:37:39,353 root INFO adding license file 'LICENSE.txt' 2025-04-30 08:37:39,354 root INFO writing manifest file 'stack_data.egg-info/SOURCES.txt' 2025-04-30 08:37:39,355 root INFO copying stack_data/py.typed -> build/lib/stack_data 2025-04-30 08:37:39,362 root INFO installing to build/bdist.linux-s390x/wheel 2025-04-30 08:37:39,362 root INFO running install 2025-04-30 08:37:39,371 root INFO running install_lib 2025-04-30 08:37:39,375 root INFO creating build/bdist.linux-s390x/wheel 2025-04-30 08:37:39,375 root INFO creating build/bdist.linux-s390x/wheel/stack_data 2025-04-30 08:37:39,375 root INFO copying build/lib/stack_data/version.py -> build/bdist.linux-s390x/wheel/./stack_data 2025-04-30 08:37:39,375 root INFO copying build/lib/stack_data/__init__.py -> build/bdist.linux-s390x/wheel/./stack_data 2025-04-30 08:37:39,375 root INFO copying build/lib/stack_data/py.typed -> build/bdist.linux-s390x/wheel/./stack_data 2025-04-30 08:37:39,376 root INFO copying build/lib/stack_data/formatting.py -> build/bdist.linux-s390x/wheel/./stack_data 2025-04-30 08:37:39,376 root INFO copying build/lib/stack_data/serializing.py -> build/bdist.linux-s390x/wheel/./stack_data 2025-04-30 08:37:39,376 root INFO copying build/lib/stack_data/utils.py -> build/bdist.linux-s390x/wheel/./stack_data 2025-04-30 08:37:39,376 root INFO copying build/lib/stack_data/core.py -> build/bdist.linux-s390x/wheel/./stack_data 2025-04-30 08:37:39,376 root INFO running install_egg_info 2025-04-30 08:37:39,380 root INFO Copying stack_data.egg-info to build/bdist.linux-s390x/wheel/./stack_data-0.6.3-py3.12.egg-info 2025-04-30 08:37:39,381 root INFO running install_scripts 2025-04-30 08:37:39,381 root INFO creating build/bdist.linux-s390x/wheel/stack_data-0.6.3.dist-info/WHEEL 2025-04-30 08:37:39,382 wheel INFO creating '/home/buildozer/aports/community/py3-stack_data/src/stack_data-0.6.3/.dist/.tmp-s0x3i48x/stack_data-0.6.3-py3-none-any.whl' and adding 'build/bdist.linux-s390x/wheel' to it 2025-04-30 08:37:39,382 wheel INFO adding 'stack_data/__init__.py' 2025-04-30 08:37:39,382 wheel INFO adding 'stack_data/core.py' 2025-04-30 08:37:39,382 wheel INFO adding 'stack_data/formatting.py' 2025-04-30 08:37:39,382 wheel INFO adding 'stack_data/py.typed' 2025-04-30 08:37:39,382 wheel INFO adding 'stack_data/serializing.py' 2025-04-30 08:37:39,383 wheel INFO adding 'stack_data/utils.py' 2025-04-30 08:37:39,383 wheel INFO adding 'stack_data/version.py' 2025-04-30 08:37:39,383 wheel INFO adding 'stack_data-0.6.3.dist-info/licenses/LICENSE.txt' 2025-04-30 08:37:39,383 wheel INFO adding 'stack_data-0.6.3.dist-info/METADATA' 2025-04-30 08:37:39,383 wheel INFO adding 'stack_data-0.6.3.dist-info/WHEEL' 2025-04-30 08:37:39,383 wheel INFO adding 'stack_data-0.6.3.dist-info/top_level.txt' 2025-04-30 08:37:39,383 wheel INFO adding 'stack_data-0.6.3.dist-info/RECORD' 2025-04-30 08:37:39,383 root INFO removing build/bdist.linux-s390x/wheel 2025-04-30 08:37:39,384 gpep517 INFO The backend produced .dist/stack_data-0.6.3-py3-none-any.whl stack_data-0.6.3-py3-none-any.whl ============================= test session starts ============================== platform linux -- Python 3.12.10, pytest-8.3.5, pluggy-1.5.0 rootdir: /home/buildozer/aports/community/py3-stack_data/src/stack_data-0.6.3 configfile: pyproject.toml plugins: typeguard-4.4.2 collected 21 items tests/test_core.py .........FFFF.F [ 71%] tests/test_formatter.py .. [ 80%] tests/test_serializer.py F [ 85%] tests/test_utils.py ... [100%] =================================== FAILURES =================================== _ test_executing_style_defs[.c { color: #(999999|ababab); font-style: italic }] _ expected = '.c { color: #(999999|ababab); font-style: italic }' @pytest.mark.parametrize("expected", [ r".c { color: #(999999|ababab); font-style: italic }", r".err { color: #a61717; background-color: #e3d2d2 }", r".c-ExecutingNode { color: #(999999|ababab); font-style: italic; background-color: #ffff00 }", r".err-ExecutingNode { color: #a61717; background-color: #ffff00 }", ] ) def test_executing_style_defs(expected): style = style_with_executing_node("native", "bg:#ffff00") formatter = HtmlFormatter(style=style) style_defs = formatter.get_style_defs() > assert re.search(expected, style_defs) E AssertionError: assert None E + where None = ('.c { color: #(999999|ababab); font-style: italic }', 'pre { line-height: 125%; }\ntd.linenos .normal { color: #aaaaaa; background-color: transparent; padding-left: 5px; pa...gNode */\n.il-ExecutingNode { color: #51B2FD; background-color: #FF0 } /* Literal.Number.Integer.Long.ExecutingNode */') E + where = re.search tests/test_core.py:585: AssertionError _ test_executing_style_defs[.err { color: #a61717; background-color: #e3d2d2 }] _ expected = '.err { color: #a61717; background-color: #e3d2d2 }' @pytest.mark.parametrize("expected", [ r".c { color: #(999999|ababab); font-style: italic }", r".err { color: #a61717; background-color: #e3d2d2 }", r".c-ExecutingNode { color: #(999999|ababab); font-style: italic; background-color: #ffff00 }", r".err-ExecutingNode { color: #a61717; background-color: #ffff00 }", ] ) def test_executing_style_defs(expected): style = style_with_executing_node("native", "bg:#ffff00") formatter = HtmlFormatter(style=style) style_defs = formatter.get_style_defs() > assert re.search(expected, style_defs) E AssertionError: assert None E + where None = ('.err { color: #a61717; background-color: #e3d2d2 }', 'pre { line-height: 125%; }\ntd.linenos .normal { color: #aaaaaa; background-color: transparent; padding-left: 5px; pa...gNode */\n.il-ExecutingNode { color: #51B2FD; background-color: #FF0 } /* Literal.Number.Integer.Long.ExecutingNode */') E + where = re.search tests/test_core.py:585: AssertionError _ test_executing_style_defs[.c-ExecutingNode { color: #(999999|ababab); font-style: italic; background-color: #ffff00 }] _ expected = '.c-ExecutingNode { color: #(999999|ababab); font-style: italic; background-color: #ffff00 }' @pytest.mark.parametrize("expected", [ r".c { color: #(999999|ababab); font-style: italic }", r".err { color: #a61717; background-color: #e3d2d2 }", r".c-ExecutingNode { color: #(999999|ababab); font-style: italic; background-color: #ffff00 }", r".err-ExecutingNode { color: #a61717; background-color: #ffff00 }", ] ) def test_executing_style_defs(expected): style = style_with_executing_node("native", "bg:#ffff00") formatter = HtmlFormatter(style=style) style_defs = formatter.get_style_defs() > assert re.search(expected, style_defs) E AssertionError: assert None E + where None = ('.c-ExecutingNode { color: #(999999|ababab); font-style: italic; background-color: #ffff00 }', 'pre { line-height: 125%; }\ntd.linenos .normal { color: #aaaaaa; background-color: transparent; padding-left: 5px; pa...gNode */\n.il-ExecutingNode { color: #51B2FD; background-color: #FF0 } /* Literal.Number.Integer.Long.ExecutingNode */') E + where = re.search tests/test_core.py:585: AssertionError _ test_executing_style_defs[.err-ExecutingNode { color: #a61717; background-color: #ffff00 }] _ expected = '.err-ExecutingNode { color: #a61717; background-color: #ffff00 }' @pytest.mark.parametrize("expected", [ r".c { color: #(999999|ababab); font-style: italic }", r".err { color: #a61717; background-color: #e3d2d2 }", r".c-ExecutingNode { color: #(999999|ababab); font-style: italic; background-color: #ffff00 }", r".err-ExecutingNode { color: #a61717; background-color: #ffff00 }", ] ) def test_executing_style_defs(expected): style = style_with_executing_node("native", "bg:#ffff00") formatter = HtmlFormatter(style=style) style_defs = formatter.get_style_defs() > assert re.search(expected, style_defs) E AssertionError: assert None E + where None = ('.err-ExecutingNode { color: #a61717; background-color: #ffff00 }', 'pre { line-height: 125%; }\ntd.linenos .normal { color: #aaaaaa; background-color: transparent; padding-left: 5px; pa...gNode */\n.il-ExecutingNode { color: #51B2FD; background-color: #FF0 } /* Literal.Number.Integer.Long.ExecutingNode */') E + where = re.search tests/test_core.py:585: AssertionError ____________________________ test_pygments_example _____________________________ @pytest.mark.skipif(pygments_version < (2, 14), reason="Different output in older Pygments") def test_pygments_example(): from .samples.pygments_example import bar result = bar() print(result) > assert result == """\ Terminal256Formatter native: 13 | \x1b[38;5;70;01mdef\x1b[39;00m\x1b[38;5;252m \x1b[39m\x1b[38;5;75mbar\x1b[39m\x1b[38;5;252m(\x1b[39m\x1b[38;5;252m)\x1b[39m\x1b[38;5;252m:\x1b[39m 14 | \x1b[38;5;252m \x1b[39m\x1b[38;5;252mx\x1b[39m\x1b[38;5;252m \x1b[39m\x1b[38;5;252m=\x1b[39m\x1b[38;5;252m \x1b[39m\x1b[38;5;75m1\x1b[39m 15 | \x1b[38;5;252m \x1b[39m\x1b[38;5;38mstr\x1b[39m\x1b[38;5;252m(\x1b[39m\x1b[38;5;252mx\x1b[39m\x1b[38;5;252m)\x1b[39m 17 | \x1b[38;5;252m \x1b[39m\x1b[38;5;214m@deco\x1b[39m 18 | \x1b[38;5;252m \x1b[39m\x1b[38;5;70;01mdef\x1b[39;00m\x1b[38;5;252m \x1b[39m\x1b[38;5;75mfoo\x1b[39m\x1b[38;5;252m(\x1b[39m\x1b[38;5;252m)\x1b[39m\x1b[38;5;252m:\x1b[39m 19 | \x1b[38;5;252m \x1b[39m\x1b[38;5;70;01mpass\x1b[39;00m ----- 25 | \x1b[38;5;70;01mdef\x1b[39;00m\x1b[38;5;252m \x1b[39m\x1b[38;5;75mdeco\x1b[39m\x1b[38;5;252m(\x1b[39m\x1b[38;5;252mf\x1b[39m\x1b[38;5;252m)\x1b[39m\x1b[38;5;252m:\x1b[39m 26 | \x1b[38;5;252m \x1b[39m\x1b[38;5;252mf\x1b[39m\x1b[38;5;252m.\x1b[39m\x1b[38;5;252mresult\x1b[39m\x1b[38;5;252m \x1b[39m\x1b[38;5;252m=\x1b[39m\x1b[38;5;252m \x1b[39m\x1b[38;5;252mprint_stack\x1b[39m\x1b[38;5;252m(\x1b[39m\x1b[38;5;252m)\x1b[39m 27 | \x1b[38;5;252m \x1b[39m\x1b[38;5;70;01mreturn\x1b[39;00m\x1b[38;5;252m \x1b[39m\x1b[38;5;252mf\x1b[39m ----- ==================== Terminal256Formatter .NewStyle\'>: 13 | \x1b[38;5;70;01mdef\x1b[39;00m\x1b[38;5;252m \x1b[39m\x1b[38;5;75mbar\x1b[39m\x1b[38;5;252m(\x1b[39m\x1b[38;5;252m)\x1b[39m\x1b[38;5;252m:\x1b[39m 14 | \x1b[38;5;252m \x1b[39m\x1b[38;5;252mx\x1b[39m\x1b[38;5;252m \x1b[39m\x1b[38;5;252m=\x1b[39m\x1b[38;5;252m \x1b[39m\x1b[38;5;75m1\x1b[39m 15 | \x1b[38;5;252m \x1b[39m\x1b[38;5;38mstr\x1b[39m\x1b[38;5;252m(\x1b[39m\x1b[38;5;252mx\x1b[39m\x1b[38;5;252m)\x1b[39m 17 | \x1b[38;5;252;48;5;58m \x1b[39;49m\x1b[38;5;214;48;5;58m@deco\x1b[39;49m 18 | \x1b[38;5;252;48;5;58m \x1b[39;49m\x1b[38;5;70;48;5;58;01mdef\x1b[39;49;00m\x1b[38;5;252;48;5;58m \x1b[39;49m\x1b[38;5;75;48;5;58mfoo\x1b[39;49m\x1b[38;5;252;48;5;58m(\x1b[39;49m\x1b[38;5;252;48;5;58m)\x1b[39;49m\x1b[38;5;252;48;5;58m:\x1b[39;49m 19 | \x1b[38;5;252;48;5;58m \x1b[39;49m\x1b[38;5;70;48;5;58;01mpass\x1b[39;49;00m ----- 25 | \x1b[38;5;70;01mdef\x1b[39;00m\x1b[38;5;252m \x1b[39m\x1b[38;5;75mdeco\x1b[39m\x1b[38;5;252m(\x1b[39m\x1b[38;5;252mf\x1b[39m\x1b[38;5;252m)\x1b[39m\x1b[38;5;252m:\x1b[39m 26 | \x1b[38;5;252m \x1b[39m\x1b[38;5;252mf\x1b[39m\x1b[38;5;252m.\x1b[39m\x1b[38;5;252mresult\x1b[39m\x1b[38;5;252m \x1b[39m\x1b[38;5;252m=\x1b[39m\x1b[38;5;252m \x1b[39m\x1b[38;5;252;48;5;58mprint_stack\x1b[39;49m\x1b[38;5;252;48;5;58m(\x1b[39;49m\x1b[38;5;252;48;5;58m)\x1b[39;49m 27 | \x1b[38;5;252m \x1b[39m\x1b[38;5;70;01mreturn\x1b[39;00m\x1b[38;5;252m \x1b[39m\x1b[38;5;252mf\x1b[39m ----- ==================== TerminalFormatter native: 13 | \x1b[34mdef\x1b[39;49;00m \x1b[32mbar\x1b[39;49;00m():\x1b[37m\x1b[39;49;00m 14 | x = \x1b[34m1\x1b[39;49;00m\x1b[37m\x1b[39;49;00m 15 | \x1b[36mstr\x1b[39;49;00m(x)\x1b[37m\x1b[39;49;00m 17 | \x1b[90m@deco\x1b[39;49;00m\x1b[37m\x1b[39;49;00m 18 | \x1b[34mdef\x1b[39;49;00m \x1b[32mfoo\x1b[39;49;00m():\x1b[37m\x1b[39;49;00m 19 | \x1b[34mpass\x1b[39;49;00m\x1b[37m\x1b[39;49;00m ----- 25 | \x1b[34mdef\x1b[39;49;00m \x1b[32mdeco\x1b[39;49;00m(f):\x1b[37m\x1b[39;49;00m 26 | f.result = print_stack()\x1b[37m\x1b[39;49;00m 27 | \x1b[34mreturn\x1b[39;49;00m f\x1b[37m\x1b[39;49;00m ----- ==================== TerminalFormatter .NewStyle\'>: 13 | \x1b[34mdef\x1b[39;49;00m \x1b[32mbar\x1b[39;49;00m():\x1b[37m\x1b[39;49;00m 14 | x = \x1b[34m1\x1b[39;49;00m\x1b[37m\x1b[39;49;00m 15 | \x1b[36mstr\x1b[39;49;00m(x)\x1b[37m\x1b[39;49;00m 17 | \x1b[90m@deco\x1b[39;49;00m\x1b[37m\x1b[39;49;00m 18 | \x1b[34mdef\x1b[39;49;00m \x1b[32mfoo\x1b[39;49;00m():\x1b[37m\x1b[39;49;00m 19 | \x1b[34mpass\x1b[39;49;00m\x1b[37m\x1b[39;49;00m ----- 25 | \x1b[34mdef\x1b[39;49;00m \x1b[32mdeco\x1b[39;49;00m(f):\x1b[37m\x1b[39;49;00m 26 | f.result = print_stack()\x1b[37m\x1b[39;49;00m 27 | \x1b[34mreturn\x1b[39;49;00m f\x1b[37m\x1b[39;49;00m ----- ==================== TerminalTrueColorFormatter native: 13 | \x1b[38;2;110;191;38;01mdef\x1b[39;00m\x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;113;173;255mbar\x1b[39m\x1b[38;2;208;208;208m(\x1b[39m\x1b[38;2;208;208;208m)\x1b[39m\x1b[38;2;208;208;208m:\x1b[39m 14 | \x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;208;208;208mx\x1b[39m\x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;208;208;208m=\x1b[39m\x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;81;178;253m1\x1b[39m 15 | \x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;47;188;205mstr\x1b[39m\x1b[38;2;208;208;208m(\x1b[39m\x1b[38;2;208;208;208mx\x1b[39m\x1b[38;2;208;208;208m)\x1b[39m 17 | \x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;255;165;0m@deco\x1b[39m 18 | \x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;110;191;38;01mdef\x1b[39;00m\x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;113;173;255mfoo\x1b[39m\x1b[38;2;208;208;208m(\x1b[39m\x1b[38;2;208;208;208m)\x1b[39m\x1b[38;2;208;208;208m:\x1b[39m 19 | \x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;110;191;38;01mpass\x1b[39;00m ----- 25 | \x1b[38;2;110;191;38;01mdef\x1b[39;00m\x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;113;173;255mdeco\x1b[39m\x1b[38;2;208;208;208m(\x1b[39m\x1b[38;2;208;208;208mf\x1b[39m\x1b[38;2;208;208;208m)\x1b[39m\x1b[38;2;208;208;208m:\x1b[39m 26 | \x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;208;208;208mf\x1b[39m\x1b[38;2;208;208;208m.\x1b[39m\x1b[38;2;208;208;208mresult\x1b[39m\x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;208;208;208m=\x1b[39m\x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;208;208;208mprint_stack\x1b[39m\x1b[38;2;208;208;208m(\x1b[39m\x1b[38;2;208;208;208m)\x1b[39m 27 | \x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;110;191;38;01mreturn\x1b[39;00m\x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;208;208;208mf\x1b[39m ----- ==================== TerminalTrueColorFormatter .NewStyle\'>: 13 | \x1b[38;2;110;191;38;01mdef\x1b[39;00m\x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;113;173;255mbar\x1b[39m\x1b[38;2;208;208;208m(\x1b[39m\x1b[38;2;208;208;208m)\x1b[39m\x1b[38;2;208;208;208m:\x1b[39m 14 | \x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;208;208;208mx\x1b[39m\x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;208;208;208m=\x1b[39m\x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;81;178;253m1\x1b[39m 15 | \x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;47;188;205mstr\x1b[39m\x1b[38;2;208;208;208m(\x1b[39m\x1b[38;2;208;208;208mx\x1b[39m\x1b[38;2;208;208;208m)\x1b[39m 17 | \x1b[38;2;208;208;208;48;2;68;68;0m \x1b[39;49m\x1b[38;2;255;165;0;48;2;68;68;0m@deco\x1b[39;49m 18 | \x1b[38;2;208;208;208;48;2;68;68;0m \x1b[39;49m\x1b[38;2;110;191;38;48;2;68;68;0;01mdef\x1b[39;49;00m\x1b[38;2;208;208;208;48;2;68;68;0m \x1b[39;49m\x1b[38;2;113;173;255;48;2;68;68;0mfoo\x1b[39;49m\x1b[38;2;208;208;208;48;2;68;68;0m(\x1b[39;49m\x1b[38;2;208;208;208;48;2;68;68;0m)\x1b[39;49m\x1b[38;2;208;208;208;48;2;68;68;0m:\x1b[39;49m 19 | \x1b[38;2;208;208;208;48;2;68;68;0m \x1b[39;49m\x1b[38;2;110;191;38;48;2;68;68;0;01mpass\x1b[39;49;00m ----- 25 | \x1b[38;2;110;191;38;01mdef\x1b[39;00m\x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;113;173;255mdeco\x1b[39m\x1b[38;2;208;208;208m(\x1b[39m\x1b[38;2;208;208;208mf\x1b[39m\x1b[38;2;208;208;208m)\x1b[39m\x1b[38;2;208;208;208m:\x1b[39m 26 | \x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;208;208;208mf\x1b[39m\x1b[38;2;208;208;208m.\x1b[39m\x1b[38;2;208;208;208mresult\x1b[39m\x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;208;208;208m=\x1b[39m\x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;208;208;208;48;2;68;68;0mprint_stack\x1b[39;49m\x1b[38;2;208;208;208;48;2;68;68;0m(\x1b[39;49m\x1b[38;2;208;208;208;48;2;68;68;0m)\x1b[39;49m 27 | \x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;110;191;38;01mreturn\x1b[39;00m\x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;208;208;208mf\x1b[39m ----- ==================== HtmlFormatter native: 13 | def bar(): 14 | x = 1 15 | str(x) 17 | @deco 18 | def foo(): 19 | pass ----- 25 | def deco(f): 26 | f.result = print_stack() 27 | return f ----- ==================== HtmlFormatter .NewStyle\'>: 13 | def bar(): 14 | x = 1 15 | str(x) 17 | @deco 18 | def foo(): 19 | pass ----- 25 | def deco(f): 26 | f.result = print_stack() 27 | return f ----- ==================== """ E AssertionError: assert 'Terminal256F...=========\n\n' == 'Terminal256F...=========\n\n' E E Skipping 59 identical leading characters in diff, use -v to show E - 0m bar(): E ? ^^ E + 0m bar(): E ? ^^ E 14 |  x = 1... E E ...Full output truncated (191 lines hidden), use '-vv' to show tests/test_core.py:638: AssertionError ----------------------------- Captured stdout call ----------------------------- Terminal256Formatter native: 13 | def bar(): 14 |  x = 1 15 |  str(x) 17 |  @deco 18 |  def foo(): 19 |  pass ----- 25 | def deco(f): 26 |  f.result = print_stack() 27 |  return f ----- ==================== Terminal256Formatter .NewStyle'>: 13 | def bar(): 14 |  x = 1 15 |  str(x) 17 |  @deco 18 |  def foo(): 19 |  pass ----- 25 | def deco(f): 26 |  f.result = print_stack() 27 |  return f ----- ==================== TerminalFormatter native: 13 | def bar(): 14 | x = 1 15 | str(x) 17 | @deco 18 | def foo(): 19 | pass ----- 25 | def deco(f): 26 | f.result = print_stack() 27 | return f ----- ==================== TerminalFormatter .NewStyle'>: 13 | def bar(): 14 | x = 1 15 | str(x) 17 | @deco 18 | def foo(): 19 | pass ----- 25 | def deco(f): 26 | f.result = print_stack() 27 | return f ----- ==================== TerminalTrueColorFormatter native: 13 | def bar(): 14 |  x = 1 15 |  str(x) 17 |  @deco 18 |  def foo(): 19 |  pass ----- 25 | def deco(f): 26 |  f.result = print_stack() 27 |  return f ----- ==================== TerminalTrueColorFormatter .NewStyle'>: 13 | def bar(): 14 |  x = 1 15 |  str(x) 17 |  @deco 18 |  def foo(): 19 |  pass ----- 25 | def deco(f): 26 |  f.result = print_stack() 27 |  return f ----- ==================== HtmlFormatter native: 13 | def bar(): 14 | x = 1 15 | str(x) 17 | @deco 18 | def foo(): 19 | pass ----- 25 | def deco(f): 26 | f.result = print_stack() 27 | return f ----- ==================== HtmlFormatter .NewStyle'>: 13 | def bar(): 14 | x = 1 15 | str(x) 17 | @deco 18 | def foo(): 19 | pass ----- 25 | def deco(f): 26 | f.result = print_stack() 27 | return f ----- ==================== _________________________________ test_example _________________________________ def test_example(): from .samples.formatter_example import bar, format_frame, format_stack1 result = dict( format_frame=(format_frame(MyFormatter())), format_stack=format_stack1(MyFormatter(show_variables=True)), ) try: bar() except Exception: result.update( plain=MyFormatter(show_variables=True).format_exception(), pygmented=MyFormatter(show_variables=True, pygmented=True).format_exception(), pygmented_html=MyFormatter(show_variables=True, pygmented=True, html=True).format_exception(), ) > compare_to_file_json(result, "serialize", pygmented=True) tests/test_serializer.py:42: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = {'format_frame': {'filename': 'formatter_example.py', 'lineno': 51, 'lines': [{'is_current': False, 'lineno': 49, 'tex...ormatter_example.py', 'lineno': 8, 'lines': [{...}, {...}, {...}, {...}], 'name': 'foo', ...}, ...], 'tail': ''}], ...} name = 'serialize' def compare_to_file_json(data, name, *, pygmented): if old_pygments and pygmented: return filename = os.path.join( os.path.dirname(__file__), 'golden_files', name + '.json', ) if os.environ.get('FIX_STACK_DATA_TESTS'): json_to_file(data, filename, indent=4) else: expected_output = file_to_json(filename) > assert data == expected_output E AssertionError tests/utils.py:41: AssertionError =============================== warnings summary =============================== tests/test_formatter.py::test_example /usr/lib/python3.12/site-packages/setuptools/dist.py:760: 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() -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_core.py::test_executing_style_defs[.c { color: #(999999|ababab); font-style: italic }] FAILED tests/test_core.py::test_executing_style_defs[.err { color: #a61717; background-color: #e3d2d2 }] FAILED tests/test_core.py::test_executing_style_defs[.c-ExecutingNode { color: #(999999|ababab); font-style: italic; background-color: #ffff00 }] FAILED tests/test_core.py::test_executing_style_defs[.err-ExecutingNode { color: #a61717; background-color: #ffff00 }] FAILED tests/test_core.py::test_pygments_example - AssertionError: assert 'Te... FAILED tests/test_serializer.py::test_example - AssertionError =================== 6 failed, 15 passed, 1 warning in 2.37s ==================== >>> ERROR: py3-stack_data: check failed >>> py3-stack_data: Uninstalling dependencies... (1/61) Purging .makedepends-py3-stack_data (20250430.083738) (2/61) Purging py3-executing-pyc (2.2.0-r0) (3/61) Purging py3-executing (2.2.0-r0) (4/61) Purging py3-asttokens-pyc (3.0.0-r0) (5/61) Purging py3-asttokens (3.0.0-r0) (6/61) Purging py3-pure_eval-pyc (0.2.3-r0) (7/61) Purging py3-pure_eval (0.2.3-r0) (8/61) Purging py3-gpep517-pyc (16-r0) (9/61) Purging py3-gpep517 (16-r0) (10/61) Purging py3-installer-pyc (0.7.0-r2) (11/61) Purging py3-installer (0.7.0-r2) (12/61) Purging py3-setuptools_scm-pyc (8.2.0-r0) (13/61) Purging py3-setuptools_scm (8.2.0-r0) (14/61) Purging py3-setuptools-pyc (77.0.3-r0) (15/61) Purging py3-setuptools (77.0.3-r0) (16/61) Purging py3-wheel-pyc (0.43.0-r0) (17/61) Purging py3-wheel (0.43.0-r0) (18/61) Purging cython-pyc (3.0.12-r0) (19/61) Purging cython (3.0.12-r0) (20/61) Purging py3-littleutils-pyc (0.2.4-r0) (21/61) Purging py3-littleutils (0.2.4-r0) (22/61) Purging py3-pygments-pyc (2.19.1-r1) (23/61) Purging py3-pygments (2.19.1-r1) (24/61) Purging py3-pytest-pyc (8.3.5-r0) (25/61) Purging py3-pytest (8.3.5-r0) (26/61) Purging py3-iniconfig-pyc (2.1.0-r0) (27/61) Purging py3-iniconfig (2.1.0-r0) (28/61) Purging py3-py-pyc (1.11.0-r4) (29/61) Purging py3-py (1.11.0-r4) (30/61) Purging py3-typeguard-pyc (4.4.2-r0) (31/61) Purging py3-typeguard (4.4.2-r0) (32/61) Purging py3-bracex-pyc (2.5-r0) (33/61) Purging py3-bracex (2.5-r0) (34/61) Purging py3-hatchling-pyc (1.27.0-r0) (35/61) Purging py3-hatchling (1.27.0-r0) (36/61) Purging py3-editables-pyc (0.5-r2) (37/61) Purging py3-editables (0.5-r2) (38/61) Purging py3-packaging-pyc (25.0-r0) (39/61) Purging py3-packaging (25.0-r0) (40/61) Purging py3-parsing-pyc (3.2.0-r0) (41/61) Purging py3-parsing (3.2.0-r0) (42/61) Purging py3-pathspec-pyc (0.12.1-r2) (43/61) Purging py3-pathspec (0.12.1-r2) (44/61) Purging py3-pluggy-pyc (1.5.0-r0) (45/61) Purging py3-pluggy (1.5.0-r0) (46/61) Purging py3-trove-classifiers-pyc (2025.1.15.22-r0) (47/61) Purging py3-trove-classifiers (2025.1.15.22-r0) (48/61) Purging py3-typing-extensions-pyc (4.13.2-r0) (49/61) Purging py3-typing-extensions (4.13.2-r0) (50/61) Purging python3-dev (3.12.10-r0) (51/61) Purging python3-pyc (3.12.10-r0) (52/61) Purging python3-pycache-pyc0 (3.12.10-r0) (53/61) Purging pyc (3.12.10-r0) (54/61) Purging python3 (3.12.10-r0) (55/61) Purging gdbm (1.24-r0) (56/61) Purging libbz2 (1.0.8-r6) (57/61) Purging libffi (3.4.8-r0) (58/61) Purging libpanelw (6.5_p20250412-r0) (59/61) Purging mpdecimal (4.0.0-r0) (60/61) Purging sqlite-libs (3.49.1-r1) (61/61) Purging xz-libs (5.8.1-r0) Executing busybox-1.37.0-r16.trigger OK: 359 MiB in 102 packages