Skip to content

Commit

Permalink
Do not test Ibis below py3.9, add DuckDB for tests (#1773)
Browse files Browse the repository at this point in the history
* Restore accidentally-deleted use of "breakpoint()"

Signed-off-by: Deepyaman Datta <deepyaman.datta@utexas.edu>

* Swap `types-pkg_resources` with `types-setuptools` (#1779)

* Swap `types-pkg_resources` with `types-setuptools`

Signed-off-by: Deepyaman Datta <deepyaman.datta@utexas.edu>

* Update the expected error message to name variable

Signed-off-by: Deepyaman Datta <deepyaman.datta@utexas.edu>

* Fix expected outputs for pandas-stubs 2.2.2.240807

Signed-off-by: Deepyaman Datta <deepyaman.datta@utexas.edu>

* Update CI configuration to filter right pandas ver

Signed-off-by: Deepyaman Datta <deepyaman.datta@utexas.edu>

---------

Signed-off-by: Deepyaman Datta <deepyaman.datta@utexas.edu>

* Do not test Ibis below py3.9, add DuckDB for tests

Signed-off-by: Deepyaman Datta <deepyaman.datta@utexas.edu>

---------

Signed-off-by: Deepyaman Datta <deepyaman.datta@utexas.edu>
  • Loading branch information
deepyaman authored Aug 15, 2024
1 parent 74c7771 commit 1107ab4
Show file tree
Hide file tree
Showing 27 changed files with 2,168 additions and 2,229 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ jobs:
python -m pip install nox pre_commit \
mypy==0.982 \
types-click \
types-pytz \
types-pyyaml \
types-pkg_resources \
types-requests \
types-pytz
types-setuptools
- name: Pip info
run: python -m pip list

Expand Down Expand Up @@ -153,11 +153,11 @@ jobs:
uses: codecov/codecov-action@v4

# - name: Check Docstrings
# if: ${{ matrix.os != 'windows-latest' && matrix.python-version == '3.11' && matrix.pandas-version == '2.2.0' }}
# if: ${{ matrix.os != 'windows-latest' && matrix.python-version == '3.11' && matrix.pandas-version == '2.2.2' }}
# run: nox ${{ env.NOX_FLAGS }} --session doctests

# - name: Check Docs
# if: ${{ matrix.os != 'windows-latest' && matrix.python-version == '3.11' && matrix.pydantic-version == '2.2.0' }}
# if: ${{ matrix.os != 'windows-latest' && matrix.python-version == '3.11' && matrix.pydantic-version == '2.2.2' }}
# run: nox ${{ env.NOX_FLAGS }} --session docs

extras-tests:
Expand Down Expand Up @@ -208,7 +208,7 @@ jobs:
pip-cache: ~/AppData/Local/pip/Cache
exclude:
- python-version: "3.8"
pandas-version: "2.2.0"
pandas-version: "2.2.2"
- python-version: "3.11"
pandas-version: "1.5.3"
# mypy tests hang on windows
Expand Down Expand Up @@ -236,6 +236,8 @@ jobs:
polars-version: "0.20.31"
- extra: modin-ray
polars-version: "0.20.31"
- extra: ibis
python-version: "3.8"
- extra: ibis
polars-version: "0.20.31"

Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:
- id: check-yaml
description: Attempts to load all yaml files to verify syntax
- id: debug-statements
description: Check for debugger imports and py37+ calls in python source
description: Check for debugger imports and py37+ breakpoint() calls in python source
- id: end-of-file-fixer
description: Makes sure files end in a newline and only a newline
- id: trailing-whitespace
Expand Down Expand Up @@ -50,10 +50,10 @@ repos:
- id: mypy
additional_dependencies:
- types-click
- types-pkg_resources
- types-pytz
- types-pyyaml
- types-requests
- types-setuptools
args: ["pandera", "tests", "scripts"]
exclude: (^docs/|^tests/mypy/modules/)
pass_filenames: false
Expand Down
Loading

0 comments on commit 1107ab4

Please sign in to comment.