custom-components / pyscript

Pyscript adds rich Python scripting to HASS
Apache License 2.0
874 stars 46 forks source link

Is pyscript ready for Python 3.11? #471

Closed bjornbak closed 1 year ago

bjornbak commented 1 year ago

Home Assistant 2023.6 is coming up which features an upgrade to Python 3.11.

Not sure what that entails other than is is supposedly faster...

Just want to call out if pyscript is ready for the upgrade?

craigbarratt commented 1 year ago

I pushed commits 4ddfefc and 3225f41, which upgrade the tests to Python 3.11. I don't think any significant core code changed (just tests and test requirement versions), so the current release should be ok. However, I still need to actually test it with the latest beta release.

bjornbak commented 1 year ago

Fantastic!

craigbarratt commented 1 year ago

Yes, the 1.5.0 release uses Python 3.11.