Skip to content

Commit

Permalink
Depend on pandas>=2.0.1 (#406)
Browse files Browse the repository at this point in the history
* CI: run tests for different pandas versions

* Require pandas>=2.1.0

* Fix pyproject.toml

* Integrate into main test definition file

* Fix pandas version to >=2.0.3 for Python 3.8

* Depend on pandas>=2.0.1

* Try to simplify test definition

* Revert "Try to simplify test definition"

This reverts commit 958b886.
  • Loading branch information
hagenw committed May 13, 2024
1 parent b70ec82 commit e85e75e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,23 @@ jobs:
matrix:
os: [ ubuntu-latest, macOS-latest, windows-latest ]
python-version: [ '3.10' ]
pandas: ['pandas']
include:
- os: ubuntu-latest
python-version: '3.8'
pandas: 'pandas'
tasks: tests
- os: ubuntu-latest
python-version: '3.9'
pandas: 'pandas'
tasks: tests
- os: ubuntu-latest
python-version: '3.10'
pandas: 'pandas==2.0.3'
tasks: tests
- os: ubuntu-latest
python-version: '3.10'
pandas: 'pandas==2.1.4'
tasks: tests

steps:
Expand All @@ -46,6 +57,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install "${{ matrix.pandas }}"
# TESTS
- name: Ubuntu - install ffmpeg/mediainfo
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ dependencies = [
'audiofile >=1.0.0',
'audobject >=0.5.0',
'audresample >=0.1.6',
'pyarrow',
'filelock',
'oyaml',
'pandas >=2.0.1',
'pyarrow',
]
# Get version dynamically from git
# (needs setuptools_scm tools config below)
Expand Down

0 comments on commit e85e75e

Please sign in to comment.