Cannot upgrade to PlatformIO newer than 6.1.18

Hello!
Mac ARM user here.

I’ve installed VS Code and Platformio IDE extension, brand new installation.
It installs v6.1.18
I have to compile a project that asks for 6.1.19 or newer.

Resolving lilygo_330 dependencies...

Platform Manager: Installing https://github.com/pioarduino/platform-espressif32/releases/download/55.03.38/platform-espressif32.zip

Downloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%

Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%

Platform Manager: espressif32@55.3.38 has been installed!

Platform Manager: Removing espressif32 @ 55.3.38

Platform Manager: espressif32@55.3.38 has been removed!

IncompatiblePlatform: Development platform 'espressif32' is not compatible with PlatformIO Core v6.1.18 and depends on PlatformIO Core >=6.1.19.

I tried to upgrade using pio upgrade command and I get:

Please wait while upgrading PlatformIO Core …
PlatformIO has been successfully upgraded to 6.1.18
Release notes: Redirecting...
Warning! Please restart IDE to affect PIO Home changes

So, how can I install 6.1.18 or newer?

post your platformio.ini file

do you have an updated version of VSCODE + PlatformIO ?

Fixed using the info from here: