Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #11262
| Path | csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Andreas Tille <andreas@an3as.eu> |
| Newsgroups | linux.debian.maint.python |
| Subject | Build time test failures for seaborn 0.9 (Was: seaborn - update to 0.9 - where is debian folder on salsa?) |
| Date | Tue, 22 Jan 2019 20:40:02 +0100 |
| Message-ID | <xja3U-1DQ-7@gated-at.bofh.it> (permalink) |
| References | <xja3U-1DQ-9@gated-at.bofh.it> <xja3U-1DQ-11@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Tue Jan 22 19:36:11 2019 |
| Old-Return-Path | <andreas@an3as.eu> |
| X-Amavis-Spam-Status | No, score=-6.9 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=unavailable autolearn_force=no |
| X-Policyd-Weight | using cached result; rate:hard: -4.6 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| User-Agent | NeoMutt/20170113 (1.7.2) |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/16716 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/20190122193550.griaebajeyedstwj@an3as.eu |
| Approved | robomod@news.nic.it |
| Lines | 103 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | Steffen Möller <steffen_moeller@gmx.de>, Yaroslav Halchenko <debian@onerussian.com>, Michael Hanke <michael.hanke@gmail.com> |
| X-Original-Date | Tue, 22 Jan 2019 20:35:50 +0100 |
| X-Original-Message-ID | <20190122193550.griaebajeyedstwj@an3as.eu> |
| X-Original-References | <8f1a212b-71aa-0f9d-f548-71b5daa65217@gmail.com> <20190122190322.mqjn2vhmgfq2jlmm@an3as.eu> |
| Xref | csiph.com linux.debian.maint.python:11262 |
Show key headers only | View raw
Hi,
On Tue, Jan 22, 2019 at 08:03:22PM +0100, Andreas Tille wrote:
>
> > IgDiscover needs it in a version different from 0.8 to circumvent a
> > bug that the testing of their plot routine triggers
> > https://github.com/NBISweden/IgDiscover/issues/78. I somewhat happily
> > address the update to 0.9.
I tried to upgrade seaborn to version 0.9 in Git[1]. Unfortunately
the build time test suite throws a lot of errors:
debian/rules override_dh_auto_test
make[1]: Entering directory '/build/seaborn-0.9.0'
xvfb-run --auto-servernum --server-num=20 dh_auto_test override_dh_auto_test
I: pybuild base:217: cd /build/seaborn-0.9.0/.pybuild/cpython2_2.7_seaborn/build; python2.7 -m nose -v.
Test that bootstrapping gives the right answer in dumb cases. ... ERROR
Test that we get a bootstrap array of the right shape. ... ERROR
...
======================================================================
ERROR: Test that bootstrapping gives the right answer in dumb cases.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
TypeError: test_bootstrap() takes exactly 1 argument (0 given)
-------------------- >> begin captured logging << --------------------
matplotlib: DEBUG: $HOME=/build/seaborn-0.9.0/.pybuild/cpython2_2.7_seaborn
matplotlib: DEBUG: matplotlib data path /usr/share/matplotlib2/mpl-data
matplotlib: DEBUG: loaded rc file /build/seaborn-0.9.0/build/matplotlibrc
matplotlib: DEBUG: matplotlib version 2.2.3
matplotlib: DEBUG: interactive is False
matplotlib: DEBUG: platform is linux2
matplotlib: DEBUG: loaded modules: ['email.MIMEAudio', 'numpy.core.info', 'nose.plugins.doctest', 'nose.plugins.tempfile', 'ctypes.os', 'hotshot.warnings', 'runpy', 'gc', 'pkg_resources
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
TypeError: test_bootstrap() takes exactly 1 argument (0 given)
-------------------- >> begin captured logging << --------------------
matplotlib: DEBUG: $HOME=/build/seaborn-0.9.0/.pybuild/cpython2_2.7_seaborn
matplotlib: DEBUG: matplotlib data path /usr/share/matplotlib2/mpl-data
...
matplotlib.font_manager: DEBUG: createFontDict: /usr/share/matplotlib2/mpl-data/fonts/afm/phvbo8an.afm
matplotlib.font_manager: DEBUG: createFontDict: /usr/share/matplotlib2/mpl-data/fonts/pdfcorefonts/Courier-BoldOblique.afm
matplotlib.font_manager: INFO: generated new fontManager
matplotlib.backends: DEBUG: backend agg version v2.2
--------------------- >> end captured logging << ---------------------
======================================================================
ERROR: Test that we get a bootstrap array of the right shape.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
TypeError: test_bootstrap_length() takes exactly 1 argument (0 given)
======================================================================
ERROR: Test that boostrapping a random array stays within the right range.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
TypeError: test_bootstrap_range() takes exactly 1 argument (0 given)
...
======================================================================
FAIL: seaborn.tests.test_regression.TestRegressionPlots.test_three_point_colors
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/build/seaborn-0.9.0/.pybuild/cpython2_2.7_seaborn/build/seaborn/tests/test_regression.py", line 589, in test_three_point_colors
(1, 0, 0))
File "/usr/lib/python2.7/dist-packages/numpy/testing/_private/utils.py", line 568, in assert_almost_equal
return assert_array_almost_equal(actual, desired, decimal, err_msg)
File "/usr/lib/python2.7/dist-packages/numpy/testing/_private/utils.py", line 980, in assert_array_almost_equal
precision=decimal)
File "/usr/lib/python2.7/dist-packages/numpy/testing/_private/utils.py", line 796, in assert_array_compare
raise AssertionError(msg)
AssertionError:.
Arrays are not almost equal to 7 decimals
(mismatch 100.0%)
x: array([0.4 , 0.7607843, 0.6470588])
y: array([1, 0, 0])
----------------------------------------------------------------------
Ran 523 tests in 55.053s
FAILED (SKIP=5, errors=99, failures=28)
E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: cd /build/seaborn-0.9.0/.pybuild/cpython2_2.7_seaborn/build; python2.7 -m nose -v.
Any idea how to fix this?
Kind regards
Andreas.
[1] https://salsa.debian.org/science-team/seaborn
--
http://fam-tille.de
Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread
Build time test failures for seaborn 0.9 (Was: seaborn - update to 0.9 - where is debian folder on salsa?) Andreas Tille <andreas@an3as.eu> - 2019-01-22 20:40 +0100 Re: Build time test failures for seaborn 0.9 (Was: seaborn - update to 0.9 - where is debian folder on salsa?) Yaroslav Halchenko <debian@onerussian.com> - 2019-01-22 23:40 +0100
csiph-web