summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVivek K J <vivek@debian.org>2026-05-25 02:30:15 +0530
committergit-ubuntu importer <ubuntu-devel-discuss@lists.ubuntu.com>2026-05-25 10:42:39 +0000
commit0c90489ae721765464a3ad81226add84928de96d (patch)
tree7fafb00fa19af139ebd6f1fcad59db604e6556bd
parent636dd4b3550ced27abb218be48c45f6685c2f89c (diff)
Imported using git-ubuntu import.
Notes
Notes: * Team upload. * Fix SyntaxWarning for regex invalid escape sequences (Closes: #1086972)
-rw-r--r--debian/changelog7
-rw-r--r--debian/control2
-rw-r--r--debian/patches/fix_syntaxwarning.patch16
-rw-r--r--debian/patches/series1
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