Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit 69f1ef2

Browse files
author
Samuel Hassine
committed
[client] Rollback on Python 3.8
1 parent 38ba647 commit 69f1ef2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pycti/connector/opencti_connector_helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import os
1313
import ssl
1414

15-
from typing import Callable, Dict, Optional, Union
15+
from typing import Callable, Dict, Optional, Union, List
1616
from sseclient import SSEClient
1717
from pika.exceptions import UnroutableError, NackError
1818
from pycti.api.opencti_api_client import OpenCTIApiClient
@@ -63,7 +63,7 @@ def create_ssl_context() -> ssl.SSLContext:
6363
`ssl` uses bitwise operations to specify context `<enum 'Options'>`
6464
"""
6565

66-
ssl_context_options: list[int] = [
66+
ssl_context_options: List[int] = [
6767
ssl.OP_NO_COMPRESSION,
6868
ssl.OP_NO_TICKET, # pylint: disable=no-member
6969
ssl.OP_NO_RENEGOTIATION, # pylint: disable=no-member

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def run(self):
2626
setup(
2727
name="pycti",
2828
version=VERSION,
29-
python_requires=">=3.9",
29+
python_requires=">=3.8",
3030
description="Python API client for OpenCTI.",
3131
long_description=long_description,
3232
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)