Newer versions of the "click" package have dropped get_terminal_size support. The latest version of platform io already imports it from shutil. The issue here is that the platformio package installed from the repositories is not compatible with the click version:
platformio/noble,noble,now 4.3.4-3 python3-click/noble,noble,now 8.1.6-2 Click>=8.0 is only supported since platformio 5.2 according to the commit information. The right fix is to bump the platformio version from the repositories. Tested on Ubuntu 24.04 beta. Source: https://github.com/platformio/platformio-core/commit/27feb1ddd79d310d8be69706042a4166cf3f5f74 https://github.com/pallets/click/pull/2130 https://github.com/tiangolo/typer/pull/375 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2033388 Title: 'PlatformioCLI' object has no attribute 'resultcallback' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/platformio/+bug/2033388/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs