Debian Patches
Status for python-friendly-traceback/0.7.62+git20261031.995a95b-1
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| 0001-changed-assert-messages-to-generic.patch | Fixed assert message | Josenilson Ferreira da SIlva <nilsonfsilva@hotmail.com> | not-needed | 2025-03-31 | ||
| 0002.fixed-python314-indentationerror-unpack.patch | Fix compatibility with Python 3.14 Python 3.14 introduced breaking changes in error messages and internal APIs. This patch updates handlers and unpacking to accommodate the new behavior. |
Josenilson Ferreira da Silva <nilsonfsilva@hotmail.com> | not-needed | 2025-04-27 | ||
| 0003.fixed-path-module-to-test.patch | Fix import path for syntax_errors_descriptions Fix relative import broken when running tests from the build directory. |
Josenilson Ferreira da Silva <nilsonfsilva@hotmail.com> | not-needed | 2025-04-27 | ||
| 0004.updated-to-python-3.14-compat.patch | Workaround for pytest 9.0.x IndexError with Python 3.14 Monkey-patch get_statement_startend2 to guard against IndexError when insert_index is 0, triggered by Python 3.14 AST changes. Fixed in pytest 9.1+. |
Josenilson Ferreira da Silva <nilsonfsilva@hotmail.com> | not-needed | 2025-04-27 | ||
| 0005-Fix-compatibility-with-Python-3.15.patch | Fix compatibility with Python 3.15 Handle updated syntax error and type error messages in Python 3.15, and adapt tests for PEP 748 comprehension unpacking syntax. Not entirely clear where this patch came from, so not forwarding yet. |
Josenilson Ferreira da Silva <nilsonfsilva@hotmail.com> | no | 2025-06-15 | ||
| 0006-fix-import-from-message.patch | Handle generic 'from ... import ...' syntax error message Python's SyntaxError message for "import X from Y" used to embed the module name being imported, e.g. "Did you mean to use 'from friendly_traceback.. import ...' instead?". Newer Python versions (including 3.14 and 3.15) emit a generic message, "Did you mean to use 'from ... import ...' instead?", which the import_from handler did not recognise. Match the generic form so the 'import X from Y' hint is still produced. |
Pieter Lenaerts <plenae@disroot.org> | not-needed | 2026-11-06 |
All known versions for source package 'python-friendly-traceback'
- 0.7.62+git20261031.995a95b-1 (sid)
- 0.7.62+git20250413.bba8fc4-1 (forky)
- 0.7.62+git20240811.d7dbff6-1.1 (trixie)
