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


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

Bug#918819: Backport fix for DeprecationWarnings with Numpy 1.16

From Sandro Tosi <morph@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#918819: Backport fix for DeprecationWarnings with Numpy 1.16
Date 2019-01-09 16:40 +0100
Message-ID <xeo7v-3VN-1@gated-at.bofh.it> (permalink)
References <xenXQ-3SA-19@gated-at.bofh.it> <xenXQ-3SA-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jan 9, 2019 at 10:24 AM E. Madison Bray <erik.m.bray@gmail.com> wrote:
>
> Package: matplotlib2
> Version: 2.2.3-5
> Severity: normal
>
> Dear Maintainer,
>
> There is a known incompatibility between the current release of
> matplotlib 2.2.3 and Numpy 1.16, which results in some
> DeprecationWarnings.  In turn, this issue is affecting tests in sagemath
> in experimental, which use matplotlib, causing them to fail due to the
> unexpected DeprecationWarnings.

DeprecationWarning are, by definition, warnings. if your code/your
package code fails because of them, you need to relax whatever check
is been executed. warnings are there to let you know things will
change in the future, they are NOT an indication of anything wrong.

it looks to be a common practice in the "python science" packages to
threat DepWarnings as errors, this is not the correct usage.

> The issue is already fixed upstream and backported for matplotlib
> v2.2.4, but it would be nice to have this patch soon for reducing test
> failures in sagemath:
>
> https://github.com/matplotlib/matplotlib/pull/12508

that being said, i'll have a look at it

-- 
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
G+: https://plus.google.com/u/0/+SandroTosi

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Next 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