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

package info (click to toggle)
astropy 7.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 34,028 kB
  • sloc: python: 237,403; ansic: 55,195; lex: 8,621; sh: 3,317; xml: 2,399; makefile: 191
file content (22 lines) | stat: -rw-r--r-- 764 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 bdc9cfd..4fbc863 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -228,6 +228,7 @@ filterwarnings = [
     "error",
     # https://github.com/astropy/astropy/issues/18126
     "ignore:'_UnionGenericAlias' is deprecated and slated for removal in Python 3.17:DeprecationWarning", # not PYTHON_LT_3_14
+    "ignore::DeprecationWarning",
 ]
 doctest_norecursedirs = [
     "*/setup_package.py",