From 749a8ea0b687adda74b7ed8450582c4b55ef1a20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Nicol=C3=A1s=20Estevez?= <73709191+Polandia94@users.noreply.github.com> Date: Tue, 3 Dec 2024 17:07:18 -0300 Subject: [PATCH 1/2] delete workarround for pyton2.7 This workarround is only for unsoportted python 2.7 --- src/snowflake/connector/connection.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/snowflake/connector/connection.py b/src/snowflake/connector/connection.py index 8d6cb05a7..3b1d3bd25 100644 --- a/src/snowflake/connector/connection.py +++ b/src/snowflake/connector/connection.py @@ -23,7 +23,6 @@ from io import StringIO from logging import getLogger from threading import Lock -from time import strptime from types import TracebackType from typing import Any, Callable, Generator, Iterable, Iterator, NamedTuple, Sequence from uuid import UUID @@ -312,9 +311,6 @@ def _get_private_bytes_from_file( for m in [method for method in dir(errors) if callable(getattr(errors, method))]: setattr(sys.modules[__name__], m, getattr(errors, m)) -# Workaround for https://bugs.python.org/issue7980 -strptime("20150102030405", "%Y%m%d%H%M%S") - logger = getLogger(__name__) From 2ed411ae25756ffdfa4bd978e76380112673e86a Mon Sep 17 00:00:00 2001 From: Mark Keller Date: Thu, 30 Jan 2025 09:42:13 -0800 Subject: [PATCH 2/2] adding changelog --- DESCRIPTION.md | 1 + 1 file changed, 1 insertion(+) diff --git a/DESCRIPTION.md b/DESCRIPTION.md index 6cce5770d..e9ac9b18e 100644 --- a/DESCRIPTION.md +++ b/DESCRIPTION.md @@ -9,6 +9,7 @@ Source code is also available at: https://github.com/snowflakedb/snowflake-conne # Release Notes - v3.13.3(TBD) - Bumped pyOpenSSL dependency upper boundary from <25.0.0 to <26.0.0. + - Removed the workaround for a Python 2.7 bug. - v3.13.2(January 29, 2025) - Changed not to use scoped temporary objects.