This drops python 3.7 for cibuildwheel. Building python 3.6 / 3.7 packages is still supported.
14 lines
264 B
Python
14 lines
264 B
Python
from __future__ import annotations
|
|
|
|
import sys
|
|
|
|
if sys.version_info < (3, 11):
|
|
from typing_extensions import NotRequired, assert_never
|
|
else:
|
|
from typing import NotRequired, assert_never # noqa: TID251
|
|
|
|
__all__ = (
|
|
"assert_never",
|
|
"NotRequired",
|
|
)
|