ndokter / dsmr_parser

Library to parse Dutch Smart Meter Requirements (DSMR) telegrams.
MIT License
110 stars 64 forks source link

Remove deprecated asyncio coroutine decorator #76

Closed frenck closed 3 years ago

frenck commented 3 years ago

This PR removes the @asyncio.coroutine decorator and yield from occurrences from the codebase and replaces them with the Python 3.5 async/await syntax.

This PR causes Python 3.4 to be dropped for async serial use, adjusted the README for that.

Additionally, added Python 3.9 to tox.

closes #64

frenck commented 3 years ago

@ndokter Hi! I don't want to push stuff, but it would be nice if we could get a release with these changes. Will reduce quite a bit of warnings in our tests @ Home Assistant 😄

Thanks already!

ndokter commented 3 years ago

Great, thanks! Ill build a new version soon

ndokter commented 3 years ago

@frenck a new build is published

frenck commented 3 years ago

Thanks, @ndokter! Appreciated 👍