theriverman / django-minio-backend

Minio Backend for Django
https://pypi.org/project/django-minio-backend/
MIT License
112 stars 22 forks source link

[fix] pin minio version to 7.2.7 #51

Closed arash-ataei-solut closed 2 months ago

arash-ataei-solut commented 2 months ago

Problem

File save fails when the minio package version is equal to 7.2.8. Possible cause of failure might be django-minio-backend does not supporting the newer version of minio. Error that was raised is:

TypeError: a bytes-like object is required, not 'str'

File save works fine with version 7.2.7 of the minio package

Applied solution

Resolved the problem by pinning the Minio package version to 7.2.7.

theriverman commented 2 months ago

Thanks for the hotfix. I shall find some time to dig into the recent minio API changes.