You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: intelmq/bots/outputs/cif3/output.py
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,7 @@
32
32
JsonLib = None
33
33
34
34
from datetime import datetime
35
+
from sys import version_info
35
36
from typing import Optional, List
36
37
37
38
from intelmq.lib.bot import OutputBot
@@ -91,6 +92,9 @@ class CIF3OutputBot(OutputBot):
91
92
_is_multithreadable = False
92
93
93
94
def init(self):
95
+
raise DeprecationWarning("The CIFv3 API is deprecated and will be remove in IntelMQ version 4.0. See https://lists.cert.at/pipermail/intelmq-users/2024-December/000474.html")
96
+
if version_info >= (3, 12):
97
+
raise ValueError("This bot is not compatible with Python >= 3.12. See https://lists.cert.at/pipermail/intelmq-users/2024-December/000474.html")
0 commit comments