Thonny 4.0.0

138 views
Skip to first unread message

Aivar Annamaa

unread,
Aug 23, 2022, 2:51:16 AM8/23/22
to thonny
Hi!


If no big problems come up, then I'll switch the main download links at https://thonny.org to 4.0.0 in a couple of days.

Best regards,
Aivar

Andy Piper

unread,
Aug 23, 2022, 5:38:07 AM8/23/22
to thonny
This is great, Thank You Aivar for all your work on this, and the work of the contributors. I’ve been using the betas on macOS for several months with MicroPython boards, and it looks good.

Reminder to everyone that it’s a great time to sponsor Thonny development! https://github.com/thonny/thonny/wiki/Sponsors

Andy

Aivar Annamaa

unread,
Aug 23, 2022, 7:27:58 AM8/23/22
to thonny
Thank you for your support, Andy!

Best regards,
Aivar

Andy Piper

unread,
Aug 23, 2022, 7:40:25 AM8/23/22
to Aivar Annamaa, thonny
Just submitted a PR to update the Homebrew Cask -> https://github.com/Homebrew/homebrew-cask/pull/130264

Waiting on review, but hopefully should be merged soon for Homebrew users.

--
You received this message because you are subscribed to a topic in the Google Groups "thonny" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/thonny/gdRl5vaF7yg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to thonny+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/thonny/602a4461-cbd4-483c-8776-12cc543207c2n%40googlegroups.com.


--
Andy Piper | Kingston upon Thames, London (UK)
links: https://andypiper.me  | twitter: @andypiper 

Aivar Annamaa

unread,
Aug 24, 2022, 9:19:56 AM8/24/22
to thonny
Main links at https://thonny.org are now updated. Please note that Windows users need to choose between two installers now.

Best regards,
Aivar

Mark Harris

unread,
Aug 24, 2022, 12:08:36 PM8/24/22
to thonny
Hi, I updated my Thonny install on my Chromebook (linux) last night and while it worked fine with the Python3 installation locally, when I changed the interpreter to point to my RPi I got an error message to the effect that Thonny 4.0 was written for Python 3.8, and my RPi is running 3.7. Is there a way around this, or will I have to stick with earlier versions of Thonny? - Mark

Aivar Annamaa

unread,
Aug 24, 2022, 2:59:53 PM8/24/22
to thonny
Mark, 

I assume you want to access your RPi over SSH.

It's true that Thonny 4.0 doesn't support Python 3.7 anymore. If you can't or don't want to upgrade your RPi to Bullseye (which comes with Python 3.9), then you need to stick with Thonny 3.3.

Best regards,
Aivar

Kenneth C. Arnold

unread,
Aug 26, 2022, 6:21:28 PM8/26/22
to thonny
Looks great so far!

I see that the XXL builds for Mac were temporarily disabled back in Feb. Is there a plan to turn that build back on?

Thanks!

Aivar Annamaa

unread,
Aug 28, 2022, 2:45:48 AM8/28/22
to thonny
The XXL build for Mac is more difficult now, as I need to account for both Arm and Intel targets. The bundled Python itself is universal2 build, but most packages publish separate wheels for intel and arm and when I pip-install the packages into the bundle on my Intel Mac, only Intel wheels get downloaded.

I heard that it's possible to make pip ignore published binaries and build universal2 wheels during the install. If I manage to do this, then I'll restore the XXL bundle. Or I'll start publishing separate installers for Intel and Arm.

I added a reminder for myself (https://github.com/thonny/thonny/issues/2409).

BTW, I haven't received any feedback about XXL builds so far. Do you consider them to be important? I suppose some teachers prescribe XXL variant to avoid the mess of installing the right packages. I can see an alternative -- the teacher prepares a requirement.txt and instructs students to install it via "Tools => Manage packages => Install from requirements file". What do you think about this?

Best regards,
Aivar

Kenneth C. Arnold

unread,
Sep 2, 2022, 2:11:05 PM9/2/22
to thonny
Makes sense, I'd forgotten about Arm!

That's exactly what I had been using the XXL build for. I have bad memories of setting up C toolchains on Windows for building Python packages. But now that wheels are reliably available, I guess I don't need to worry nearly so much about this anymore. I tried the requirements.txt approach and it seems to work fine for a Windows install for me.

I used to link directly to the XXL builds, but I just changed the instructions to refer to thonny.org. At the point where we need additional packages, I'll distribute the requirements.txt and we'll see how it goes!

Thanks for the ideas.
Reply all
Reply to author
Forward
0 new messages