Due to legacy code I'm uploading database cache from my local machine to production. However as I'm using python 3.9 and production is running python 3.7, I'm running into "unsupported pickle protocol" errors when the cache is used (ValueError: unsupported pickle protocol: 5
).
Is there any way to set the pickle version on my local to match the version? or any method to transform it? ...or am I stuck installing and using python 3.7 for this project?