[Python-modules-commits] [pyyaml] 03/03: * d/control: Bump Standards-Version with no other changes necessary. * d/patches/support-high-codepoints.patch: Added to fix support for codepoints above 0xffff. Given by John R. Lenton. (Closes: #806826) * d/tests/{control, python2.sh, python3.sh}: Added to test the above patch since a unittest is problematic.
Barry Warsaw
barry at moszumanska.debian.org
Wed Dec 2 21:26:45 UTC 2015
This is an automated email from the git hooks/post-receive script.
barry pushed a commit to branch master
in repository pyyaml.
commit db2aa312b2f256d891b2a8c8e9bb043e66b1df8b
Author: Barry Warsaw <barry at python.org>
Date: Wed Dec 2 16:26:28 2015 -0500
* d/control: Bump Standards-Version with no other changes necessary.
* d/patches/support-high-codepoints.patch: Added to fix support for
codepoints above 0xffff. Given by John R. Lenton. (Closes: #806826)
* d/tests/{control,python2.sh,python3.sh}: Added to test the above patch
since a unittest is problematic.
---
debian/changelog | 10 ++++++++++
debian/control | 2 +-
debian/tests/control | 8 ++++++++
debian/tests/python2.sh | 3 +++
debian/tests/python3.sh | 3 +++
5 files changed, 25 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index e6f761f..7e1ca46 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+pyyaml (3.11-3) UNRELEASED; urgency=medium
+
+ * d/control: Bump Standards-Version with no other changes necessary.
+ * d/patches/support-high-codepoints.patch: Added to fix support for
+ codepoints above 0xffff. Given by John R. Lenton. (Closes: #806826)
+ * d/tests/{control,python2.sh,python3.sh}: Added to test the above patch
+ since a unittest is problematic.
+
+ -- Barry Warsaw <barry at debian.org> Tue, 01 Dec 2015 18:18:48 -0500
+
pyyaml (3.11-2) unstable; urgency=medium
* Backport security fix for Reachable Assertion security issue (potential
diff --git a/debian/control b/debian/control
index ae7ddf5..1f8238c 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders: Scott Kitterman <scott at kitterman.com>
Build-Depends: debhelper (>= 9), python-all-dev (>=2.6.5-13~), python-all-dbg, python3-all-dev (>= 3.1.2-10~), python3-all-dbg, libyaml-dev (>=0.1.2~), cython, cython-dbg, quilt
Vcs-Git: git://anonscm.debian.org/python-modules/packages/pyyaml.git
Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/pyyaml.git
-Standards-Version: 3.9.5
+Standards-Version: 3.9.6
Homepage: http://pyyaml.org/
Package: python-yaml
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..1b3e506
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,8 @@
+# 2015-12-01 barry at debian.org: These tests are related to bug #806826. This
+# code point is higher than upstream pyyaml supports, but with the quilt
+# patch, it will work. Unfortunately, we have not been able to correctly add
+# a unittest for the problem, so DEP-8 will have to do.
+
+Tests: python2.sh
+
+Tests: python3.sh
diff --git a/debian/tests/python2.sh b/debian/tests/python2.sh
new file mode 100644
index 0000000..8d920ea
--- /dev/null
+++ b/debian/tests/python2.sh
@@ -0,0 +1,3 @@
+export PYTHONIOENCODING='utf-8'
+python -c "import yaml; print yaml.load('\N{PILE OF POO}')"
+python -c "import yaml; print yaml.dump('\N{PILE OF POO}', allow_unicode=True)"
diff --git a/debian/tests/python3.sh b/debian/tests/python3.sh
new file mode 100644
index 0000000..ed7e430
--- /dev/null
+++ b/debian/tests/python3.sh
@@ -0,0 +1,3 @@
+export PYTHONIOENCODING='utf-8'
+python3 -c "import yaml; print(yaml.load('\N{PILE OF POO}'))"
+python3 -c "import yaml; print(yaml.dump('\N{PILE OF POO}', allow_unicode=True))"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pyyaml.git
More information about the Python-modules-commits
mailing list