Skip to content

Commit

Permalink
use importlib_metadata for all python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
CM000n committed Dec 23, 2023
1 parent 5ad8bb9 commit 8056e29
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mytoyota/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Toyota Connected Services Client."""
from importlib.metadata import version
from importlib_metadata import version

from .client import MyT # pylint: disable=unused-import # NOQA

Expand Down
36 changes: 35 additions & 1 deletion poetry.lock

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

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ repository = "https://github.com/DurgNomis-drol/mytoyota"

[tool.poetry.dependencies]
python = "^3.8.1"
importlib-metadata = "^7.0.1"
langcodes = "^3.1"
httpx = ">=0.18.1"
arrow = "^1.1"
Expand Down

0 comments on commit 8056e29

Please sign in to comment.