From 2f284847c2c70096f972a5a7ac2c6611a130d402 Mon Sep 17 00:00:00 2001 From: Yong Tang Date: Mon, 21 Aug 2023 12:38:41 -0700 Subject: [PATCH 1/3] Update AWS SDK to 1.8.187 Signed-off-by: Yong Tang --- WORKSPACE | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index e026b865e..9c0748c94 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -206,10 +206,9 @@ http_archive( """sed -i.bak 's/__attribute__((visibility("default")))//g' aws-cpp-sdk-core/include/aws/core/external/tinyxml2/tinyxml2.h """, ], sha256 = "749322a8be4594472512df8a21d9338d7181c643a00e08a0ff12f07e831e3346", - strip_prefix = "aws-sdk-cpp-1.8.186", + strip_prefix = "aws-sdk-cpp-1.8.187", urls = [ - "https://storage.googleapis.com/mirror.tensorflow.org/github.com/aws/aws-sdk-cpp/archive/1.8.186.tar.gz", - "https://github.com/aws/aws-sdk-cpp/archive/1.8.186.tar.gz", + "https://github.com/aws/aws-sdk-cpp/archive/1.8.187.tar.gz", ], ) From 682b1431fd1c6d0bb5dabb7b217ff398c7d4747f Mon Sep 17 00:00:00 2001 From: Yong Tang Date: Mon, 21 Aug 2023 12:40:08 -0700 Subject: [PATCH 2/3] Fix --- WORKSPACE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WORKSPACE b/WORKSPACE index 9c0748c94..e9dba140f 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -205,7 +205,7 @@ http_archive( """sed -i.bak 's/UUID::RandomUUID/Aws::Utils::UUID::RandomUUID/g' aws-cpp-sdk-core/source/client/AWSClient.cpp""", """sed -i.bak 's/__attribute__((visibility("default")))//g' aws-cpp-sdk-core/include/aws/core/external/tinyxml2/tinyxml2.h """, ], - sha256 = "749322a8be4594472512df8a21d9338d7181c643a00e08a0ff12f07e831e3346", + sha256 = "ae1cb22225b1f47eee351c0064be5e87676bf7090bb9ad19888bea0dab0e2749", strip_prefix = "aws-sdk-cpp-1.8.187", urls = [ "https://github.com/aws/aws-sdk-cpp/archive/1.8.187.tar.gz", From 1d56ac822392beceeed6390f4976ba5230f00a53 Mon Sep 17 00:00:00 2001 From: Yong Tang Date: Mon, 21 Aug 2023 13:17:13 -0700 Subject: [PATCH 3/3] Update --- tensorflow_io/core/filesystems/s3/s3_filesystem.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow_io/core/filesystems/s3/s3_filesystem.cc b/tensorflow_io/core/filesystems/s3/s3_filesystem.cc index d329b2ce6..3217edb85 100644 --- a/tensorflow_io/core/filesystems/s3/s3_filesystem.cc +++ b/tensorflow_io/core/filesystems/s3/s3_filesystem.cc @@ -1023,7 +1023,7 @@ void CreateDir(const TF_Filesystem* filesystem, const char* path, PathExists(filesystem, dir_path.c_str(), status); if (TF_GetCode(status) == TF_OK) { - std::unique_ptr file( + std::unique_ptr file( new TF_WritableFile, [](TF_WritableFile* file) { if (file != nullptr) { if (file->plugin_file != nullptr) tf_writable_file::Cleanup(file);