Platformio and STLINK-V3PWR

I am trying to upload to a custom board (to a STM32F072) using a STLINK-V3PWR, but it fails with the following openocd error message:

xPack Open On-Chip Debugger 0.12.0-01004-g9ea7f3d64-dirty (2023-01-30-15:04)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
debug_level: 1

srst_only separate srst_nogate srst_open_drain connect_deassert_srst

Error: open failed
in procedure 'program'
** OpenOCD init failed **
shutdown command invoked

*** [upload] Error 1

using the STM32CubeProgrammer software works for connecting to the target and uploading code:

I assume this is because the OpenOCD version used by platformio does not support the STLINK-V3PWR yet - if this post on the ST community forums is to be believed. I tried manually setting upload_protocol, upload_port and debug_tool in platformio.ini, but this did not fix the issue.

(I did pio pkg update my installation before)