I find it quite convenience to package together build options using Meson's native files. Unfortunately if I try to set the build type in a native file like e.g.:
[built-in options]
buildtype = 'debug'
this will not override the -Dbuildtype given by meson-python here (even though it's given earlier in the command line):
I'm not sure whether this is something that should be fixed in Meson or meson-python. One workaround could be to put these defaults in a native file specified earlier in the command line. This should cause them to be overwritten by the user native file correctly.