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

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Sandro Tosi <morph@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#918819: Backport fix for DeprecationWarnings with Numpy 1.16
Date Wed, 09 Jan 2019 16:40:01 +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>
X-Original-To "E. Madison Bray" <erik.m.bray@gmail.com>, 918819@bugs.debian.org
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Wed Jan 9 15:36:13 2019
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -4.2
Reply-To Sandro Tosi <morph@debian.org>, 918819@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
X-Debian-Pr-Message followup 918819
X-Debian-Pr-Package matplotlib2
X-Debian-Pr-Source matplotlib2
X-Spam-Bayes score:0.0000 Tokens: new, 20; hammy, 143; neutral, 55; spammy, 1. spammytokens:0.858-+--website hammytokens:0.000-+--Backport, 0.000-+--sandrotosi, 0.000-+--SandroTosi, 0.000-+--sk:depreca, 0.000-+--numpy
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=9JdkVYk8YvMtedBOiFU6fPMOfqds1YFZJQDGNfPtYF4=; b=mzax4IDWXb5EF2zPwLXLBQePSJZtqe/PWPFXoBU9rNVQvhX2KjsYgv5Kgur2G5tn5o tVoAEHw9NMXbpXfAdUOTjvp0y/2nz79MLvQYCNIXt+hFEAzIf3Y7SJ2OPrGunzOWawGu dJ+g10jaiYc7h6XcO64tY+JW/aqVzZsatHHGP5fK9d6uZhkvuCe9hrp+62FiuL4OO2Ky /zQrDux9ovfXtwqSRrtindO4FtSL0UfXu8mu07fZmE+Hm4AFO94xItlcSTauA7d2F2dW HgroroU/HiFeYJ9g4iNmFcBAGh6g0aV+Vyu4wD0HpfCbiOzjkzot+3Pnd75X4F6ZZysy mp/A==
X-Gm-Message-State AJcUuke5JOGHDT1vQPVGcevq7bfRxItvyshi/Y2b2GllLlrJvdQaIAbP WZ376KeX2oHqI0DBu42i/m+Bhnrh2NW959MgfDM=
X-Google-SMTP-Source ALg8bN7kReOtWwtFUdDmwHNOoEvg1t1wWqvrVWtzc74FgMjYnQg7u6UOOJ11BXcWWZ1OVWT7TYeO3TI7KHvXmIJ50Pc=
X-Received by 2002:a2e:90ca:: with SMTP id o10-v6mr3667502ljg.134.1547047972800; Wed, 09 Jan 2019 07:32:52 -0800 (PST)
MIME-Version 1.0
Content-Type text/plain; charset="UTF-8"
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1511603
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 35
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Wed, 9 Jan 2019 10:32:25 -0500
X-Original-Message-ID <CAB4XWXxxzu4J9KoBfWFRb9P=XE70hCmi1OEYoO-+NLPDHn0KkA@mail.gmail.com>
X-Original-References <154704712106.27070.6434764635496282752.reportbug@c700dba598bd> <154704712106.27070.6434764635496282752.reportbug@c700dba598bd>
Xref csiph.com linux.debian.bugs.dist:937858

Show key headers only | 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