Description
Our touch implementation depends on the MetadataDirective="REPLACE"
:
cloudpathlib/cloudpathlib/s3/s3client.py
Lines 158 to 165 in de6b547
However, this fails our test for touch
when the rig is custom_s3_rig
running against our MinIO test server:
cloudpathlib/tests/test_cloudpath_file_io.py
Lines 61 to 66 in de6b547
I suspect that MinIO doesn't support this S3 functionality yet or it is a bug. We potentially could workaround by checking if the endpoint_url
is set to a non-AWS URL and potentially do the fallback entire copy in that case.
This needs research to understand if this is a MinIO bug we could file to be fixed upstream or if we should workaround it.
When this is fixed, we should re-enable this test.