From 45ff53495bc496018c0b3b36edce5eedfb9ef298 Mon Sep 17 00:00:00 2001 From: Sammy Sidhu Date: Mon, 21 Oct 2024 13:57:55 -0700 Subject: [PATCH 1/2] [BUG] Disable SSL override linux --- daft/io/__init__.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/daft/io/__init__.py b/daft/io/__init__.py index 7d36701886..456cbf3d77 100644 --- a/daft/io/__init__.py +++ b/daft/io/__init__.py @@ -21,21 +21,6 @@ from daft.io.catalog import DataCatalogTable, DataCatalogType from daft.io.file_path import from_glob_path - -def _set_linux_cert_paths(): - import os - import ssl - - paths = ssl.get_default_verify_paths() - if paths.cafile: - os.environ[paths.openssl_cafile_env] = paths.openssl_cafile - if paths.capath: - os.environ[paths.openssl_capath_env] = paths.openssl_capath - - -if sys.platform == "linux": - _set_linux_cert_paths() - __all__ = [ "read_csv", "read_json", From 4074d06c334c8556f9e9fd85ad3f78328b5e6ea8 Mon Sep 17 00:00:00 2001 From: Sammy Sidhu Date: Mon, 21 Oct 2024 13:58:04 -0700 Subject: [PATCH 2/2] [BUG] Disable SSL override linux --- daft/io/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/daft/io/__init__.py b/daft/io/__init__.py index 456cbf3d77..09647f21f2 100644 --- a/daft/io/__init__.py +++ b/daft/io/__init__.py @@ -1,7 +1,5 @@ from __future__ import annotations -import sys - from daft.daft import ( AzureConfig, GCSConfig,