[med-svn] [Git][med-team/python-skbio][master] 2 commits: For the moment the 4 tests that are broken due to bug #992676 are excluded

Andreas Tille (@tille) gitlab at salsa.debian.org
Wed Oct 13 08:23:37 BST 2021



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


Commits:
4687f235 by Andreas Tille at 2021-10-13T09:16:52+02:00
For the moment the 4 tests that are broken due to bug #992676 are excluded

- - - - -
10d0de06 by Andreas Tille at 2021-10-13T09:22:41+02:00
Upload to unstable

- - - - -


3 changed files:

- debian/changelog
- debian/patches/series
- + debian/patches/skip_tests_failung_due_to_scipy.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,4 +1,4 @@
-python-skbio (0.5.6-5) UNRELEASED; urgency=medium
+python-skbio (0.5.6-5) unstable; urgency=medium
 
   [ Steffen Moeller ]
   * Team upload.
@@ -11,8 +11,9 @@ python-skbio (0.5.6-5) UNRELEASED; urgency=medium
 
   [ Andreas Tille ]
   * Replace add_javascript() and add_stylesheet() in sphinx config
+  * For the moment the 4 tests that are broken due to bug #992676 are excluded
 
- -- Steffen Moeller <moeller at debian.org>  Mon, 06 Sep 2021 17:27:49 +0200
+ -- Andreas Tille <tille at debian.org>  Wed, 13 Oct 2021 09:17:09 +0200
 
 python-skbio (0.5.6-4) unstable; urgency=medium
 


=====================================
debian/patches/series
=====================================
@@ -7,3 +7,4 @@ pandas1.1-ordination-fix.patch
 pandas1.1-valueerror.patch
 local_inventory
 sphinx_add_javascript.patch
+skip_tests_failung_due_to_scipy.patch


=====================================
debian/patches/skip_tests_failung_due_to_scipy.patch
=====================================
@@ -0,0 +1,69 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Wed, 13 Oct 2021 08:44:29 +0200
+Bug-Debian: https://bugs.debian.org/992676
+Description: For the moment the 4 tests that are broken due to bug #992676 are excluded
+
+--- a/skbio/stats/distance/tests/test_permdisp.py
++++ b/skbio/stats/distance/tests/test_permdisp.py
+@@ -110,61 +110,6 @@ class testPERMDISP(TestCase):
+                                            check_index_type=True,
+                                            check_series_type=True)
+ 
+-    def test_centroids_eq_groups(self):
+-        exp = [[1.2886811963240687, 1.890538910062923, 1.490527658097728],
+-               [2.17349240061718, 2.3192679626679946, 2.028338553903792]]
+-        exp_stat, _ = f_oneway(*exp)
+-
+-        dm = pcoa(self.eq_mat)
+-        dm = dm.samples
+-
+-        obs = _compute_groups(dm, 'centroid', self.grouping_eq)
+-        self.assertAlmostEqual(obs, exp_stat, places=6)
+-
+-        obs_relab = _compute_groups(dm, 'centroid', self.grouping_eq_relab)
+-        self.assertAlmostEqual(obs_relab, obs, places=6)
+-
+-    def test_centroids_uneq_groups(self):
+-        """
+-        the expected result here was calculated by hand
+-        """
+-        exp = [[2.5847022428144935, 2.285624595858895,
+-                1.7022431146340287],
+-               [1.724817266046108, 1.724817266046108],
+-               [2.4333280644972795, 2.389000390879655,
+-                2.8547180589306036, 3.218568759338847]]
+-        exp_stat, _ = f_oneway(*exp)
+-
+-        dm = pcoa(self.uneq_mat)
+-        dm = dm.samples
+-
+-        obs = _compute_groups(dm, 'centroid', self.grouping_uneq)
+-        self.assertAlmostEqual(obs, exp_stat, places=6)
+-
+-        obs_relab = _compute_groups(dm, 'centroid', self.grouping_uneq_relab)
+-        self.assertAlmostEqual(obs, obs_relab, places=6)
+-
+-    def test_centroids_mixedgroups(self):
+-        exp = [[2.5847022428144935, 2.285624595858895,
+-                1.7022431146340287],
+-               [1.724817266046108, 1.724817266046108],
+-               [2.4333280644972795, 2.389000390879655,
+-                2.8547180589306036, 3.218568759338847]]
+-        dm = pcoa(self.uneq_mat)
+-        dm = dm.samples
+-
+-        exp_stat, _ = f_oneway(*exp)
+-
+-        obs_mixed = _compute_groups(dm, 'centroid', self.grouping_un_mixed)
+-        self.assertAlmostEqual(exp_stat, obs_mixed, places=6)
+-
+-    def test_centroids_null(self):
+-        dm = pcoa(self.null_mat)
+-        dm = dm.samples
+-
+-        obs_null = _compute_groups(dm, 'centroid', self.grouping_eq)
+-        np.isnan(obs_null)
+-
+     def test_centroid_normal(self):
+         exp = pd.Series(index=self.exp_index,
+                         data=['PERMDISP', 'F-value', 9, 2, 0.244501519876,



View it on GitLab: https://salsa.debian.org/med-team/python-skbio/-/compare/38bc9129dd638cf4c819a65321bdd0329d31246d...10d0de0619787b1e5c966cc92329f4732daa1b0d

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-skbio/-/compare/38bc9129dd638cf4c819a65321bdd0329d31246d...10d0de0619787b1e5c966cc92329f4732daa1b0d
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/20211013/2eb123b0/attachment-0001.htm>


More information about the debian-med-commit mailing list