@@ -185,6 +185,10 @@ def test_patch_on_get_available_versions_for_packages(session):
185185 (not is_pandas_and_numpy_available ) or IS_IN_STORED_PROC ,
186186 reason = "numpy and pandas are required" ,
187187)
188+ @pytest .mark .skipif (
189+ "FIPS_TEST" in os .environ ,
190+ reason = "SNOW-3425553: need FIPS mode investigation" ,
191+ )
188192def test_add_packages (session , local_testing_mode ):
189193 # Use numpy 2.3.1 for Python 3.13+, numpy 1.26.3 doesn't support Python 3.13
190194 numpy_version = "numpy==2.3.1" if sys .version_info >= (3 , 13 ) else "numpy==1.26.3"
@@ -341,6 +345,10 @@ def test_add_packages_with_underscore_and_versions(session):
341345@pytest .mark .skipif (
342346 IS_IN_STORED_PROC , reason = "Need certain version of datautil/pandas/numpy"
343347)
348+ @pytest .mark .skipif (
349+ "FIPS_TEST" in os .environ ,
350+ reason = "SNOW-3425553: need FIPS mode investigation" ,
351+ )
344352def test_add_packages_negative (session , caplog ):
345353 with pytest .raises (ValueError ) as ex_info :
346354 session .add_packages ("python-dateutil****" )
@@ -470,6 +478,10 @@ def test_add_requirements_twice_should_fail_if_packages_are_different(
470478 IS_PY314 ,
471479 reason = "Python 3.14 uses pypi repository" ,
472480)
481+ @pytest .mark .skipif (
482+ "FIPS_TEST" in os .environ ,
483+ reason = "SNOW-3425553: need FIPS mode investigation" ,
484+ )
473485def test_add_unsupported_requirements_should_fail_if_custom_packages_upload_enabled_not_switched_on (
474486 session , resources_path
475487):
@@ -529,6 +541,10 @@ def test_urllib() -> str:
529541 IS_PY314 ,
530542 reason = "Python 3.14 uses pypi repository" ,
531543)
544+ @pytest .mark .skipif (
545+ "FIPS_TEST" in os .environ ,
546+ reason = "SNOW-3425553: need FIPS mode investigation" ,
547+ )
532548def test_add_unsupported_packages_should_fail_if_custom_packages_upload_enabled_not_switched_on (
533549 session ,
534550):
@@ -702,6 +718,10 @@ def check_if_package_works() -> str:
702718 IS_IN_STORED_PROC ,
703719 reason = "Subprocess calls are not allowed within stored procedures." ,
704720)
721+ @pytest .mark .skipif (
722+ "FIPS_TEST" in os .environ ,
723+ reason = "SNOW-3425553: need FIPS mode investigation" ,
724+ )
705725def test_add_packages_with_native_dependency_without_force_push (session ):
706726 session .custom_package_usage_config = {"enabled" : True }
707727 with patch .object (session , "_is_anaconda_terms_acknowledged" , lambda : True ):
@@ -1005,6 +1025,10 @@ def get_skfuzzy_version() -> str:
10051025 IS_PY314 ,
10061026 reason = "Python 3.14 uses pypi repository" ,
10071027)
1028+ @pytest .mark .skipif (
1029+ "FIPS_TEST" in os .environ ,
1030+ reason = "SNOW-3425553: need FIPS mode investigation" ,
1031+ )
10081032def test_add_requirements_unsupported_with_cache_path_negative (
10091033 session , resources_path , temporary_stage
10101034):
0 commit comments