Skip to content

Commit

Permalink
Remove an unused importlib_metadata dependency
Browse files Browse the repository at this point in the history
It was only requested to be installed under Python 3.7 but that
runtime is no longer supported so listing this dependency did
not have any effect.
  • Loading branch information
webknjaz committed Apr 19, 2024
1 parent 2c33339 commit 437863e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions cheroot/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
"""High-performance, pure-Python HTTP server used by CherryPy."""

try:
from importlib import metadata
except ImportError:
import importlib_metadata as metadata # noqa: WPS440
from importlib import metadata


try:
Expand Down
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ setup_requires =

# These are required in actual runtime:
install_requires =
importlib_metadata; python_version < '3.8'
more_itertools >= 2.6
jaraco.functools

Expand Down

0 comments on commit 437863e

Please sign in to comment.