From 8bff3280a34836de8a86505bf177472ad041395c Mon Sep 17 00:00:00 2001 From: Benedikt Fuchs Date: Sun, 30 Apr 2023 15:32:40 +0200 Subject: [PATCH] ignore distutils warning when using old pandas --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 12e62fdd8..320653d1b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,6 +23,7 @@ filterwarnings = [ 'ignore:bilinear is deprecated and will be removed in Pillow 10', # huggingface layoutlmv2 has deprecated calls. 'ignore:nearest is deprecated and will be removed in Pillow 10', # huggingface layoutlmv2 has deprecated calls. 'ignore:The `device` argument is deprecated and will be removed in v5 of Transformers.', # hf layoutlmv3 calls deprecated hf. + 'ignore:distutils Version classes are deprecated:DeprecationWarning', # pandas 1.15 (last to be compatible with python 3.7) "ignore:the imp module is deprecated:DeprecationWarning:past", # ignore DeprecationWarning from hyperopt dependency "ignore:.*imp module.*:DeprecationWarning", # ignore DeprecationWarnings that involve imp module "ignore:The class LayoutLMv3FeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please use LayoutLMv3ImageProcessor instead.", # huggingface layoutlmv3 has deprecated calls.