diff options
| -rw-r--r-- | debian/changelog | 7 | ||||
| -rw-r--r-- | debian/control | 2 | ||||
| -rw-r--r-- | debian/patches/fix_syntaxwarning.patch | 16 | ||||
| -rw-r--r-- | debian/patches/series | 1 |
4 files changed, 25 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index fab3637..c0fce8a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +python-wither (1.1-4) unstable; urgency=medium + + * Team upload. + * Fix SyntaxWarning for regex invalid escape sequences (Closes: #1086972) + + -- Vivek K J <vivek@debian.org> Mon, 25 May 2026 02:30:15 +0530 + python-wither (1.1-3) unstable; urgency=medium * Team upload. diff --git a/debian/control b/debian/control index 9b8d3f1..8dc02ea 100644 --- a/debian/control +++ b/debian/control @@ -10,7 +10,7 @@ Build-Depends: python3-pytest, python3-setuptools, dh-sequence-python3, -Standards-Version: 4.6.1 +Standards-Version: 4.7.4 Homepage: https://pypi.python.org/pypi/wither Vcs-Git: https://salsa.debian.org/python-team/packages/python-wither.git Vcs-Browser: https://salsa.debian.org/python-team/packages/python-wither diff --git a/debian/patches/fix_syntaxwarning.patch b/debian/patches/fix_syntaxwarning.patch new file mode 100644 index 0000000..ff35888 --- /dev/null +++ b/debian/patches/fix_syntaxwarning.patch @@ -0,0 +1,16 @@ +Description: Fix SyntaxWarning for regex invalid escape sequences +Author: Vivek K J <vivek@debian.org> +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1086972 +Forwarded: not-needed +Last-Update: 2026-05-25 +--- a/wither/__init__.py ++++ b/wither/__init__.py +@@ -20,7 +20,7 @@ + import lxml.etree as _etree + + class Node(object): +- """Node tags, attributes and text are prefixed with "node\_" to avoid potential ++ r"""Node tags, attributes and text are prefixed with "node\_" to avoid potential + name conflicts with automatic object create. ie you may wish to create a + node called :py:meth:`attrib` or :py:meth:`text` or :py:meth:`tag` + however they would have been shadowed by the nodes properties diff --git a/debian/patches/series b/debian/patches/series index df3c9df..a7f25ed 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ 2001_dont-fail-on-missing-hgdistver.patch 1001_fix-ftbfs-py3-7.patch +fix_syntaxwarning.patch |
