@@ -82,14 +82,26 @@ jobs:
8282 python -m pytest -x test_init/test_lazy_imports.py
8383
8484 test-optional-legacy-pandas :
85- name : Optional tests, Pandas 1 (Python 3.9, Pandas 1.2.4 )
85+ name : Optional tests (Python ${{ matrix.python-version }}, pandas${{ matrix.pandas-version }}, numpy${{ matrix.numpy-version }} )
8686 runs-on : ubuntu-latest
87+ strategy :
88+ fail-fast : false
89+ matrix :
90+ include :
91+ - python-version : " 3.9"
92+ pandas-version : " ==1.2.4"
93+ numpy-version : " ==1.26.4"
94+ setuptools-version : " <82"
95+ - python-version : " 3.11"
96+ pandas-version : " ==2.3.3"
97+ numpy-version : " ==2.4.0"
98+ setuptools-version : " "
8799 steps :
88100 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
89101 - name : Set up Python
90102 uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
91103 with :
92- python-version : " 3.9 "
104+ python-version : ${{ matrix.python-version }}
93105 - name : Set up Chrome for browser tests
94106 uses : ./.github/actions/setup-chrome-for-pytest
95107 - name : Set up uv
99111 uv venv
100112 source .venv/bin/activate
101113 uv sync --extra dev_optional
102- uv pip install pandas==1.2.4 numpy==1.26.4
114+ uv pip install " pandas${{ matrix.pandas-version }}" " numpy${{ matrix.numpy-version }}" "setuptools${{ matrix.setuptools-version }}"
103115 - name : Test core
104116 run : |
105117 source .venv/bin/activate
@@ -126,7 +138,7 @@ jobs:
126138 python -m pytest -x test_init/test_lazy_imports.py
127139
128140 test-kaleido-v0 :
129- name : Optional tests (Kaleido only), Kaleido v0 (Python 3.12, Kaleido v0 .2.1)
141+ name : Optional tests (Kaleido only), Kaleido v0 (Python 3.12, kaleido==0 .2.1)
130142 runs-on : ubuntu-latest
131143 steps :
132144 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
0 commit comments