appdaemon icon indicating copy to clipboard operation
appdaemon copied to clipboard

New release for python 3.9 fix?

Open dekiesel opened this issue 4 years ago • 7 comments

Hi,

could you release a new version containing fix change Task.all_tasks() to asyncio.all_tasks() for python 3.9?

Currently it looks like appdaemon is broken if you use the latest release (4.0.8) and python 3.9.

AttributeError: type object '_asyncio.Task' has no attribute 'all_tasks'

dekiesel avatar Jul 12 '21 12:07 dekiesel

I support this message, would love to be able to bump to Alpine 3.14 (which ships with Python 3.9)

frenck avatar Jul 14 '21 13:07 frenck

We have made this fix in dev and it will be available in the next release.

@frenck - sure thing, we'll look into updating the docker image too for that release.

acockburn avatar Jul 14 '21 22:07 acockburn

Same problem with appdaemon 4.0.8 and python 3.9. Can be fixed by applying the bb82b6d668b564709a5c7c9925a01dadb18d78e3 manually to installed released version. Any ETA for a new release, though?

dmitriy5181 avatar Jul 29 '21 12:07 dmitriy5181

I can no longer keep up the maintenance of the add-on at this point, as Alpine 3.14 is on Python 3.9. Can't complete generic add-on improvement rollouts, can't close up known CVEs.

This currently affects around ~40K active installations of the AppDaemon add-on.

Any insight on when we can expect Python 3.9 support to be released?

frenck avatar Aug 11 '21 11:08 frenck

Hi @frenck

We will be getting a few last fixes in then planning to release with 3.9 and alpine 3.14 next weekend (21st or 22nd)

acockburn avatar Aug 11 '21 17:08 acockburn

In comment above I meant to say a 3.9 docker image not Alpine 3.14 - new AD will be released later today.

acockburn avatar Aug 21 '21 18:08 acockburn

In comment above I meant to say a 3.9 docker image not Alpine 3.14

The community add-ons are on Alpine.

new AD will be released later today.

🎉 Thank you!

frenck avatar Aug 21 '21 18:08 frenck