Skip to content

Commit 7d1356c

Browse files
Prepare 4.2.0 release (#2718)
1 parent 1184c51 commit 7d1356c

File tree

7 files changed

+17
-15
lines changed

7 files changed

+17
-15
lines changed

.github/workflows/build_test.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,7 @@ jobs:
447447
junit.py${{ env.shortver }}-lambda-ci-dev.xml
448448
449449
test-aio:
450+
if: false # temporarily disable aio - SNOW-2905263
450451
name: Test asyncio ${{ matrix.os.download_name }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}
451452
needs: build
452453
runs-on: ${{ matrix.os.image_name }}
@@ -524,7 +525,8 @@ jobs:
524525
.tox/.coverage
525526
.tox/coverage.xml
526527
527-
test-unsupporeted-aio:
528+
test-unsupported-aio:
529+
if: false # temporarily disable aio - SNOW-2905263
528530
name: Test unsupported asyncio ${{ matrix.os.download_name }}-${{ matrix.python-version }}
529531
runs-on: ${{ matrix.os.image_name }}
530532
strategy:
@@ -607,7 +609,9 @@ jobs:
607609
combine-coverage:
608610
if: always()
609611
name: Combine coverage
610-
needs: [lint, test, test-fips, test-lambda, test-aio]
612+
# temporarily disable aio - SNOW-2905263
613+
# needs: [lint, test, test-fips, test-lambda, test-aio]
614+
needs: [lint, test, test-fips, test-lambda]
611615
runs-on: ubuntu-latest
612616
steps:
613617
- uses: actions/checkout@v4

.github/workflows/check_installation.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656
rm -rf test_no_boto_env
5757
5858
test-installation-aioboto:
59+
if: false # temporarily disable aio - SNOW-2905263
5960
name: Test aioboto dependency
6061
runs-on: ubuntu-latest
6162
steps:

DESCRIPTION.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ Source code is also available at: https://github.com/snowflakedb/snowflake-conne
88

99
# Release Notes
1010
- v4.2.0(TBD)
11-
- Added support for async I/O. Asynchronous version of connector is available via `snowflake.connector.aio` module.
1211
- Added `SnowflakeCursor.stats` property to expose granular DML statistics (rows inserted, deleted, updated, and duplicates) for operations like CTAS where `rowcount` is insufficient.
1312
- Added support for injecting SPCS service identifier token (`SPCS_TOKEN`) into login requests when present in SPCS containers.
1413
- Introduced shared library for extended telemetry to identify and prepare testing platform for native rust extensions.
15-
- v4.1.1(TBD)
14+
15+
- v4.1.1(December 12,2025)
1616
- Relaxed pandas dependency requirements for Python below 3.12.
1717
- Changed CRL cache cleanup background task to daemon to avoid blocking main thread.
1818
- Fixed NO_PROXY issues with PUT operations

ci/wif/test_wif.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export RUN_WIF_TESTS=true
1212
/opt/python/cp312-cp312/bin/python -m pip install --break-system-packages -e .
1313
/opt/python/cp312-cp312/bin/python -m pytest test/wif/ --ignore test/wif/test_wif_async.py
1414

15-
# test WIF with asyncio installed
16-
/opt/python/cp312-cp312/bin/python -m pip install --break-system-packages -e '.[aio]'
17-
/opt/python/cp312-cp312/bin/python -m pytest test/wif/
15+
# temporarily disable aio - SNOW-2905263
16+
# # test WIF with asyncio installed
17+
# /opt/python/cp312-cp312/bin/python -m pip install --break-system-packages -e '.[aio]'
18+
# /opt/python/cp312-cp312/bin/python -m pytest test/wif/

setup.cfg

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,3 @@ pandas =
111111
pyarrow>=14.0.1
112112
secure-local-storage =
113113
keyring>=23.1.0,<26.0.0
114-
aio =
115-
aiohttp>=3.12.14
116-
aioboto =
117-
aioboto3>=15.0.0

setup.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,6 @@ def finalize_options(self):
191191
boto_extras = self.distribution.extras_require.get("boto", [])
192192
self.distribution.install_requires += boto_extras
193193

194-
if "aio" in self.distribution.extras_require:
195-
aioboto_extras = self.distribution.extras_require.get("aioboto", [])
196-
self.distribution.extras_require["aio"] += aioboto_extras
197-
198194

199195
# Update command classes
200196
cmd_class["egg_info"] = SetDefaultInstallationExtras

src/snowflake/connector/aio/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
from __future__ import annotations
22

3+
# temporarily disable aio - SNOW-2905263
4+
raise ImportError("aio is not supported in this version of the connector")
5+
6+
37
from functools import wraps
48
from typing import Any, Coroutine, Generator, Protocol, TypeVar, runtime_checkable
59

0 commit comments

Comments
 (0)