Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
263 commits
Select commit Hold shift + click to select a range
4b3ded1
Support base64-encoded DER private keys (#2134)
sfc-gh-eworoshow Jan 13, 2025
fc5f548
SNOW-1882588 Allow Empty Sql Text when Dataframe Ast is Presented (#2…
sfc-gh-bli Jan 16, 2025
66cc90b
SNOW-1882588 Add Test for PR 2136 (#2138)
sfc-gh-bli Jan 17, 2025
598ab4c
Update CODEOWNERS (#2139)
sfc-gh-mkeller Jan 17, 2025
2331d23
release 3.13.0 (#2141)
sfc-gh-mkeller Jan 23, 2025
9701b3e
bump gh action (#2144)
sfc-gh-mkeller Jan 23, 2025
94e9943
remove 38 reqs file (#2146)
sfc-gh-mkeller Jan 24, 2025
07990e0
pin qemu used for arm64 linux wheels (#2151)
sfc-gh-mkeller Jan 28, 2025
ec3002d
Update CODEOWNERS (#2149)
sfc-gh-jszczerbinski Jan 28, 2025
3769b43
SNOW-1902019: Python CVEs january batch (#2154)
sfc-gh-jszczerbinski Jan 29, 2025
f3f9b66
SNOW-1902019: Python CVEs january batch 2 (#2155)
sfc-gh-jszczerbinski Jan 29, 2025
51bd484
Release version 3.13.1 (#2152)
sfc-gh-jszczerbinski Jan 29, 2025
5575562
Changed not to use scoped temp stage (#2158)
sfc-gh-yixie Jan 30, 2025
cc52d00
SNOW-1891253 bump pyopenssl upper boundary to <26.0.0 from <25.0.0 (#…
sfc-gh-dszmolka Jan 30, 2025
5bfa659
delete workarround for pyton2.7 (#2112)
Polandia94 Jan 30, 2025
53592ed
SNOW-1886670 pin pyarrow (#2163)
sfc-gh-mkeller Jan 31, 2025
112395d
Optimize import time: Directly lookup target distributions instead of…
sfc-gh-rebeling Feb 10, 2025
d5871a2
SNOW-1920533 match privatelink in hostname to setup correct privateli…
sfc-gh-dszmolka Feb 11, 2025
06d4eff
SNOW-1652349: Add support for iceberg to write_pandas (#2056)
sfc-gh-jrose Feb 13, 2025
a30c70a
SNOW-1935873 Fix test different key length (#2176)
sfc-gh-mkubik Feb 18, 2025
a254964
Update snyk-issue.yml (#2179)
sfc-gh-fochnik Feb 20, 2025
8a2b8ba
SNOW-921045 Add wiremock tests support (#2170)
sfc-gh-mkubik Feb 21, 2025
ba15553
SNOW-1922893: Remove Windows permissions check (#2173)
sfc-gh-pbulawa Feb 24, 2025
7ed7682
SNOW-1934035 add support for file (#2177)
sfc-gh-zli Feb 24, 2025
900a676
SNOW-1949003: Skip test until Snowflake 9.4 release (#2185)
sfc-gh-pbulawa Feb 25, 2025
114750b
SNOW-1944208 add unsafe write flag (#2184)
sfc-gh-mkubik Feb 27, 2025
a4c2162
Update 3.14 release notes (#2188)
sfc-gh-yixie Feb 28, 2025
63417ba
3.14-Update Requirements (#2190)
sfc-gh-yixie Mar 3, 2025
24ff40d
Update version 3.14.0 in requirements (#2191)
sfc-gh-yixie Mar 3, 2025
4e167b8
SNOW-1959352 disable test_connection::test_bogus (#2192)
sfc-gh-mmishchenko Mar 3, 2025
e527472
SNOW-1940996 no-op auth for Stored Proc (#2182)
sfc-gh-zyao Mar 3, 2025
97f4e67
SNOW-1960930: Update GH runner to ubuntu-latest (#2193)
sfc-gh-pbulawa Mar 4, 2025
8be9753
Update DESCRIPTION.md - add next release notes header stub (#2194)
sfc-gh-mmishchenko Mar 4, 2025
06b7754
retire from snowflake-connector-python (#2199)
sfc-gh-mkeller Mar 5, 2025
5b8d54d
SNOW-1915469 Basic support for DECFLOAT type (#2167)
sfc-gh-tkissinger Mar 5, 2025
d84edc8
NO-SNOW skip decfloat test in olddriver tests (#2201)
sfc-gh-mkubik Mar 6, 2025
46c6b5c
SNOW-1825610: Initial OCSP Deprecation (#2165)
sfc-gh-pbulawa Mar 6, 2025
44eb130
SNOW-1927118 Enable wiremock tests on Jenkins (#2196)
sfc-gh-mkubik Mar 7, 2025
04d3819
SNOW-1977987 expectation about the default lengths of LOB fields is n…
sfc-gh-mmishchenko Mar 13, 2025
7710a8c
SNOW-1825624: Refactor token cache before applying security changes (…
sfc-gh-jszczerbinski Mar 14, 2025
0bbd876
SNOW-1944162 Add tests for programmatic access token (#2183)
sfc-gh-mkubik Mar 17, 2025
7164d71
Cancel older builds on GH Actions (#2215)
sfc-gh-jszczerbinski Mar 17, 2025
cb574b6
Add support for workload identity federation (#2203)
sfc-gh-pmansour Mar 17, 2025
0fdc4a4
SNOW-1949054: Reenable to_file test (#2219)
sfc-gh-pbulawa Mar 18, 2025
da98f2d
NO-SNOW: Run test when targeting branches other than main (#2221)
sfc-gh-jszczerbinski Mar 19, 2025
26cbdf9
SNOW-1915375: disable license precommit hook (#2222)
sfc-gh-jszczerbinski Mar 19, 2025
a3229c3
SNOW-1963078 Port _upload / _download / _upload_stream / _download_st…
sfc-gh-zyao Mar 21, 2025
131bc24
Replace return with raise in WIF error check (#2231)
sfc-gh-pmansour Mar 24, 2025
d011f3d
jira creation ownership (to another support group) (#2234)
sfc-gh-dszmolka Mar 26, 2025
b848f63
SNOW-2007887: improve error message handling related to timeout (#2236)
sfc-gh-aling Mar 26, 2025
253c47a
SNOW-1789751: Add GCP regional and virtual endpoints support (#2233)
sfc-gh-pbulawa Mar 27, 2025
5e96035
SNOW-1989239 - prevent silent failures on nano-arrow conversion (#2227)
sfc-gh-mkubik Mar 28, 2025
ac24917
SNOW-1763673 python3.13 support (#2239)
sfc-gh-fpawlowski Mar 28, 2025
2ab3745
NO-SNOW skip out of range year test on old driver (#2243)
sfc-gh-mkubik Mar 31, 2025
813bbd8
SNOW-191538 remove copyright headers (#2238)
sfc-gh-mkubik Apr 1, 2025
985ec5e
SNOW-1789751: Pass GCS regional and virtual params (#2241)
sfc-gh-pbulawa Apr 1, 2025
e200620
SNOW-2019505 fix inconsistent force_put_overwrite value for _upload a…
sfc-gh-zyao Apr 2, 2025
44313a3
SNOW-1896089: Lower log level (#2251)
sfc-gh-pbulawa Apr 3, 2025
3a798e8
SNOW-2026002: Invalid url became valid (#2252)
sfc-gh-jszczerbinski Apr 4, 2025
6e214d0
SNOW-2011670 Allow url parameter requestId to be set with statement p…
sfc-gh-lspiegelberg Apr 4, 2025
cc563d8
NO-SNOW skip tests of custom requestId on olddriver (#2256)
sfc-gh-mkubik Apr 8, 2025
5e62183
SNOW-2011595: Fixed pre-commit version (#2259)
sfc-gh-fpawlowski Apr 9, 2025
017848e
SNOW-2027116 Allow for UUID encoding in SnowflakeRestful interface (#…
sfc-gh-lspiegelberg Apr 9, 2025
ed7ad49
SNOW-1955965: Fix expired S3 credentials update (#2258)
sfc-gh-pbulawa Apr 10, 2025
05434dd
NO-SNOW Add PAT to authenticators allowing empty username, remove han…
sfc-gh-mkubik Apr 10, 2025
b33def0
NO-SNOW Fix flaky query timeout test (#2266)
sfc-gh-mkubik Apr 11, 2025
aa8d662
SNOW-2040000 change tag to bptp-stable (#2268)
sfc-gh-akolodziejczyk Apr 14, 2025
c4084bf
SNOW-1825495 OAuth flows implementation (#2135)
sfc-gh-mkeller Apr 14, 2025
94bc145
SNOW-2028051 introduce a new client_fetch_threads connection paramete…
sfc-gh-mmishchenko Apr 14, 2025
0eca116
Add default entra app ID for Snowflake (#2267)
sfc-gh-pmansour Apr 15, 2025
84b2d5d
SNOW-2011595 Masking filter introduced on library levels (#2253)
sfc-gh-fpawlowski Apr 15, 2025
7b2f48d
SNOW-2043523: fix ubuntu version for old driver (#2272)
sfc-gh-fpawlowski Apr 16, 2025
c384ce1
NO-SNOW Fetch wiremock in test_darwin.sh and test_windows.bat (#2273)
sfc-gh-mkubik Apr 16, 2025
8c744de
SNOW-2032699: Use GCS virtual url based on the stage response (#2274)
sfc-gh-pbulawa Apr 16, 2025
27a4a9a
NO-SNOW mark OCSP unit tests flaky (#2276)
sfc-gh-mmishchenko Apr 16, 2025
23f77a3
NO-SNOW acquiring a lock on local OCSP cache will use a timeout (#2280)
sfc-gh-mmishchenko Apr 17, 2025
3b64495
NO-SNOW update 3.14.1 release notes (#2278)
sfc-gh-mmishchenko Apr 17, 2025
b32dc8d
Accept both v1 and v2 Entra ID issuer formats for WIF (#2281)
sfc-gh-pmansour Apr 17, 2025
f560c82
SNOW-2048239 revert zero timeout for oscp cache lock (#2283)
sfc-gh-mmishchenko Apr 18, 2025
6427d69
NO-SNOW Update release date (#2284)
sfc-gh-mmishchenko Apr 18, 2025
7a207f3
SNOW-1993520 Patch python connector version bump (#2286)
sfc-gh-mmishchenko Apr 21, 2025
4d76968
SNOW-1993520 update tested_reqs for 3.14.1 release (#2287)
sfc-gh-mmishchenko Apr 21, 2025
ce85800
SNOW-2026002: Change invalid TLD to be RFC compliant (#2288)
sfc-gh-jszczerbinski Apr 22, 2025
640cf6c
Support client-side opt-in of Refresh Token Rotation in Snowflake OAu…
sfc-gh-pmansour Apr 23, 2025
f80d83e
SNOW-2055494 fix proper boto min versions (#2295)
sfc-gh-mmishchenko Apr 24, 2025
03928bf
SNOW-2061664 flatten OAuth refresh_token and pkce parameters (#2298)
sfc-gh-mmishchenko Apr 25, 2025
2431336
SNOW-2067577 OCSP: stop certificates chain traversal as soon as a tru…
sfc-gh-mmishchenko Apr 28, 2025
60493f3
SNOW-2057503 allow only whitelisted schemes for OAuth url parameters …
sfc-gh-mmishchenko Apr 28, 2025
fd574d3
SNOW-2068668 Move OAuth out of PrPr flag (#2301)
sfc-gh-mmishchenko Apr 28, 2025
98381ae
SNOW-2057797 Minor python connector version bump (#2302)
sfc-gh-mmishchenko Apr 28, 2025
15efed3
SNOW-2057797 Update requirements files (#2305)
sfc-gh-mmishchenko Apr 28, 2025
bbc2f80
SNOW-2052629: Add basic arrow support for Interval data types (#2296)
sfc-gh-nkumar May 5, 2025
b866808
NO-SNOW Enable structured types in fdn tables to unblock the CI (#2313)
sfc-gh-mkubik May 6, 2025
ecd5d9f
SNOW-1959514: Pandas single quote character fix (#2307)
sfc-gh-pbulawa May 12, 2025
0d79989
SNOW-2057867 refactor BindUploadAgent to make it work for Python spro…
sfc-gh-zyao May 12, 2025
8549e39
SNOW-2100781: Fix use_virtual_url in GCS (#2320)
sfc-gh-pbulawa May 13, 2025
fe9547b
SNOW-2057867 refactor and fixes to make pandas write work for Python …
sfc-gh-zyao May 13, 2025
a6bd3cf
SNOW-2111939: Bind cryptography to latest known working version (#2325)
sfc-gh-pbulawa May 20, 2025
a051741
Update release version (#2327)
sfc-gh-mmishchenko May 20, 2025
f1657d2
Filter out Deprecation warnings from test_incalid_conection_parameter…
sfc-gh-mkubik May 21, 2025
2f346e4
SNOW-2114085 adding json matrix folder for prober (#2333)
sfc-gh-pcyrek May 23, 2025
ba6e0f5
Snow-2043523: windows support for Python 3.13 (#2275)
sfc-gh-fpawlowski May 26, 2025
539d675
SNOW-2114093 Probing script (#2335)
sfc-gh-pcyrek May 27, 2025
7aadb73
SNOW-2114096: Implementing prober script image builder (#2340)
sfc-gh-pcyrek Jun 2, 2025
16cd655
SNOW-2114098 add Jenkins script to build/push a prober image to cloud…
sfc-gh-mmishchenko Jun 2, 2025
07230cf
fix error message when SF_AUTH_SOCKET_ADDR was set (#2332)
rcleveng Jun 3, 2025
c53aad7
SNOW-1947479 Add bulk_upload_chunks parameter to write_pandas (#2322)
sfc-gh-mkubik Jun 6, 2025
8350f8b
SNOW-2114096-extending-probing-capabilities (#2348)
sfc-gh-pcyrek Jun 11, 2025
54ad220
SNOW-1762538 add detecting running inside a Jupyter notebook for coll…
sfc-gh-mmishchenko Jun 12, 2025
56fffab
NO-SNOW fix olddriver test by pinning version of pytest-cov (#2357)
sfc-gh-mmishchenko Jun 12, 2025
c1187c1
[SNOW-2114104] Config generator and update dockerfile (#2350)
sfc-gh-pcyrek Jun 12, 2025
c17059c
SNOW-2114104-adapating put fetch get for prober (#2358)
sfc-gh-pcyrek Jun 16, 2025
38d1b2d
NO-SNOW: Fix naming metrics in python prober image (#2361)
sfc-gh-pcyrek Jun 17, 2025
0641261
NO-SNOW rename integration tests subfolders to avoid module import am…
sfc-gh-mmishchenko Jun 20, 2025
cb65adc
SNOW-2110470: Support for local application OAuth by default (#2329)
sfc-gh-fpawlowski Jun 22, 2025
c327e27
[NO-SNOW] Updating prober matrix (#2372)
sfc-gh-pcyrek Jun 24, 2025
da7270c
[NO-SNOW] updating prober matrix (#2373)
sfc-gh-pcyrek Jun 24, 2025
cef7b51
Add support for new authentication type - PAT with external session I…
sfc-gh-saroskar Jun 24, 2025
08dbaa8
SNOW-2111644 Support sovereign clouds for WIF (#2367)
sfc-gh-xizhao Jun 24, 2025
1062e1e
fix: removing trailing slash from oauth_redirect_uri
sfc-gh-mborins May 27, 2025
2583452
SNOW-2161990 introduce a tiny abstraction to allow sproc to override …
sfc-gh-zyao Jun 30, 2025
9ddfa23
SNOW-2062305 process pool batch fetcher (#2365)
sfc-gh-mmishchenko Jun 30, 2025
f442062
NO-SNOW temporarily disable some OAuth integration tests using defaul…
sfc-gh-mmishchenko Jun 30, 2025
fe311e1
NO-SNOW:new-wildcard-oauth-integration-matching-no-slash (#2382)
sfc-gh-pcyrek Jul 1, 2025
e43f03e
SNOW-2182766 no 3.15.1 release yet we have release notes for it (#2381)
sfc-gh-dszmolka Jul 1, 2025
35ab49c
Minor python connector version bump (#2384)
sfc-gh-mmishchenko Jul 1, 2025
a51bec4
SNOW-2021009 adding-codecov-integration (#2386)
sfc-gh-pcyrek Jul 4, 2025
456cb39
NO-SNOW add flag for local test setup (#2397)
sfc-gh-pczajka Jul 9, 2025
411c973
SNOW-2021009: test optimisation (#2388)
sfc-gh-pcyrek Jul 9, 2025
259074f
SNOW-2173966 introduce server DoP cap (#2375)
sfc-gh-zyao Jul 13, 2025
cc867aa
SNOW-2173685 respect existing param control of using SCOPED keyword f…
sfc-gh-zyao Jul 13, 2025
7722acc
PAT - small fixes, add tests (#2403)
sfc-gh-pczajka Jul 14, 2025
b4b0f1e
SNOW-2129434: Add in-band ocsp exception telemetry (#2406)
sfc-gh-pbulawa Jul 16, 2025
bcb8c80
SNOW-2205633: Migrating to new okta (#2407)
sfc-gh-pcyrek Jul 16, 2025
c422eb3
SNOW-2129434: Add in-band http exception telemetry (#2414)
sfc-gh-pbulawa Jul 21, 2025
56e524e
Snow 2117128 Fix arrow timestamp conversion (#2415)
sfc-gh-pczajka Jul 22, 2025
94afe8a
Move unsafe_file_write parameter to DEFAULT_CONFIGURATION (#2413)
sfc-gh-pczajka Jul 22, 2025
dee074c
SNOW-2112179 token caching is disabled for Client Credentials OAuth f…
sfc-gh-mmishchenko Jul 22, 2025
2228456
SNOW-2039989 include app path within client environment (#2412)
sfc-gh-skarve Jul 22, 2025
d89ebee
SNOW-2222046: Fix oauth values (#2423)
sfc-gh-pbulawa Jul 23, 2025
22b34a2
SNOW-2160717 add WIF e2e tests (#2433)
sfc-gh-akolodziejczyk Jul 25, 2025
e34a73c
SNOW-2127911 Add unsafe_ignore_permission_check flag which turns off …
sfc-gh-pczajka Jul 28, 2025
3f9edc2
SNOW-2217228 introduce snowflake_version property to connection (#2440)
sfc-gh-zyao Jul 31, 2025
0f776c5
SNOW-2171791: Add platform telemetry (#2387)
sfc-gh-sshetkar Aug 4, 2025
6d2c0c0
SNOW-2119489: Add support for interval types in json format (#2336)
sfc-gh-nkumar Aug 4, 2025
ac27d94
SNOW-2229745: Move oauth_type into client_environment (#2453)
sfc-gh-pbulawa Aug 5, 2025
99bf619
Fix SnowflakeRestful wrongly using PATWithExternalSessionAuth (#2454)
sfc-gh-pczajka Aug 5, 2025
a269f15
SNOW-2226057: GH Actions moved to key-pair, old driver bump to 3.1.0 …
sfc-gh-pcyrek Aug 6, 2025
c85e592
SNOW-2250223: add support for use_vectorized_scanner in write_pandas …
sfc-gh-yuwang Aug 7, 2025
2d8a795
Remove WIF autodetect and all its problems (error messages, issuer ch…
sfc-gh-pmansour Aug 7, 2025
08dbe0e
SNOW-2216803 allow re-raising error in file transfer work function in…
sfc-gh-zyao Aug 11, 2025
d0d9587
Fix bug in AWS sovereign partition support (#2459)
sfc-gh-pmansour Aug 11, 2025
451a60b
Prepare for Workload Identity Federation (WIF) GA (#2368)
sfc-gh-pmansour Aug 12, 2025
7b91a06
SNOW-2255664: Populate type_code for interval types in ResultMetadata…
sfc-gh-nkumar Aug 12, 2025
2e1ced7
Snow-2203079 http traffic through session manager (#2429)
sfc-gh-fpawlowski Aug 13, 2025
f890f48
SNOW-2047992 Include VCRedist library into Windows wheels and get rid…
sfc-gh-mmishchenko Aug 13, 2025
b12ba84
Clarify error messages detected during WIF training (#2469)
sfc-gh-pczajka Aug 13, 2025
d87dc0b
SNOW-2129602 Fix GCS staging by ensuring the endpoint has a scheme (#…
sfc-gh-mmishchenko Aug 13, 2025
87c623e
SNOW-694457: env-vars-proxy-leaking (#2451)
sfc-gh-fpawlowski Aug 13, 2025
25ebde9
SNOW-2187831 bump version to 3.17 and rearrange the release notes
sfc-gh-mmishchenko Aug 13, 2025
e00b8e7
NO-SNOW fix integration tests on Jenkins (#2479)
sfc-gh-mmishchenko Aug 13, 2025
d26fd74
SNOW-2019088: Extend write_pandas by a parameter for schema inference…
Argon- Aug 14, 2025
5467fa8
[BUILD] Add win_arm64 platform support (#2478)
khmyznikov Aug 14, 2025
40e145f
SNOW-2267257 move delvewheel patch to snowflake.connector (#2481)
sfc-gh-mmishchenko Aug 14, 2025
1190042
SNOW-2267461 Bumped up PythonConnector PATCH version from 3.17.0 to 3…
sfc-gh-mmishchenko Aug 14, 2025
5c5b737
SNOW-2235955: adding MFA test in Python (#2465)
sfc-gh-pcyrek Aug 18, 2025
7367d39
NO-SNOW disable yet failing Win-ARM64 tests (#2491)
sfc-gh-mmishchenko Aug 19, 2025
631eec6
SNOW-2268606-regression-3.17.0-unexplained-errors-in-connecting-to-IM…
sfc-gh-fpawlowski Aug 19, 2025
a718922
NO-SNOW: fix flaky tests on invalid proxy (#2492)
sfc-gh-fpawlowski Aug 19, 2025
5e7fe20
SNOW-2272485: CICD reconfiguration (#2485)
sfc-gh-pcyrek Aug 20, 2025
c300df6
SNOW-2268606 zero timeout disables endpoint-based cloud platform dete…
sfc-gh-mmishchenko Aug 20, 2025
eeef4b9
SNOW-2277561: update prober image (#2493)
sfc-gh-pcyrek Aug 20, 2025
28fcc80
SNOW-2274410: Set no retries for WIF authentication (#2494)
sfc-gh-fpawlowski Aug 20, 2025
03611e7
SNOW-00000 : Update CODEOWNERS (#2487)
sfc-gh-hpathak Aug 20, 2025
ac6bf6c
SNOW-2274695 Bump up to 3.17.2 version (#2495)
sfc-gh-mmishchenko Aug 20, 2025
f27861f
SNOW-2161716: Fix config file permissions check and skip warning usin…
sfc-gh-gmerticariu Aug 21, 2025
2739e6e
SNOW-2160718 adjust ec2 IP in WIF tests, limit docker resources (#2503)
sfc-gh-akolodziejczyk Aug 25, 2025
d1d3880
NO-SNOW replace os.environ patching with monkeypatch everywhere in un…
sfc-gh-mmishchenko Aug 25, 2025
7985a5f
Snow-2226057: remove password from unload tests - migrate to key-pair…
sfc-gh-fpawlowski Aug 25, 2025
87d600a
Update WIF integration tests to verify authenticated username + prepa…
sfc-gh-pmansour Aug 29, 2025
009c55a
Freeze pytest-rerunfailures
sfc-gh-pczajka Sep 1, 2025
2542058
Isolate connection name loading tests (#2515)
sfc-gh-pczajka Sep 1, 2025
a6450a5
SNOW-2283945 use AWS regional endpoints when required for storing pan…
sfc-gh-mmishchenko Sep 1, 2025
8c32f5e
Bumped up PythonConnector PATCH version from 3.17.2 to 3.17.3 (#2516)
sfc-gh-pczajka Sep 2, 2025
53e0165
Support WIF Impersonation on GCP workloads (#2496)
sfc-gh-eqin Sep 3, 2025
2226c90
Support WIF Impersonation on AWS workloads (#2517)
sfc-gh-eqin Sep 11, 2025
29b5b7e
Fix get_results_from_sfqid with DictCursor + multi statements (#2531)
sfc-gh-bchinn Sep 16, 2025
249195a
Add option to send oauth client credentials in body (#2509)
jochenott Sep 17, 2025
3838fb0
SNOW-2176203: Support intermediates in trust stores (#2520)
sfc-gh-snoonan Sep 18, 2025
01d4159
SNOW-2220712-extending-probers-with-fail-close-mode (#2533)
sfc-gh-pcyrek Sep 19, 2025
6d66f96
Fix Jenkins build (#2543)
sfc-gh-pczajka Sep 19, 2025
ce4790b
SNOW-2176524 bump up vendored urllib3 to 2.5.0 and requests to v2.32.…
sfc-gh-mmishchenko Sep 19, 2025
547c4b7
Add WIF impersonation path length as data sent to Snowflake backend (…
sfc-gh-eqin Sep 22, 2025
84fb3ed
Adjust changelog after 3.17.4 release (#2548)
sfc-gh-pczajka Sep 23, 2025
0206a1c
Snow 1747564 econnreset error should be retried (#2547)
sfc-gh-pczajka Sep 24, 2025
bdfecc9
Add option to exclude boto3 and botocore from dependencies (#2525)
sfc-gh-pczajka Sep 24, 2025
2ea207a
SNOW-2338989: Ensure Arrow to_pandas maps Interval types (#2536)
sfc-gh-nkrishna Sep 25, 2025
f8ec13a
SNOW-2329031: revert exception type for Oauth authenticator (#2552)
sfc-gh-pczajka Sep 29, 2025
35c03cc
SNOW-2333702 Fix types for DictCursor (#2532)
sfc-gh-bchinn Sep 29, 2025
af9ba26
SNOW-2117147 Added certificates revocation checking with revocation l…
sfc-gh-mmishchenko Sep 30, 2025
f922ea4
remove cffi dependency (#2555)
ericbuehl Sep 30, 2025
a222548
Fix failing Jenkins jobs (#2558)
sfc-gh-pczajka Sep 30, 2025
b301717
Snow 1983343 add timeout for ocsp root certificates (#2559)
sfc-gh-fpawlowski Oct 1, 2025
ae2bf2e
Improve AWS region detection by checking AWS_DEFAULT_REGION as fallba…
mathiasflorin Oct 1, 2025
e3349a3
SNOW-2161716: Raise error if the config file is writable by others (#…
sfc-gh-gmerticariu Oct 1, 2025
d6113ba
Bumped up PythonConnector version from 3.17.4 to 4.0.0 (#2561)
sfc-gh-pczajka Oct 1, 2025
b7c49ba
Snow 2355881 Add CERT_REVOCATION_CHECK_MODE to CLIENT_ENVIRONMENT (#2…
sfc-gh-pczajka Oct 7, 2025
7708f1b
SNOW-2324060 don't attempt non working bucket accelerate endpoint for…
sfc-gh-dszmolka Oct 7, 2025
cfa0ad8
SNOW-2021009: Improving CICD, flakiness fixes (#2569)
sfc-gh-pcyrek Oct 8, 2025
252a5f1
Update DESCRIPTION.md after 3.18.0 release (#2571)
sfc-gh-pczajka Oct 8, 2025
8ef7684
Snow 2388762 crl post review fixes (#2567)
sfc-gh-pczajka Oct 8, 2025
1b63402
Fixup Jenkins build (#2572)
sfc-gh-pczajka Oct 9, 2025
f1ea979
SNOW-1834269: Add rockylinux9 jobs to Github Actions checks (RHEL9 su…
sfc-gh-dheyman Oct 17, 2025
54906d6
Environment variable to force browser-based auth (#2538)
HeroCC Oct 17, 2025
1dc6a65
SNOW-2395236: renamed to use_requests_session to use_session and impr…
sfc-gh-fpawlowski Oct 17, 2025
c4c65ab
Fix complilation issue for libc++ (#2579)
sfc-gh-pczajka Oct 20, 2025
b105915
SNOW-2306340: Add pki-oversight as a joint owner for PKI-related file…
sfc-gh-jkasten Oct 21, 2025
b3126c0
Adjust binging security test to server behavioral change (#2588)
sfc-gh-pczajka Oct 22, 2025
8b1fd71
Snow 2401045 fix vulnerabilities in crl (#2584)
sfc-gh-pczajka Oct 23, 2025
450b023
Pin lower dependencies (#2582)
sfc-gh-pczajka Oct 23, 2025
4fa0773
[NO-SNOW] RHLE9 testing account on key-pair (#2595)
sfc-gh-pcyrek Oct 27, 2025
6f48c9e
NO-SNOW: Fix pandas type test (#2600)
sfc-gh-turbaszek Oct 27, 2025
9c9be36
SNOW-2463378: no_proxy support (#2596)
sfc-gh-fpawlowski Oct 28, 2025
db2a10f
SNOW-2466332: Do not require user when using OAuth flow (#2606)
sfc-gh-jwilkowski Oct 29, 2025
0ec0d7b
Temporary fix broken pipeline (#2622)
sfc-gh-fpawlowski Nov 4, 2025
ec14974
No snow proxy precence fix (#2615)
sfc-gh-fpawlowski Nov 4, 2025
cf55e99
Rotate WIF secrets (#2621)
sfc-gh-pczajka Nov 4, 2025
c14dff9
NO-SNOW: Send telemetry when closing connection (#2607)
sfc-gh-turbaszek Nov 4, 2025
1a0290d
SNOW-2194055: Separate server and redirect URIs in AuthHttpServer (#2…
sfc-gh-turbaszek Nov 4, 2025
1a6c193
SNOW-2462946: document credential caching (SSO, MFA) in the in-repo d…
sfc-gh-fpawlowski Nov 4, 2025
e54936b
NO-SNOW: connect method API tests added (#2628)
sfc-gh-fpawlowski Nov 5, 2025
11803c5
NO-SNOW: Fix failing test_invalid_connection_parameters_turned_off (#…
sfc-gh-turbaszek Nov 5, 2025
a2162d8
SNOW-2483517 sproc continuous integration (#2629)
sfc-gh-zyao Nov 6, 2025
9c132c2
NO-SNOW: Stop CRL cache background task when closing conn (#2633)
sfc-gh-turbaszek Nov 12, 2025
975d57c
SNOW-2483517 avoid test build recipe issue with recently available GC…
sfc-gh-zyao Nov 13, 2025
271e6ca
SNOW-2483517 Further improve test build recipe to isolate impact from…
sfc-gh-zyao Nov 14, 2025
1680c6c
SNOW-2743401: added usedforsecurity argument to md5 hash for multipar…
sfc-gh-fpawlowski Nov 17, 2025
f0d20e7
Snow 2713526 python richer client environment signals additional requ…
sfc-gh-fpawlowski Nov 17, 2025
db68aec
MINOR: Bumped up PythonConnector MINOR version from 4.0.0 to 4.1.0 (#…
sfc-gh-turbaszek Nov 18, 2025
e83e0a7
NO-SNOW: Disable CRL cache to avoid blocking process (#2655)
sfc-gh-turbaszek Nov 18, 2025
770f046
SNOW-2847442: make relaxed deps (#2659)
sfc-gh-fpawlowski Nov 20, 2025
765bba6
NO-SNOW: Preserve use_requests_session for back-compat (#2640)
sfc-gh-turbaszek Nov 20, 2025
88456d8
PATCH: Bumped up PythonConnector PATCH version from 4.1.0 to 4.1.1 (#…
sfc-gh-turbaszek Nov 20, 2025
bd45036
NO-SNOW: Change crl cleanup task to be a daemon thread (#2656)
sfc-gh-turbaszek Nov 21, 2025
f1ce95c
use separate tmpdir for CRL cache in tests
sfc-gh-pczajka Nov 24, 2025
027c68f
Merge branch 'main' into merge-main-to-aio
sfc-gh-pczajka Nov 27, 2025
5b527d0
fix unit tests
sfc-gh-pczajka Nov 27, 2025
2ac1fba
Add cert_revication_check_mode to auth
sfc-gh-pczajka Nov 27, 2025
ca0bddc
Fix test_put_get.py::test_get_file_permissions
sfc-gh-pczajka Nov 27, 2025
8677b59
Add env variables to aio builds
sfc-gh-pczajka Nov 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
@snowflakedb/snowpark-python-api
* @snowflakedb/snow-drivers-warsaw
/src/snowflake/connector/ocsp_* @snowflakedb/pki-oversight @snowflakedb/snow-drivers-warsaw
/src/snowflake/connector/crl.py @snowflakedb/pki-oversight @snowflakedb/snow-drivers-warsaw
/src/snowflake/connector/crl_cache.py @snowflakedb/pki-oversight @snowflakedb/snow-drivers-warsaw
/src/snowflake/connector/ssl_wrap_socket.py @snowflakedb/pki-oversight @snowflakedb/snow-drivers-warsaw
89 changes: 65 additions & 24 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
# TODO: temporarily reduce number of jobs: SNOW-2311643
# python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.9", "3.13"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand Down Expand Up @@ -96,9 +94,7 @@ jobs:
id: macosx_x86_64
- image: macos-latest
id: macosx_arm64
# TODO: temporarily reduce number of jobs: SNOW-2311643
# python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.9", "3.13"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
exclude:
- os:
image: windows-11-arm
Expand Down Expand Up @@ -158,9 +154,7 @@ jobs:
download_name: win_amd64
- image_name: windows-11-arm
download_name: win_arm64
# TODO: temporarily reduce number of jobs: SNOW-2311643
# python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.9", "3.13"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
cloud-provider: [aws, azure, gcp]
exclude:
- os:
Expand Down Expand Up @@ -211,9 +205,9 @@ jobs:
- name: Setup private key file
shell: bash
env:
PYTHON_PRIVATE_KEY_SECRET: ${{ secrets.PYTHON_PRIVATE_KEY_SECRET }}
PARAMETERS_SECRET: ${{ secrets.PARAMETERS_SECRET }}
run: |
gpg --quiet --batch --yes --decrypt --passphrase="$PYTHON_PRIVATE_KEY_SECRET" \
gpg --quiet --batch --yes --decrypt --passphrase="$PARAMETERS_SECRET" \
.github/workflows/parameters/public/rsa_keys/rsa_key_python_${{ matrix.cloud-provider }}.p8.gpg > test/rsa_key_python_${{ matrix.cloud-provider }}.p8
- name: Download wheel(s)
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -265,7 +259,7 @@ jobs:
os:
# Because old the version 3.0.2 of snowflake-connector-python depends on oscrypto which causes conflicts with higher versions of libssl
# TODO: It can be changed to ubuntu-latest, when python sf connector version in tox is above 3.4.0
- image_name: ubuntu-20.04
- image_name: ubuntu-22.04
download_name: linux
python-version: [3.9]
cloud-provider: [aws]
Expand All @@ -287,9 +281,9 @@ jobs:
- name: Setup private key file
shell: bash
env:
PYTHON_PRIVATE_KEY_SECRET: ${{ secrets.PYTHON_PRIVATE_KEY_SECRET }}
PARAMETERS_SECRET: ${{ secrets.PARAMETERS_SECRET }}
run: |
gpg --quiet --batch --yes --decrypt --passphrase="$PYTHON_PRIVATE_KEY_SECRET" \
gpg --quiet --batch --yes --decrypt --passphrase="$PARAMETERS_SECRET" \
.github/workflows/parameters/public/rsa_keys/rsa_key_python_${{ matrix.cloud-provider }}.p8.gpg > test/rsa_key_python_${{ matrix.cloud-provider }}.p8
- name: Upgrade setuptools, pip and wheel
run: python -m pip install -U setuptools pip wheel
Expand Down Expand Up @@ -355,9 +349,9 @@ jobs:
- name: Setup private key file
shell: bash
env:
PYTHON_PRIVATE_KEY_SECRET: ${{ secrets.PYTHON_PRIVATE_KEY_SECRET }}
PARAMETERS_SECRET: ${{ secrets.PARAMETERS_SECRET }}
run: |
gpg --quiet --batch --yes --decrypt --passphrase="$PYTHON_PRIVATE_KEY_SECRET" \
gpg --quiet --batch --yes --decrypt --passphrase="$PARAMETERS_SECRET" \
.github/workflows/parameters/public/rsa_keys/rsa_key_python_${{ matrix.cloud-provider }}.p8.gpg > test/rsa_key_python_${{ matrix.cloud-provider }}.p8
- name: Download wheel(s)
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -398,9 +392,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# TODO: temporarily reduce number of jobs: SNOW-2311643
# python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.9", "3.13"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
cloud-provider: [aws]
steps:
- name: Set shortver
Expand All @@ -419,9 +411,9 @@ jobs:
- name: Setup private key file
shell: bash
env:
PYTHON_PRIVATE_KEY_SECRET: ${{ secrets.PYTHON_PRIVATE_KEY_SECRET }}
PARAMETERS_SECRET: ${{ secrets.PARAMETERS_SECRET }}
run: |
gpg --quiet --batch --yes --decrypt --passphrase="$PYTHON_PRIVATE_KEY_SECRET" \
gpg --quiet --batch --yes --decrypt --passphrase="$PARAMETERS_SECRET" \
.github/workflows/parameters/public/rsa_keys/rsa_key_python_${{ matrix.cloud-provider }}.p8.gpg > test/rsa_key_python_${{ matrix.cloud-provider }}.p8
- name: Download wheel(s)
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -500,9 +492,9 @@ jobs:
- name: Setup private key file
shell: bash
env:
PYTHON_PRIVATE_KEY_SECRET: ${{ secrets.PYTHON_PRIVATE_KEY_SECRET }}
PARAMETERS_SECRET: ${{ secrets.PARAMETERS_SECRET }}
run: |
gpg --quiet --batch --yes --decrypt --passphrase="$PYTHON_PRIVATE_KEY_SECRET" \
gpg --quiet --batch --yes --decrypt --passphrase="$PARAMETERS_SECRET" \
.github/workflows/parameters/public/rsa_keys/rsa_key_python_${{ matrix.cloud-provider }}.p8.gpg > test/rsa_key_python_${{ matrix.cloud-provider }}.p8
- name: Download wheel(s)
uses: actions/download-artifact@v4
Expand All @@ -523,7 +515,6 @@ jobs:
cloud_provider: ${{ matrix.cloud-provider }}
PYTEST_ADDOPTS: --color=yes --tb=short
TOX_PARALLEL_NO_SPINNER: 1
shell: bash
- name: Combine coverages
run: python -m tox run -e coverage --skip-missing-interpreters false
shell: bash
Expand Down Expand Up @@ -566,6 +557,56 @@ jobs:
TOX_PARALLEL_NO_SPINNER: 1
shell: bash

test-rockylinux9:
name: Test Rocky Linux 9 rockylinux9-${{ matrix.python-version }}-${{ matrix.cloud-provider }}
needs: lint
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# Rocky Linux 9 has Python 3.9, 3.11, and 3.12 available
python-version: ["3.9", "3.11", "3.12"]
cloud-provider: [aws, azure, gcp]
steps:
- name: Set shortver
run: echo "shortver=${longver//./}" >> $GITHUB_ENV
env:
longver: ${{ matrix.python-version }}
shell: bash
- uses: actions/checkout@v4
- name: Build wheel for Rocky Linux
uses: pypa/cibuildwheel@v2.21.3
env:
CIBW_BUILD: cp${{ env.shortver }}-manylinux_x86_64
MACOSX_DEPLOYMENT_TARGET: 10.14
with:
output-dir: dist
- name: Show wheels built
run: ls -lh dist
shell: bash
- name: Setup parameters file
shell: bash
env:
PARAMETERS_SECRET: ${{ secrets.PARAMETERS_SECRET }}
run: |
gpg --quiet --batch --yes --decrypt --passphrase="$PARAMETERS_SECRET" \
.github/workflows/parameters/public/parameters_${{ matrix.cloud-provider }}.py.gpg > test/parameters.py
- name: Setup private key file
shell: bash
env:
PARAMETERS_SECRET: ${{ secrets.PARAMETERS_SECRET }}
run: |
gpg --quiet --batch --yes --decrypt --passphrase="$PARAMETERS_SECRET" \
.github/workflows/parameters/public/rsa_keys/rsa_key_python_${{ matrix.cloud-provider }}.p8.gpg > test/rsa_key_python_${{ matrix.cloud-provider }}.p8
- name: Run tests
run: ./ci/test_rockylinux9_docker.sh ${PYTHON_VERSION}
env:
PYTHON_VERSION: ${{ matrix.python-version }}
cloud_provider: ${{ matrix.cloud-provider }}
PYTEST_ADDOPTS: --color=yes --tb=short
TOX_PARALLEL_NO_SPINNER: 1
shell: bash

combine-coverage:
if: always()
name: Combine coverage
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/jira_issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
summary: '${{ github.event.issue.title }}'
description: |
${{ github.event.issue.body }} \\ \\ _Created from GitHub Action_ for ${{ github.event.issue.html_url }}
fields: '{"customfield_11401":{"id":"14586"},"assignee":{"id":"61027a237ab143006ecfb9a2"},"components":[{"id":"16413"}]}'
fields: '{"customfield_11401":{"id":"14723"},"assignee":{"id":"712020:e527ae71-55cc-4e02-9217-1ca4ca8028a2"},"components":[{"id":"16413"}], "labels": ["oss"], "priority": {"id": "10001"} }'

- name: Update GitHub Issue
uses: ./jira/gajira-issue-update
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
11 changes: 10 additions & 1 deletion DESCRIPTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,16 @@ https://docs.snowflake.com/
Source code is also available at: https://github.com/snowflakedb/snowflake-connector-python

# Release Notes
- v4.1.0(TBD)
- v4.1.1(November 20,2025)
- Added the `SNOWFLAKE_AUTH_FORCE_SERVER` environment variable to force the use of the local-listening server when using the `externalbrowser` auth method.
- This allows headless environments (like Docker or Airflow) running locally to auth via a browser URL.
- Fix compilation error when building from sources with libc++.
- Pin lower versions of dependencies to oldest version without vulnerabilities.
- Added no_proxy parameter for proxy configuration without using environmental variables.
- Added OAUTH_AUTHORIZATION_CODE and OAUTH_CLIENT_CREDENTIALS to list of authenticators that don't require user to be set
- Added `oauth_socket_uri` connection parameter allowing to separate server and redirect URIs for local OAuth server.
- Made platform_detection logs silent and improved its timeout handling. Added support for ENV_VAR_DISABLE_PLATFORM_DETECTION environment variable.
- Fixed FIPS environments md5 hash issues with multipart upload on Azure.

- v4.0.0(October 09,2025)
- Added support for checking certificates revocation using revocation lists (CRLs)
Expand Down
3 changes: 2 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ timestamps {
string(name: 'client_git_commit', value: scmInfo.GIT_COMMIT),
string(name: 'client_git_branch', value: scmInfo.GIT_BRANCH),
string(name: 'parent_job', value: env.JOB_NAME),
string(name: 'parent_build_number', value: env.BUILD_NUMBER)
string(name: 'parent_build_number', value: env.BUILD_NUMBER),
string(name: 'USE_PASSWORD', value: 'true')
]
parallel(
'Test': {
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ include LICENSE.txt
include NOTICE
include pyproject.toml
include src/snowflake/connector/nanoarrow_cpp/ArrowIterator/LICENSE.txt
recursive-include src/snowflake/connector py.typed *.py *.pyx
recursive-include src/snowflake/connector py.typed *.py *.pyx *.js
recursive-include src/snowflake/connector/vendored LICENSE*

recursive-include src/snowflake/connector/nanoarrow_cpp *.cpp *.hpp
Expand Down
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,28 @@ conn = snowflake.connector.connect(
)
conn.telemetry_enabled = False
```

## Verifying Package Signatures

To ensure the authenticity and integrity of the Python package, follow the steps below to verify the package signature using `cosign`.

**Steps to verify the signature:**
- Install cosign:
- This example is using golang installation: [installing-cosign-with-go](https://edu.chainguard.dev/open-source/sigstore/cosign/how-to-install-cosign/#installing-cosign-with-go)
- Download the file from the repository like pypi:
- https://pypi.org/project/snowflake-connector-python/#files
- Download the signature files from the release tag, replace the version number with the version you are verifying:
- https://github.com/snowflakedb/snowflake-connector-python/releases/tag/v3.12.2
- Verify signature:
````bash
# replace the version number with the version you are verifying
./cosign verify-blob snowflake_connector_python-3.12.2.tar.gz \
--key snowflake-connector-python-v3.12.2.pub \
--signature resources.linux.snowflake_connector_python-3.12.2.tar.gz.sig

Verified OK
````

## NOTE

This library currently does not support GCP regional endpoints. Please ensure that any workloads using through this library do not require support for regional endpoints on GCP. If you have questions about this, please contact [Snowflake Support](https://community.snowflake.com/s/article/How-To-Submit-a-Support-Case-in-Snowflake-Lodge).
46 changes: 46 additions & 0 deletions ci/docker/connector_test_rockylinux9/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
ARG BASE_IMAGE=rockylinux:9
FROM $BASE_IMAGE

# Install required packages for testing
RUN dnf install -y --allowerasing \
gcc \
gcc-c++ \
make \
openssl \
openssl-devel \
libffi-devel \
redhat-rpm-config \
java-11-openjdk \
python3.9 \
python3.9-devel \
python3.11 \
python3.11-devel \
python3.12 \
python3.12-devel \
git \
curl \
&& dnf clean all

# Bootstrap pip for Python 3.11 and 3.12 (Python 3.9 already has pip)
RUN python3.11 -m ensurepip --upgrade && \
python3.11 -m pip install --upgrade pip setuptools wheel
RUN python3.12 -m ensurepip --upgrade && \
python3.12 -m pip install --upgrade pip setuptools wheel

# Install Rust toolchain (required for cryptography builds)
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"

# This is to solve permission issue, read https://denibertovic.com/posts/handling-permissions-with-docker-volumes/
ARG GOSU_URL=https://github.com/tianon/gosu/releases/download/1.14/gosu-amd64
ENV GOSU_PATH=${GOSU_URL}
RUN curl -o /usr/local/bin/gosu -SL $GOSU_PATH
RUN chmod +x /usr/local/bin/gosu

COPY scripts/entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh

WORKDIR /home/user
RUN chmod 777 /home/user

ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
13 changes: 13 additions & 0 deletions ci/docker/connector_test_rockylinux9/scripts/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

# Add local user
# Either use the LOCAL_USER_ID if passed in at runtime or
# fallback

USER_ID=${LOCAL_USER_ID:-9001}

echo "Starting with UID : $USER_ID"
useradd --shell /bin/bash -u $USER_ID -o -c "" -m user
export HOME=/home/user

/usr/local/bin/gosu user "$@"
2 changes: 2 additions & 0 deletions ci/set_base_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ if [[ -n "$NEXUS_PASSWORD" ]]; then
docker login --username "$NEXUS_USER" --password "$NEXUS_PASSWORD" $INTERNAL_REPO
export BASE_IMAGE_MANYLINUX2014=nexus.int.snowflakecomputing.com:8086/docker/manylinux2014_x86_64:2025.02.12-1
export BASE_IMAGE_MANYLINUX2014AARCH64=nexus.int.snowflakecomputing.com:8086/docker/manylinux2014_aarch64:2025.02.12-1
export BASE_IMAGE_ROCKYLINUX9=nexus.int.snowflakecomputing.com:8086/docker/rockylinux:9
else
echo "[INFO] Pull docker images from public registry"
export BASE_IMAGE_MANYLINUX2014=quay.io/pypa/manylinux2014_x86_64
export BASE_IMAGE_MANYLINUX2014AARCH64=quay.io/pypa/manylinux2014_aarch64
export BASE_IMAGE_ROCKYLINUX9=rockylinux:9
fi
3 changes: 3 additions & 0 deletions ci/test_darwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ PARAMS_FILE="${PARAMETERS_DIR}/jenkins_test_parameters.py.gpg"
[ ${cloud_provider} == gcp ] && PARAMS_FILE="${PARAMETERS_DIR}/parameters_gcp.py.gpg"
gpg --quiet --batch --yes --decrypt --passphrase="${PARAMETERS_SECRET}" ${PARAMS_FILE} > test/parameters.py

# Decrypt private key file
gpg --quiet --batch --yes --decrypt --passphrase="${PARAMETERS_SECRET}" "${CONNECTOR_DIR}/.github/workflows/parameters/public/rsa_keys/rsa_key_python_${cloud_provider}.p8.gpg" > "test/rsa_key_python_${cloud_provider}.p8"

rm -rf venv
python3.12 -m venv venv
. venv/bin/activate
Expand Down
1 change: 1 addition & 0 deletions ci/test_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ docker run --network=host \
-e JENKINS_HOME \
-e is_old_driver \
-e GITHUB_ACTIONS \
-e USE_PASSWORD=true \
--mount type=bind,source="${CONNECTOR_DIR}",target=/home/user/snowflake-connector-python \
${CONTAINER_NAME}:1.0 \
/home/user/snowflake-connector-python/ci/test_linux.sh ${PYTHON_ENV}
15 changes: 13 additions & 2 deletions ci/test_fips.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
#!/bin/bash -e
#
# Test Snowflake Connector
# Note this is the script that test_docker.sh runs inside of the docker container
# Test Snowflake Connector (FIPS)
# Note this is the script that test_fips_docker.sh runs inside of the docker container
#

# Export USE_PASSWORD only on Jenkins (not on GitHub Actions)
# Jenkins FIPS tests run against mocked Snowflake with password auth
# GitHub Actions FIPS tests run against real Snowflake with key-pair auth
if [[ "${JENKINS_HOME}" != "false" && -n "${JENKINS_HOME}" ]]; then
export USE_PASSWORD=true
echo "[Info] Jenkins detected: Using password authentication for FIPS tests"
else
echo "[Info] GitHub Actions detected: Using key-pair authentication for FIPS tests"
fi

THIS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# shellcheck disable=SC1090
CONNECTOR_DIR="$( dirname "${THIS_DIR}")"
Expand Down
Loading
Loading