You can easily change the versioning settings on Document library for your OneDrive.
Log on your OneDrive site and add into URL
so it will looks like:
I am having the same issue and it seems that this is coming from SharePoint when using PNP or CSOM. However, this works fine when using REST. Hence, you can overcome this using REST as follows