Skip to content

Commit

Permalink
Drop importlib_metadata dependency (#136)
Browse files Browse the repository at this point in the history
importlib.metadata is part of the stdlib since python3.8, so no more need for that.
  • Loading branch information
rytilahti committed Nov 4, 2023
1 parent 7d8045a commit 0d6c1e2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 37 deletions.
36 changes: 1 addition & 35 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ click = ">=8"
aiohttp = "*"
attrs = "*"
async_upnp_client = ">=0.32"
importlib-metadata = "*"

[tool.poetry.dev-dependencies]
pre-commit = "*"
Expand Down
2 changes: 1 addition & 1 deletion songpal/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# flake8: noqa
from importlib_metadata import version # type: ignore
from importlib.metadata import version

from songpal.common import SongpalException
from songpal.device import Device
Expand Down

0 comments on commit 0d6c1e2

Please sign in to comment.