From 4bf33eb6b7389541d7c5a8904042e8dc25ac4452 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 14 Jan 2021 17:16:16 -0800 Subject: pipenv: lock minio S3 library to <7.0.0 In this upstream commit: https://github.com/minio/minio-py/commit/b81883a98e6f8a09e2903609caabbf0956dd0ec9 The API for errors changes, which makes it harder for use to catch specific exceptions (such as "NoSuchKey" as a Not Found / 404 error). Instead of refactoring, just going to pin the library. We should probably remove this library for a non-implementation-specific S3 client at some point; minio seems simpler than, eg, boto3, but there is probably something ever simpler out there. --- Pipfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Pipfile') diff --git a/Pipfile b/Pipfile index 04c6469..937ed4b 100644 --- a/Pipfile +++ b/Pipfile @@ -19,7 +19,7 @@ httptools = "*" internetarchive = "*" jinja2 = "*" lxml = "*" -minio = "*" +minio = "<7.0.0" pycountry = "==19.8.18" pydantic = "*" pylatexenc = "*" -- cgit v1.2.3