zigpy / zigpy-znp

TI CC2531, CC13x2, CC26x2 radio support for Zigpy and ZHA
GNU General Public License v3.0
150 stars 40 forks source link

Get package version with `importlib.metadata` #207

Closed puddly closed 1 year ago

puddly commented 1 year ago

pkg_resources is deprecated. This may also be related to https://github.com/zigpy/zigpy-znp/issues/205.

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.03 :warning:

Comparison is base (9b959dc) 98.55% compared to head (4fdeb39) 98.52%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #207 +/- ## ========================================== - Coverage 98.55% 98.52% -0.03% ========================================== Files 43 43 Lines 3803 3801 -2 ========================================== - Hits 3748 3745 -3 - Misses 55 56 +1 ``` | [Impacted Files](https://codecov.io/gh/zigpy/zigpy-znp/pull/207?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zigpy) | Coverage Δ | | |---|---|---| | [zigpy\_znp/api.py](https://codecov.io/gh/zigpy/zigpy-znp/pull/207?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zigpy#diff-emlncHlfem5wL2FwaS5weQ==) | `96.71% <100.00%> (-0.25%)` | :arrow_down: | | [zigpy\_znp/tools/network\_backup.py](https://codecov.io/gh/zigpy/zigpy-znp/pull/207?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zigpy#diff-emlncHlfem5wL3Rvb2xzL25ldHdvcmtfYmFja3VwLnB5) | `97.82% <100.00%> (-0.05%)` | :arrow_down: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zigpy). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zigpy)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.