Skip to content

Commit

Permalink
Silence setuptools deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Jan 8, 2024
1 parent 63a89ef commit 5856801
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pip_deepfreeze/env-info-json.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@


try:
warnings.filterwarnings(action="ignore", category=DeprecationWarning)
import pkg_resources # noqa
warnings.resetwarnings()
except ImportError:
pkg_resources = None

Expand Down

0 comments on commit 5856801

Please sign in to comment.