@@ -162,8 +162,7 @@ jobs:
162162 run : uv pip install -U setuptools pip wheel --system
163163 - name : Install tox
164164 run : uv pip install tox --system
165- # SNOW-2213578: Re-enable the test for 3.13
166- - if : ${{ contains('macos', matrix.os.download_name) && matrix.python-version != '3.13' }}
165+ - if : ${{ contains('macos', matrix.os.download_name) }}
167166 name : Run doctests
168167 run : python -m tox -e "py${PYTHON_VERSION}-doctest-notudf-ci"
169168 env :
@@ -174,8 +173,7 @@ jobs:
174173 # Specify SNOWFLAKE_IS_PYTHON_RUNTIME_TEST: 1 when adding >= python3.12 with no server-side support
175174 # For example, see https://github.com/snowflakedb/snowpark-python/pull/681
176175 shell : bash
177- - if : ${{ matrix.python-version != '3.13' }}
178- name : Run tests (excluding doctests)
176+ - name : Run tests (excluding doctests)
179177 run : python -m tox -e "py${PYTHON_VERSION/\./}-dailynotdoctest-ci"
180178 env :
181179 PYTHON_VERSION : ${{ matrix.python-version }}
@@ -185,17 +183,13 @@ jobs:
185183 SNOWPARK_PYTHON_API_TEST_BUCKET_PATH : ${{ secrets.SNOWPARK_PYTHON_API_TEST_BUCKET_PATH }}
186184 SNOWPARK_PYTHON_API_S3_STORAGE_INTEGRATION : ${{ vars.SNOWPARK_PYTHON_API_S3_STORAGE_INTEGRATION }}
187185 shell : bash
188- # SNOW-2213578 : Remove the test below and run udf tests for 3.13
189- - if : ${{ matrix.python-version == '3.13' }}
190- name : Run tests (excluding udf, doctests)
191- run : python -m tox -e "py${PYTHON_VERSION/\./}-dailynotdoctestnotudf-ci"
192- env :
193- PYTHON_VERSION : ${{ matrix.python-version }}
194- cloud_provider : ${{ matrix.cloud-provider }}
195- PYTEST_ADDOPTS : --color=yes --tb=short
196- TOX_PARALLEL_NO_SPINNER : 1
197- SNOWPARK_PYTHON_API_TEST_BUCKET_PATH : ${{ secrets.SNOWPARK_PYTHON_API_TEST_BUCKET_PATH }}
198- SNOWPARK_PYTHON_API_S3_STORAGE_INTEGRATION : ${{ vars.SNOWPARK_PYTHON_API_S3_STORAGE_INTEGRATION }}
186+ - name : Install MS ODBC Driver (Ubuntu only)
187+ if : ${{ matrix.os.download_name == 'linux' }}
188+ run : |
189+ curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
190+ curl https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/prod.list | sudo tee /etc/apt/sources.list.d/mssql-release.list
191+ sudo apt-get update
192+ sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18 unixodbc-dev
199193 shell : bash
200194 - name : Run data source tests
201195 # psycopg2 is not supported on macos 3.9
@@ -600,8 +594,7 @@ jobs:
600594 run : uv pip install -U setuptools pip wheel --system
601595 - name : Install tox
602596 run : uv pip install tox --system
603- # SNOW-2213578: Re-enable the test for 3.13
604- - if : ${{ contains('macos', matrix.os.download_name) && matrix.python-version != '3.13' }}
597+ - if : ${{ contains('macos', matrix.os.download_name) }}
605598 name : Run doctests
606599 run : python -m tox -e "py${PYTHON_VERSION}-doctest-notudf-ci"
607600 env :
@@ -610,8 +603,7 @@ jobs:
610603 PYTEST_ADDOPTS : --color=yes --tb=short --disable_cte_optimization
611604 TOX_PARALLEL_NO_SPINNER : 1
612605 shell : bash
613- - if : ${{ matrix.python-version != '3.13' }}
614- name : Run tests (excluding doctests)
606+ - name : Run tests (excluding doctests)
615607 run : python -m tox -e "py${PYTHON_VERSION/\./}-dailynotdoctest-ci"
616608 env :
617609 PYTHON_VERSION : ${{ matrix.python-version }}
@@ -621,18 +613,6 @@ jobs:
621613 SNOWPARK_PYTHON_API_TEST_BUCKET_PATH : ${{ secrets.SNOWPARK_PYTHON_API_TEST_BUCKET_PATH }}
622614 SNOWPARK_PYTHON_API_S3_STORAGE_INTEGRATION : ${{ vars.SNOWPARK_PYTHON_API_S3_STORAGE_INTEGRATION }}
623615 shell : bash
624- # SNOW-2213578 : Remove the test below and run udf tests for 3.13
625- - if : ${{ matrix.python-version == '3.13' }}
626- name : Run tests (excluding udf, doctests)
627- run : python -m tox -e "py${PYTHON_VERSION/\./}-dailynotdoctestnotudf-ci"
628- env :
629- PYTHON_VERSION : ${{ matrix.python-version }}
630- cloud_provider : ${{ matrix.cloud-provider }}
631- PYTEST_ADDOPTS : --color=yes --tb=short --disable_cte_optimization
632- TOX_PARALLEL_NO_SPINNER : 1
633- SNOWPARK_PYTHON_API_TEST_BUCKET_PATH : ${{ secrets.SNOWPARK_PYTHON_API_TEST_BUCKET_PATH }}
634- SNOWPARK_PYTHON_API_S3_STORAGE_INTEGRATION : ${{ vars.SNOWPARK_PYTHON_API_S3_STORAGE_INTEGRATION }}
635- shell : bash
636616 - name : Combine coverages
637617 run : python -m tox -e coverage --skip-missing-interpreters false
638618 shell : bash
@@ -647,7 +627,7 @@ jobs:
647627 .tox/coverage.xml
648628
649629 test-enable-fix-join-alias :
650- name : Test Fixing Join Alias py-${{ matrix.os }}-${{ matrix.python-version }}
630+ name : Test Fixing Join Alias py-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}
651631 needs : build
652632 runs-on : ${{ matrix.os }}
653633 strategy :
@@ -699,7 +679,7 @@ jobs:
699679 - name : Install tox
700680 run : uv pip install tox --system
701681 # we only run doctest on macos
702- - if : ${{ matrix.os == 'macos-latest' && matrix.python-version != '3.12' }}
682+ - if : ${{ matrix.os == 'macos-latest'}}
703683 name : Run doctests
704684 run : python -m tox -e "py${PYTHON_VERSION}-doctest-notudf-ci"
705685 env :
@@ -711,7 +691,7 @@ jobs:
711691 # For example, see https://github.com/snowflakedb/snowpark-python/pull/681
712692 shell : bash
713693 # do not run other tests for macos
714- - if : ${{ matrix.os != 'macos-latest' && matrix.python-version != '3.12' }}
694+ - if : ${{ matrix.os != 'macos-latest'}}
715695 name : Run tests (excluding doctests)
716696 run : python -m tox -e "py${PYTHON_VERSION/\./}-notdoctest-ci"
717697 env :
@@ -722,18 +702,6 @@ jobs:
722702 SNOWPARK_PYTHON_API_TEST_BUCKET_PATH : ${{ secrets.SNOWPARK_PYTHON_API_TEST_BUCKET_PATH }}
723703 SNOWPARK_PYTHON_API_S3_STORAGE_INTEGRATION : ${{ vars.SNOWPARK_PYTHON_API_S3_STORAGE_INTEGRATION }}
724704 shell : bash
725- - if : ${{ matrix.python-version == '3.12' }}
726- name : Run tests (excluding doctests and udf tests)
727- run : python -m tox -e "py${PYTHON_VERSION/\./}-notudfdoctest-ci"
728- env :
729- PYTHON_VERSION : ${{ matrix.python-version }}
730- cloud_provider : ${{ matrix.cloud-provider }}
731- PYTEST_ADDOPTS : --color=yes --tb=short --join_alias_fix
732- TOX_PARALLEL_NO_SPINNER : 1
733- SNOWFLAKE_IS_PYTHON_RUNTIME_TEST : 1
734- SNOWPARK_PYTHON_API_TEST_BUCKET_PATH : ${{ secrets.SNOWPARK_PYTHON_API_TEST_BUCKET_PATH }}
735- SNOWPARK_PYTHON_API_S3_STORAGE_INTEGRATION : ${{ vars.SNOWPARK_PYTHON_API_S3_STORAGE_INTEGRATION }}
736- shell : bash
737705 - name : Combine coverages
738706 run : python -m tox -e coverage --skip-missing-interpreters false
739707 shell : bash
0 commit comments