Skip to content

Commit

Permalink
Swap types-pkg_resources with types-setuptools (#1779)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
deepyaman authored Aug 12, 2024
1 parent 97221a6 commit f6317d6
Show file tree
Hide file tree
Showing 24 changed files with 2,034 additions and 2,014 deletions.
10 changes: 5 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 @@ -207,7 +207,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
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
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 f6317d6

Please sign in to comment.