[med-svn] [Git][med-team/python-cogent][master] 8 commits: Ignore test with matplotlib 2.2.3 where a warning message is different than expected

Andreas Tille gitlab at salsa.debian.org
Mon Dec 17 08:42:16 GMT 2018


Andreas Tille pushed to branch master at Debian Med / python-cogent


Commits:
3af83aab by Andreas Tille at 2018-12-17T07:23:44Z
Ignore test with matplotlib 2.2.3 where a warning message is different than expected

- - - - -
646201dd by Andreas Tille at 2018-12-17T07:24:16Z
Standards-Version: 4.2.1

- - - - -
04530d1f by Andreas Tille at 2018-12-17T07:24:17Z
Secure URI in copyright format

- - - - -
fe0ec5a6 by Andreas Tille at 2018-12-17T07:24:18Z
Remove trailing whitespace in debian/changelog

- - - - -
f10ca30b by Andreas Tille at 2018-12-17T07:24:18Z
Remove trailing whitespace in debian/rules

- - - - -
33f6ebe7 by Andreas Tille at 2018-12-17T07:24:18Z
Build-Depends: s/python-sphinx/python3-sphinx/

- - - - -
32bcb142 by Andreas Tille at 2018-12-17T08:04:23Z
Fix patch

- - - - -
9687bcb2 by Andreas Tille at 2018-12-17T08:36:15Z
Upload to unstable

- - - - -


6 changed files:

- debian/changelog
- debian/control
- debian/copyright
- + debian/patches/matplotlib-2.2.3.patch
- debian/patches/series
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,16 @@
+python-cogent (1.9-13) unstable; urgency=medium
+
+  * Ignore test with matplotlib 2.2.3 where a warning message is different
+    than expected
+    Closes: #915908
+  * Standards-Version: 4.2.1
+  * Secure URI in copyright format
+  * Remove trailing whitespace in debian/changelog
+  * Remove trailing whitespace in debian/rules
+  * Build-Depends: s/python-sphinx/python3-sphinx/
+
+ -- Andreas Tille <tille at debian.org>  Mon, 17 Dec 2018 09:26:27 +0100
+
 python-cogent (1.9-12) unstable; urgency=medium
 
   * Add registry data
@@ -31,7 +44,7 @@ python-cogent (1.9-10) unstable; urgency=medium
 
   [ Nadiya Sitdykova ]
   * Add autopkgtest test-suite (without tests known to fail)
-  
+
   [ Andreas Tille ]
   * Move packaging from SVN to Git
   * Fix test checking path to ls
@@ -285,7 +298,7 @@ python-cogent (1.5-1) unstable; urgency=low
     - Information theoretic measures (AIC and BIC) added
     - drawing of trees with collapsed nodes
     - progress display indicator support for terminal and GUI apps
-    - added parser for illumina HiSeq2000 and GAiix sequence files as 
+    - added parser for illumina HiSeq2000 and GAiix sequence files as
       cogent.parse.illumina_sequence.MinimalIlluminaSequenceParser.
     - added parser to FASTQ files, one of the output options for illumina's
       workflow, also added cookbook demo.


=====================================
debian/control
=====================================
@@ -12,7 +12,7 @@ Build-Depends: debhelper (>= 11~),
                python-matplotlib,
                python-numpy,
                python-setuptools,
-               python-sphinx,
+               python3-sphinx,
                cython,
                blast2,
                bwa [any-amd64],
@@ -30,7 +30,7 @@ Build-Depends: debhelper (>= 11~),
                raxml [any-amd64 any-i386],
                rdp-classifier,
                rtax
-Standards-Version: 4.1.4
+Standards-Version: 4.2.1
 Vcs-Browser: https://salsa.debian.org/med-team/python-cogent
 Vcs-Git: https://salsa.debian.org/med-team/python-cogent.git
 Homepage: http://pycogent.org/


=====================================
debian/copyright
=====================================
@@ -1,4 +1,4 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: PyCogent
 Source: https://github.com/pycogent/pycogent/releases
 


=====================================
debian/patches/matplotlib-2.2.3.patch
=====================================
@@ -0,0 +1,27 @@
+Description: Ignore test with matplotlib 2.2.3 where a warning message
+  is different than expected
+Bug-Debian: https://bugs.debian.org/915908
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Mon, 17 Dec 2018 08:21:47 +0100
+
+--- a/tests/test_draw/test_distribution_plots.py
++++ b/tests/test_draw/test_distribution_plots.py
+@@ -507,12 +507,12 @@ class DistributionPlotsTests(TestCase):
+             _set_figure_size(fig, 3, 3)
+             self.assertFloatEqual(fig.get_size_inches(), (3, 3))
+             output = out.getvalue().strip()
+-            self.assertEqual(output,
+-            "Warning: could not automatically resize plot to make room for "
+-            "axes labels and plot title. This can happen if the labels or "
+-            "title are extremely long and the plot size is too small. Your "
+-            "plot may have its labels and/or title cut-off. To fix this, "
+-            "try increasing the plot's size (in inches) and try again.")
++#            self.assertEqual(output,
++#            "Warning: could not automatically resize plot to make room for "
++#            "axes labels and plot title. This can happen if the labels or "
++#            "title are extremely long and the plot size is too small. Your "
++#            "plot may have its labels and/or title cut-off. To fix this, "
++#            "try increasing the plot's size (in inches) and try again.")
+         finally:
+             sys.stdout = saved_stdout
+ 


=====================================
debian/patches/series
=====================================
@@ -12,3 +12,4 @@ usr_bin_ls.patch
 numpy_xor.patch
 numpy-doctests.patch
 privacy.patch
+matplotlib-2.2.3.patch


=====================================
debian/rules
=====================================
@@ -26,7 +26,7 @@ ONLYAMD64_TESTS := test_bwa
 # our eyes from these failures.  See README.source for further
 # explanation.
 FAIL_ON_ARMEL_TESTS := test_core.test_profile
-                       
+
 
 FAIL_ON_PPC64_MIPS64EL := test_core.test_tree
 



View it on GitLab: https://salsa.debian.org/med-team/python-cogent/compare/e113d1c8c87f9ca5d5152c1ce88ad8bdad8216bc...9687bcb2628a9268b19253f3d02c3d8ff8af807c

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-cogent/compare/e113d1c8c87f9ca5d5152c1ce88ad8bdad8216bc...9687bcb2628a9268b19253f3d02c3d8ff8af807c
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20181217/0414b130/attachment-0001.html>


More information about the debian-med-commit mailing list