diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 64349daad0..fe79619587 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -41,16 +41,15 @@ jobs: # Run on the full set on schedule, workflow_dispatch and push&tags events, otherwise on a subset. python-version: ${{ ( github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || ( github.event_name == 'push' && github.ref_type == 'tag' ) ) && fromJSON('["3.7", "3.8", "3.9", "3.10", "3.11"]') || fromJSON('["3.7", "3.9", "3.11"]') }} bokeh-version: ['2', '3'] - pandas-version: ['2'] + pandas-version: ['1'] exclude: # Bokeh 3 does not support Python 3.7 - bokeh-version: '3' python-version: '3.7' include: - - pandas-version: '1' + - pandas-version: '2' bokeh-version: '3' - python-version: '3.8' - os: 'ubuntu-latest' + python-version: '3.10' timeout-minutes: 120 # Because slow conda solve on Python 3.7 defaults: run: @@ -75,11 +74,12 @@ jobs: conda-update: true conda-mamba: mamba id: install - - name: Pandas 1.5 install - if: steps.install.outputs.cache-hit != 'true' && matrix.pandas-version == '1' + - name: Pandas 2 install + if: steps.install.outputs.cache-hit != 'true' && matrix.pandas-version == '2' run: | conda activate test-environment - mamba install pandas=1.5 -y + conda uninstall pandas dask dask-core xarray --force --offline -y + mamba install pandas dask-core -y - name: bokeh sampledata run: | conda activate test-environment diff --git a/setup.py b/setup.py index 594a1fc7ea..81edd09465 100644 --- a/setup.py +++ b/setup.py @@ -59,6 +59,7 @@ 'scipy', 'selenium', 'numpy <1.24', # Upper pin because of numba error + 'pandas <2.0', # xarray does not support pandas 2.0 yet: https://github.com/pydata/xarray/issues/7716 ] # Packages not working on python 3.11 because of numba