Did it? I’m on Fedora 38 and I have
~ $ head -1 /usr/bin/meson
#!/usr/bin/python3
~ $ head -1 /usr/bin/dnf
#!/usr/bin/python3
I unpacked the meson RPM from meson-1.2.3-1.fc39 | Build Info | koji to see if it had changed in Fedora 39 but the shebang line is the same.