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

package info (click to toggle)
astropy 7.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 35,328 kB
  • sloc: python: 233,437; ansic: 55,264; javascript: 17,680; lex: 8,621; sh: 3,317; xml: 2,287; makefile: 191
file content (22 lines) | stat: -rw-r--r-- 738 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 52ceeb0..3db6cdb 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -218,6 +218,7 @@ log_cli_level = "info"
 xfail_strict = false
 filterwarnings = [
     "error",
+    "ignore::DeprecationWarning",
     "ignore:unclosed <socket:ResourceWarning",
     "ignore:unclosed <ssl.SSLSocket:ResourceWarning",
     "ignore:matplotlibrc text\\.usetex:UserWarning:matplotlib",