diff options
| author | Vivek K J <vivek@debian.org> | 2026-05-25 02:30:15 +0530 |
|---|---|---|
| committer | git-ubuntu importer <ubuntu-devel-discuss@lists.ubuntu.com> | 2026-05-25 10:42:39 +0000 |
| commit | 5510d6dac16d3e6ec73bab6d04d7f27c50e2c674 (patch) | |
| tree | 5f16c4d278e42144c18935cba9df3b164d9c9dd4 | |
| parent | b02a40ae961e5c0077f83dcce4261b9317b867b0 (diff) | |
| parent | 4ce02bfb059955587b38eabba1cae3dd512b0344 (diff) | |
1.1-4 (patches applied)applied/1.1-4applied/ubuntu/stonking-proposedapplied/ubuntu/stonking-develapplied/ubuntu/stonkingapplied/ubuntu/develapplied/debian/sid
Imported using git-ubuntu import.
| -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 | ||||
| -rwxr-xr-x | wither/__init__.py | 2 |
5 files changed, 26 insertions, 2 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 diff --git a/wither/__init__.py b/wither/__init__.py index a763609..2fcf156 100755 --- a/wither/__init__.py +++ b/wither/__init__.py @@ -20,7 +20,7 @@ __version__ = "1.1" 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 |
