Skip to content

Commit

Permalink
ignore distutils warning when using old pandas
Browse files Browse the repository at this point in the history
  • Loading branch information
helpmefindaname authored and Benedikt Fuchs committed Oct 2, 2023
1 parent 6e0ca60 commit 8bff328
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8bff328

Please sign in to comment.