Skip to content

🐍 Big Update - PY3 Only From Now On!

Compare
Choose a tag to compare
@QuinnDamerell QuinnDamerell released this 18 Apr 23:02
· 294 commits to master since this release

Hello Makers! 👋

Today is a significant moment because this is the first release of OctoEverywhere that only supports Python 3! This only affects OctoPrint users since all users on Klipper are already using Python 3. Python 2 was end-of-life in 2020, and the last PY2 update for OctoPrint was in 2022. I have tried to keep PY2 compatibility for as long as possible. But I have been watching the OctoPrint stats, and the usage is low enough now it's no longer worth keeping PY2 support.

This is a significant step forward because, in the past, all of the packages OctoEverywhere depended upon had to work for PY2 and PY3. This has become a problem because most packages dropped PY2 support years ago. The straw that broke the camel's back was the WebSocket package had a bug with threads in the PY2 and PY3 comparable versions. But now that's a problem no longer!

Moving to PY3 only should have some great perf and stability advantages. I know we already fixed one major-ish bug by updating the WebSocket package. And since I bumped other package versions, I'm sure we moved past other bugs as well.

If you're still running a Python 2 version of OctoPrint, it's super easy to update! OctoPrint has been asking users to upgrade for a few years now; here's a GitHub page that will walk you through the upgrade!

Like always, if you experience any issues, please let me know by creating a support ticket!

Happy Printing! 🚀