Skip to content

Commit

Permalink
Use numpy<2 with pandas<2
Browse files Browse the repository at this point in the history
  • Loading branch information
mwouts committed Jun 19, 2024
1 parent ba57c8e commit c299b83
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,13 @@ jobs:
matrix:
python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12"]
pandas-version: [latest]
numpy-version: [latest]
include:
- python-version: 3.7
pandas-version: '<1.0'
- python-version: 3.9
pandas-version: '<2.0'
numpy-version: '<2.0'
- python-version: "3.12"
pandas-version: pre
polars: true
Expand Down Expand Up @@ -77,6 +79,9 @@ jobs:
- name: Install pandas ${{ matrix.pandas-version }}
if: matrix.pandas-version != 'pre' && matrix.pandas-version != 'latest'
run: pip install 'pandas${{ matrix.pandas-version }}'
- name: Install numpy ${{ matrix.numpy-version }}
if: matrix.numpy-version != 'latest'
run: pip install 'numpy${{ matrix.numpy-version }}'

- name: Install polars
if: matrix.polars
Expand Down

0 comments on commit c299b83

Please sign in to comment.