Skip to content

Commit 437863e

Browse files
committed
Remove an unused importlib_metadata dependency
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.
1 parent 2c33339 commit 437863e

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

cheroot/__init__.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
"""High-performance, pure-Python HTTP server used by CherryPy."""
22

3-
try:
4-
from importlib import metadata
5-
except ImportError:
6-
import importlib_metadata as metadata # noqa: WPS440
3+
from importlib import metadata
74

85

96
try:

setup.cfg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ setup_requires =
6767

6868
# These are required in actual runtime:
6969
install_requires =
70-
importlib_metadata; python_version < '3.8'
7170
more_itertools >= 2.6
7271
jaraco.functools
7372

0 commit comments

Comments
 (0)