Skip to content

Commit 7bf17c2

Browse files
[ASYNC] SNOW-1763673 python3.13 support
1 parent 6ec9dd4 commit 7bf17c2

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/build_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ jobs:
421421
os:
422422
- image_name: ubuntu-latest
423423
download_name: manylinux_x86_64
424-
python-version: [ "3.8", "3.9" ]
424+
python-version: [ "3.9", ]
425425
steps:
426426
- uses: actions/checkout@v4
427427
- name: Set up Python

test/unit/aio/test_ocsp.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,27 +87,28 @@ async def _asyncio_connect(url, timeout=5):
8787

8888
@pytest.fixture(autouse=True)
8989
def random_ocsp_response_validation_cache():
90+
RANDOM_FILENAME_SUFFIX_LEN = 10
9091
file_path = {
9192
"linux": os.path.join(
9293
"~",
9394
".cache",
9495
"snowflake",
95-
f"ocsp_response_validation_cache{random_string()}",
96+
f"ocsp_response_validation_cache{random_string(RANDOM_FILENAME_SUFFIX_LEN)}",
9697
),
9798
"darwin": os.path.join(
9899
"~",
99100
"Library",
100101
"Caches",
101102
"Snowflake",
102-
f"ocsp_response_validation_cache{random_string()}",
103+
f"ocsp_response_validation_cache{random_string(RANDOM_FILENAME_SUFFIX_LEN)}",
103104
),
104105
"windows": os.path.join(
105106
"~",
106107
"AppData",
107108
"Local",
108109
"Snowflake",
109110
"Caches",
110-
f"ocsp_response_validation_cache{random_string()}",
111+
f"ocsp_response_validation_cache{random_string(RANDOM_FILENAME_SUFFIX_LEN)}",
111112
),
112113
}
113114
yield SFDictFileCache(

0 commit comments

Comments
 (0)