Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #937878

Bug#918819: Backport fix for DeprecationWarnings with Numpy 1.16

From "E. Madison Bray" <erik.m.bray@gmail.com>
Newsgroups linux.debian.bugs.dist
Subject Bug#918819: Backport fix for DeprecationWarnings with Numpy 1.16
Date 2019-01-09 17:20 +0100
Message-ID <xeoKd-4p7-11@gated-at.bofh.it> (permalink)
References (1 earlier) <xeo7v-3VN-1@gated-at.bofh.it> <xeohc-3Zl-9@gated-at.bofh.it> <xeoAx-4lK-7@gated-at.bofh.it> <xenXQ-3SA-19@gated-at.bofh.it> <xeoAx-4lK-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jan 9, 2019 at 5:05 PM Sandro Tosi <morph@debian.org> wrote:
>
> > That's not the issue here. It's not that it's considered an error. Rather, the problem for sagemath in particular is that it has an extensive suite of doctests, and so unexpected deprecation warnings results in many failing doctests.
>
> doctest shouldnt fail when DeprecationWarnings are generated. are you
> sure sagemath doesnt treat them as errors or trying to do something
> fancy with them?

Yes, I'm sure.  This is actually perfectly normal and expected
behavior with Sage's doctest runner and has been forever (it also
tests *expected* warnings, for example).

You can see examples of this like:
https://buildd.debian.org/status/fetch.php?pkg=sagemath&arch=amd64&ver=8.6~rc0-1&stamp=1546789550&raw=1

(grep for `np.asscalar` or something)

This issue is responsible for the majority of noise in current builds :)

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Bug#918819: Backport fix for DeprecationWarnings with Numpy 1.16 "E. Madison Bray" <erik.m.bray@gmail.com> - 2019-01-09 16:30 +0100
  Bug#918819: Backport fix for DeprecationWarnings with Numpy 1.16 Sandro Tosi <morph@debian.org> - 2019-01-09 16:40 +0100
    Bug#918819: Backport fix for DeprecationWarnings with Numpy 1.16 "E. Madison Bray" <erik.m.bray@gmail.com> - 2019-01-09 16:50 +0100
      Bug#918819: Backport fix for DeprecationWarnings with Numpy 1.16 Sandro Tosi <morph@debian.org> - 2019-01-09 17:10 +0100
        Bug#918819: Backport fix for DeprecationWarnings with Numpy 1.16 "E. Madison Bray" <erik.m.bray@gmail.com> - 2019-01-09 17:20 +0100

csiph-web