Skip to content

Commit

Permalink
[BUG] Disable Linux SSL CERT override (#3098)
Browse files Browse the repository at this point in the history
fixes: #3097
  • Loading branch information
samster25 authored Oct 21, 2024
1 parent 2f09cae commit 9338e2e
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions daft/io/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
from __future__ import annotations

import sys

from daft.daft import (
AzureConfig,
GCSConfig,
Expand All @@ -21,21 +19,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",
Expand Down

0 comments on commit 9338e2e

Please sign in to comment.