File: 002-relax-warnings-as-errors-pytest.patch

package info (click to toggle)
python-proto-plus 1.27.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 720 kB
  • sloc: python: 4,633; makefile: 27
file content (25 lines) | stat: -rw-r--r-- 777 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Yogeswaran Umasankar <kd8mbd@gmail.com>
Date: Fri, 20 Dec 2024 02:33:59 +0000
Subject: Relax warnings as errors in pytest.

Last-Update: 2024-05-26
Forwarded: not-needed

There was a DeprecationWarning in protobuf package leading to
segfault. Relaxed warnings as errors to avoid pytest failure.
---
 pytest.ini | 2 --
 1 file changed, 2 deletions(-)

diff --git a/pytest.ini b/pytest.ini
index ba89114..cdaaab3 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -1,7 +1,5 @@
 [pytest]
 filterwarnings =
-    # treat all warnings as errors
-    error
     # Remove once https://github.com/protocolbuffers/protobuf/issues/12186 is fixed
     ignore:.*custom tp_new.*in Python 3.14:DeprecationWarning
     # Remove once deprecated field `including_default_value_fields` is removed