head 1.7; access; symbols pkgsrc-2026Q2:1.7.0.4 pkgsrc-2026Q2-base:1.7 pkgsrc-2026Q1:1.7.0.2 pkgsrc-2026Q1-base:1.7 pkgsrc-2025Q4:1.3.0.4 pkgsrc-2025Q4-base:1.3 pkgsrc-2025Q3:1.3.0.2 pkgsrc-2025Q3-base:1.3 pkgsrc-2025Q2:1.2.0.14 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.12 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.2.0.10 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.8 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.6 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.4 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.2 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.1.0.2 pkgsrc-2023Q3-base:1.1; locks; strict; comment @# @; 1.7 date 2026.01.02.13.53.40; author adam; state Exp; branches; next 1.6; commitid cA95VXDxkbib7PoG; 1.6 date 2025.12.30.13.35.36; author adam; state Exp; branches; next 1.5; commitid 7d29QUgY4xkV6roG; 1.5 date 2025.12.28.08.16.09; author adam; state Exp; branches; next 1.4; commitid MYZKC48uJSUmp9oG; 1.4 date 2025.12.27.08.24.29; author adam; state Exp; branches; next 1.3; commitid p3Umds1iTn0cu1oG; 1.3 date 2025.08.06.04.43.46; author adam; state Exp; branches; next 1.2; commitid 4yAV4m1xmgYmRC5G; 1.2 date 2023.11.15.17.55.34; author adam; state Exp; branches; next 1.1; commitid K1mO8kp7yMHCuJME; 1.1 date 2023.08.11.12.41.47; author adam; state Exp; branches; next ; commitid cIbg9TL6RcNjQmAE; desc @@ 1.7 log @py-tracerite: updated to 2.3.1 2.3.1 Fix a bug in chain analysis that was causing inner exceptions be lost in some cases Add precise cursor positions with column number for accurate positioning Find source code for python -c and REPL code input (py>=3.13 only) Cleaner message when we still can't find source code Support optional tag output on TTY title line Make chain data structure and especially frinfo fields always filled (code simplification) Nox coverage target made more minimalistic, don't fail on test failure CI and badges handling improved @ text @# $NetBSD: Makefile,v 1.6 2025/12/30 13:35:36 adam Exp $ DISTNAME= tracerite-2.3.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=t/tracerite/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/sanic-org/tracerite COMMENT= Human-readable HTML tracebacks for Python exceptions LICENSE= mit TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-vcs>0:../../devel/py-hatch-vcs TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>0:../../devel/py-hatchling DEPENDS+= ${PYPKGPREFIX}-html5tagger>=1.2.1:../../textproc/py-html5tagger USE_LANGUAGES= # none .include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk" @ 1.6 log @py-tracerite: updated to 2.3.0 2.3.0 Single traceback in chronological order: simplified HTML and TTY output Pruned more excess code lines for a shorter overall output and inspect only strictly relevant (marked) variables. Custom logic for combining tracebacks of chained exceptions into a single timeline Special handling of except frames for clarity of flow in exception chains Exception text moved to bottom, where it occurs, rather than at top of call chain Implemented separate h2 / line at top as the title ExceptionGroup (parallel timelines) support with HTML and TTY output Simplified output format with less cruft to see, call frames as oneliners (still expandable in HTML) Removed old HTML view with scrolling logic, nearly all javascript, floating symbols etc. Adding CI and genbadges @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2025/12/28 08:16:09 adam Exp $ d3 1 a3 1 DISTNAME= tracerite-2.3.0 @ 1.5 log @py-tracerite: updated to 2.2.1 2.2.1 Add automatic dark mode to HTML (enabled by default, disabled for notebooks). HTML styling updates taking it a bit closer to TTY output. TTY output formatting and colors improved; long exception messages are now line wrapped into a block marked with a vertical line. Strip colors and disable inspector when not a TTY. Color variables renamed after their use rather than colors they have. Various cleanup, removal of dead branches. Capture logging.exception too. [trace] Pretty print things from libdirs with only the relevant part. Smaller code context, start at relevant line, less lines before mark. Cuter chain message. Consider launcher scripts library code (not user code). Use indent as string rather as int no. of spaces. Add typing. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2025/12/27 08:24:29 adam Exp $ d3 1 a3 1 DISTNAME= tracerite-2.2.1 @ 1.4 log @py-tracerite: updated to 2.2.0 2.2.0 Syntax error handling Support running in a terminal (TTY) with formatted colored text output FastAPI Change testpypi index to publish url Various other minor improvements @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2025/08/06 04:43:46 adam Exp $ d3 1 a3 1 DISTNAME= tracerite-2.2.0 @ 1.3 log @py-tracerite: updated to 1.1.3 1.1.3 Fixing Version 1.1.2 not running on Py3.x 1.1.2 Remove pkg_resources from html.py Variable Inspector TypeError on floaty values Upgrade dependencies in PyPI publishing workflow @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2023/11/15 17:55:34 adam Exp $ d3 1 a3 1 DISTNAME= tracerite-1.1.3 d13 2 a14 2 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm @ 1.2 log @py-tracerite: updated to 1.1.1 1.1.1 Avoid using built-in vars() which fails on objects without dict @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2023/08/11 12:41:47 adam Exp $ d3 1 a3 1 DISTNAME= tracerite-1.1.1 d13 1 d19 1 a19 3 PYTHON_VERSIONS_INCOMPATIBLE= 27 .include "../../lang/python/egg.mk" @ 1.1 log @py-tracerite: added version 1.1.0 TraceRite hides the irrelevant IPython/notebook internals and concisely shows what happened (the program was interrupted) and where that happened. This could further be improved by converting the KeyboardInterrupt message into something more suitable, like "You stopped the program", but what you see above is just the default handling that never considered this particular error. @ text @d1 1 a1 1 # $NetBSD$ d3 1 a3 1 DISTNAME= tracerite-1.1.0 @