alengwenus / pypck

Asynchronous LCN-PCK library written in Python
MIT License
10 stars 5 forks source link

Remove support for Python 3.7 #63

Closed alengwenus closed 3 years ago

alengwenus commented 3 years ago

Dropping support for Python 3.7 would allow for some architectural changes:

In addition HomeAssistant removed support for Python 3.7 in v0.118. At least a deprecation warning should be raised in the next release of pypck.

maximilianriemensberger commented 3 years ago

For what it's worth, I don't mind.

maximilianriemensberger commented 3 years ago
  • All asyncio tasks could be tagged with the name parameter. Therefore pypck does not need to keep references to dangling tasks as asyncio does this for us.

Wouldn't set_name() achieve the same in 3.7? I missed that set_name is new in 3.8.

alengwenus commented 3 years ago

Resolved with #70.