Skip to content

Commit

Permalink
Add test with lowest supported Pandas version
Browse files Browse the repository at this point in the history
  • Loading branch information
binste committed Jul 31, 2023
1 parent d32d053 commit b1e07f2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ jobs:
if: ${{ matrix.python-version }}=="3.9"
run: |
pip uninstall -y pyarrow vegafusion vegafusion-python-embed
- name: Maybe install lowest supported Pandas version
# We install the lowest supported Pandas version for one job to test that
# it still works. We do this for Python 3.8 as that is the last Python version
# to work with this Pandas version.
if: ${{ matrix.python-version }}=="3.8"
run: |
pip install pandas==0.18
- name: Test that schema generation has no effect
run: |
python tools/generate_schema_wrapper.py
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ authors = [ {name = "Vega-Altair Contributors"} ]
dependencies = [
"typing_extensions>=4.0.1; python_version<\"3.11\"",
"jinja2",
# If you update the minimum required jsonschema version, also update it in build.yml
"jsonschema>=3.0",
"numpy",
# If you update the minimum required pandas version, also update it in build.yml
"pandas>=0.18",
"toolz"
]
Expand Down

0 comments on commit b1e07f2

Please sign in to comment.