Audacity 4.0.1 "Preventing Sleep" on macOS

Audacity 4.0.1 is “Preventing Sleep” on macOS 15.8.1. Which also means that “Start Screen Saver whan inactive” and “Turn display off when inactive” do not work.

This appears to have previously been an unresolved issue on Windows here: Audacity prevents computer from going into screensaver, and prevents monitor from going to sleep

Any ideas what’s going on?