# Feature or enhancement Setting `__cached__` or `__package__` on a module while failing to set the corresponding `__spec__` attributes is deprecated since Python 3.12 (see https://github.com/python/cpython/issues/97879). cc @brettcannon