HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //snap/certbot/4965/lib/python3.12/site-packages/cryptography/__init__.py
# This file is dual licensed under the terms of the Apache License, Version
# 2.0, and the BSD License. See the LICENSE file in the root of this repository
# for complete details.

from __future__ import annotations

import sys
import warnings

from cryptography import utils
from cryptography.__about__ import __author__, __copyright__, __version__

__all__ = [
    "__author__",
    "__copyright__",
    "__version__",
]

if sys.version_info[:2] == (3, 7):
    warnings.warn(
        "Python 3.7 is no longer supported by the Python core team "
        "and support for it is deprecated in cryptography. The next release "
        "of cryptography will remove support for Python 3.7.",
        utils.CryptographyDeprecationWarning,
        stacklevel=2,
    )