Skip to content

Commit 6b27061

Browse files
Merge branch 'main' into SNOW-2129602-ensure-scheme-in-gcs-stage-endpoints
2 parents c18f1f1 + 451a60b commit 6b27061

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+2125
-1219
lines changed

.github/workflows/build_test.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,13 @@ jobs:
158158
run: |
159159
gpg --quiet --batch --yes --decrypt --passphrase="$PARAMETERS_SECRET" \
160160
.github/workflows/parameters/public/parameters_${{ matrix.cloud-provider }}.py.gpg > test/parameters.py
161+
- name: Setup private key file
162+
shell: bash
163+
env:
164+
PYTHON_PRIVATE_KEY_SECRET: ${{ secrets.PYTHON_PRIVATE_KEY_SECRET }}
165+
run: |
166+
gpg --quiet --batch --yes --decrypt --passphrase="$PYTHON_PRIVATE_KEY_SECRET" \
167+
.github/workflows/parameters/public/rsa_keys/rsa_key_python_${{ matrix.cloud-provider }}.p8.gpg > test/rsa_key_python_${{ matrix.cloud-provider }}.p8
161168
- name: Download wheel(s)
162169
uses: actions/download-artifact@v4
163170
with:
@@ -229,6 +236,13 @@ jobs:
229236
run: |
230237
gpg --quiet --batch --yes --decrypt --passphrase="$PARAMETERS_SECRET" \
231238
.github/workflows/parameters/public/parameters_${{ matrix.cloud-provider }}.py.gpg > test/parameters.py
239+
- name: Setup private key file
240+
shell: bash
241+
env:
242+
PYTHON_PRIVATE_KEY_SECRET: ${{ secrets.PYTHON_PRIVATE_KEY_SECRET }}
243+
run: |
244+
gpg --quiet --batch --yes --decrypt --passphrase="$PYTHON_PRIVATE_KEY_SECRET" \
245+
.github/workflows/parameters/public/rsa_keys/rsa_key_python_${{ matrix.cloud-provider }}.p8.gpg > test/rsa_key_python_${{ matrix.cloud-provider }}.p8
232246
- name: Upgrade setuptools, pip and wheel
233247
run: python -m pip install -U setuptools pip wheel
234248
- name: Install tox
@@ -290,6 +304,13 @@ jobs:
290304
run: |
291305
gpg --quiet --batch --yes --decrypt --passphrase="$PARAMETERS_SECRET" \
292306
.github/workflows/parameters/public/parameters_${{ matrix.cloud-provider }}.py.gpg > test/parameters.py
307+
- name: Setup private key file
308+
shell: bash
309+
env:
310+
PYTHON_PRIVATE_KEY_SECRET: ${{ secrets.PYTHON_PRIVATE_KEY_SECRET }}
311+
run: |
312+
gpg --quiet --batch --yes --decrypt --passphrase="$PYTHON_PRIVATE_KEY_SECRET" \
313+
.github/workflows/parameters/public/rsa_keys/rsa_key_python_${{ matrix.cloud-provider }}.p8.gpg > test/rsa_key_python_${{ matrix.cloud-provider }}.p8
293314
- name: Download wheel(s)
294315
uses: actions/download-artifact@v4
295316
with:
@@ -343,6 +364,13 @@ jobs:
343364
run: |
344365
gpg --quiet --batch --yes --decrypt --passphrase="$PARAMETERS_SECRET" \
345366
.github/workflows/parameters/public/parameters_${{ matrix.cloud-provider }}.py.gpg > test/parameters.py
367+
- name: Setup private key file
368+
shell: bash
369+
env:
370+
PYTHON_PRIVATE_KEY_SECRET: ${{ secrets.PYTHON_PRIVATE_KEY_SECRET }}
371+
run: |
372+
gpg --quiet --batch --yes --decrypt --passphrase="$PYTHON_PRIVATE_KEY_SECRET" \
373+
.github/workflows/parameters/public/rsa_keys/rsa_key_python_${{ matrix.cloud-provider }}.p8.gpg > test/rsa_key_python_${{ matrix.cloud-provider }}.p8
346374
- name: Download wheel(s)
347375
uses: actions/download-artifact@v4
348376
with:
19 Bytes
Binary file not shown.
18 Bytes
Binary file not shown.
17 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

DESCRIPTION.md

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

99
# Release Notes
1010
- v3.16.1(TBD)
11+
- Added new authentication methods support for Workload Identity Federation (WIF).
12+
- Added the `WORKLOAD_IDENTITY` value for authenticator type.
13+
- Added the `workload_identity_provider` and `workload_identity_entra_resource` parameters.
1114
- Added in-band OCSP exception telemetry.
1215
- Added `APPLICATION_PATH` within `CLIENT_ENVIRONMENT` to distinguish between multiple scripts using the PythonConnector in the same environment.
1316
- Disabled token caching for OAuth Client Credentials authentication
1417
- Added in-band HTTP exception telemetry.
1518
- Fixed a bug where timezoned timestamps fetched as pandas.DataFrame or pyarrow.Table would overflow for the sake of unnecessary precision. In the case where an overflow cannot be prevented a clear error will be raised now.
1619
- Fix OAuth authenticator values.
1720
- Add `unsafe_skip_file_permissions_check` flag to skip file permissions check on cache and config.
18-
- Introduce snowflake_version property to the connection
21+
- Introduce snowflake_version property to the connection.
22+
- Added basic json support for Interval types.
23+
- Moved `OAUTH_TYPE` to `CLIENT_ENVIROMENT`.
24+
- Fix bug where PAT with external session authenticator was used while `external_session_id` was not provided in `SnowflakeRestful.fetch`
25+
- Added support for parameter `use_vectorized_scanner` in function `write_pandas`.
1926
- Fix GCS staging by ensuring the endpoint has a scheme.
2027

2128
- v3.16.0(July 04,2025)

ci/container/test_authentication.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ export SNOWFLAKE_AUTH_TEST_PRIVATE_KEY_PATH=./.github/workflows/parameters/priva
1313
export SNOWFLAKE_AUTH_TEST_INVALID_PRIVATE_KEY_PATH=./.github/workflows/parameters/private/rsa_keys/rsa_key_invalid.p8
1414

1515
export SF_OCSP_TEST_MODE=true
16-
export SF_ENABLE_EXPERIMENTAL_AUTHENTICATION=true
1716
export RUN_AUTH_TESTS=true
1817
export AUTHENTICATION_TESTS_ENV="docker"
1918
export PYTHONPATH=$SOURCE_ROOT

ci/test_fips_docker.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ docker run --network=host \
3131
-e cloud_provider \
3232
-e PYTEST_ADDOPTS \
3333
-e GITHUB_ACTIONS \
34+
-e JENKINS_HOME=${JENKINS_HOME:-false} \
3435
--mount type=bind,source="${CONNECTOR_DIR}",target=/home/user/snowflake-connector-python \
3536
${CONTAINER_NAME}:1.0 \
3637
/home/user/snowflake-connector-python/ci/test_fips.sh $1

0 commit comments

Comments
 (0)