@djm_ Not that I'm aware of. You could try something dirty like prepending your build command in Netlify with "rm runtime.txt" since that is just happening in the ephemeral build env.
This discussion thread may be relevant and worth getting in on.
https://community.netlify.com/t/python-3-8-and-ignore-pipfile/15063