pytest: ignore distutils usage in torchmetrics (#1688)

This commit is contained in:
Adam J. Stewart 2023-10-28 08:32:59 -05:00 коммит произвёл GitHub
Родитель 9e78960b58
Коммит 1fc0f2726e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -212,6 +212,9 @@ filterwarnings = [
# https://github.com/pytorch/pytorch/pull/69823
"ignore:distutils Version classes are deprecated. Use packaging.version instead:DeprecationWarning",
"ignore:The distutils package is deprecated and slated for removal in Python 3.12:DeprecationWarning:torch.utils.tensorboard",
# https://github.com/Lightning-AI/torchmetrics/issues/2121
# https://github.com/Lightning-AI/torchmetrics/pull/2137
"ignore:The distutils package is deprecated and slated for removal in Python 3.12:DeprecationWarning:torchmetrics.utilities.imports",
# https://github.com/Lightning-AI/lightning/issues/13256
# https://github.com/Lightning-AI/lightning/pull/13261
"ignore:torch.distributed._sharded_tensor will be deprecated:DeprecationWarning:torch.distributed._sharded_tensor",