Debian Patches

Status for python-better-exceptions/0.4.0-3

Patch Description Author Forwarded Bugs Origin Last update
fix_deprecated_python_stdlib.patch fix deprecated Python stdlibdistutils was removed in Python 3.12,
Instead of this, use setuptools.



diff --git a/setup.py b/setup.py
index aae2a11..a9e4096 100644
Seyed Mohamad Amin Modaresi <modaresisofthard@proton.me> invalid
fix_python_command.patch use python3 instead of python commandThe upstream uses python instead of python3.



diff --git a/test/output/python3-dumb-UTF-8-color.out b/test/output/python3-dumb-UTF-8-color.out
index 774f852..3edadeb 100644
Seyed Mohamad Amin Modaresi <modaresisofthard@proton.me> no
fix_path_in_tests.patch add sed pattern for truncated module paths
On systems with a very long build path, better-exceptions truncates
the path in its output (appending "..."). The existing normalization
script uses sed to replace such paths with a dummy value, but it only
matched non-truncated paths. As a result, tests failed because the
truncated path was not being normalized.

Add an extra sed command to match module paths ending with "..." and
replace them with the same dummy string, so that the diff comparison
works correctly regardless of whether the path is truncated.



diff --git a/test_all.sh b/test_all.sh
index 4ce6cb8..582b625 100755
Seyed Mohamad Amin Modaresi <modaresisofthard@proton.me> yes

All known versions for source package 'python-better-exceptions'

Links