1import warnings
2
3
4warnings.warn(
5    "lib2to3 package is deprecated and may not be able to parse Python 3.10+",
6    DeprecationWarning,
7    stacklevel=2,
8)
9