Skip to content

Replace minio with boto3 #1819

@ivanistheone

Description

@ivanistheone

Summary

The current version of minio==3.0.3 is outdated and would be good to upgrade to newest version as part of the py3 rollout.

Context

While studio's vue-refactor branch under py3.7, I ran into some issues with minio.
see minio/minio-py#835
fixed in https://github.com/minio/minio-py/tree/5.0.6

So if we want to support py3.7 in the future we'll need to:

-minio==3.0.3
+minio==5.0.8   # = latest  (or at least 5.0.6)

There have been several changes to minio API between 3.0.3 (ours) and 5.x (latest):

Looking at the changelog I saw several bugfix releases that seemed useful to have and could potentially avoid bugs in production.

Edit (Aron): since we only use the minio library to create the bucket, we should just replace this with boto3, which is already included by django-s3-storage.

Category

Select one: ENHANCEMENT

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions