Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #11268
| Path | csiph.com!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder7.news.weretis.net!newsfeed.CARNet.hr!news.spin.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Yaroslav Halchenko <debian@onerussian.com> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: 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 23:40:02 +0100 |
| Message-ID | <xjcS6-3m4-19@gated-at.bofh.it> (permalink) |
| References | <xja3U-1DQ-9@gated-at.bofh.it> <xja3U-1DQ-11@gated-at.bofh.it> <xja3U-1DQ-7@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Tue Jan 22 22:31:39 2019 |
| Old-Return-Path | <debian@onerussian.com> |
| X-Amavis-Spam-Status | No, score=-9.2 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=no |
| User-Agent | K-9 Mail for Android |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | quoted-printable |
| X-Sa-Exim-Connect-IP | 73.114.23.7 |
| X-Sa-Exim-Rcpt-To | andreas@an3as.eu, debian-science@lists.debian.org, debian-python@lists.debian.org, steffen_moeller@gmx.de, michael.hanke@gmail.com |
| X-Sa-Exim-Mail-From | debian@onerussian.com |
| X-Sa-Exim-Version | 4.2.1 (built Mon, 26 Dec 2011 16:57:07 +0000) |
| X-Sa-Exim-Scanned | Yes (on smtp.onerussian.com) |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/16720 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/A6576E87-1A22-4ED6-BC88-53CC65A26C76@onerussian.com |
| Approved | robomod@news.nic.it |
| Lines | 150 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | Steffen Möller <steffen_moeller@gmx.de>,Michael Hanke <michael.hanke@gmail.com> |
| X-Original-Date | Tue, 22 Jan 2019 17:27:20 -0500 |
| X-Original-Message-ID | <A6576E87-1A22-4ED6-BC88-53CC65A26C76@onerussian.com> |
| X-Original-References | <8f1a212b-71aa-0f9d-f548-71b5daa65217@gmail.com> <20190122190322.mqjn2vhmgfq2jlmm@an3as.eu> <20190122193550.griaebajeyedstwj@an3as.eu> |
| Xref | csiph.com linux.debian.maint.python:11268 |
Show key headers only | View raw
Quick one takes exactly 1 argument (0 given) suggests that bay be upstream switched from nose to pytest and started to use it's magical fixtures. Try using -m pytest instead of -m nose On January 22, 2019 2:35:50 PM EST, Andreas Tille <andreas@an3as.eu> wrote: >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
Back to linux.debian.maint.python | Previous | Next — Previous 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