File: Don-t-turn-deprecation-warnings-into-errors.patch

package info (click to toggle)
astropy 7.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 34,832 kB
  • sloc: python: 238,140; ansic: 55,278; lex: 8,621; sh: 3,317; xml: 2,287; makefile: 191
file content (22 lines) | stat: -rw-r--r-- 627 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Pey Lian Lim <2090236+pllim@users.noreply.github.com>
Date: Thu, 12 Dec 2019 14:56:07 -0700
Subject: Don't turn deprecation warnings into errors

Taken from https://github.com/astropy/astropy/pull/9767
TST: Ignore remaining matplotlib warnings on Debian
---
 pyproject.toml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pyproject.toml b/pyproject.toml
index c03d090..036f7f4 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -225,6 +225,7 @@ log_cli_level = "info"
 xfail_strict = false
 filterwarnings = [
     "error",
+    "ignore::DeprecationWarning",
 ]
 doctest_norecursedirs = [
     "*/setup_package.py",