Skip to content

Commit

Permalink
Avoid pandas warning with pyarrow
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac-HD committed Jan 22, 2024
1 parent 16cc307 commit 25d233f
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 9 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,9 @@ jobs:
- name: Use old pandas on win32
if: matrix.python-architecture
# See https://github.com/pandas-dev/pandas/issues/54979
run: (Get-Content .\requirements\coverage.txt) -replace 'pandas==[0-9.]+', 'pandas==2.0.3' | Out-File .\requirements\coverage.txt
run: |
(Get-Content .\requirements\coverage.txt) -replace 'pandas==[0-9.]+', 'pandas==2.0.3' | Out-File .\requirements\coverage.txt
(Get-Content .\requirements\coverage.txt) -replace 'pyarrow==[0-9.]+', '# omitted' | Out-File .\requirements\coverage.txt
- name: Install dependencies
run: |
pip install --upgrade setuptools pip wheel
Expand Down
1 change: 1 addition & 0 deletions requirements/coverage.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ lark
libcst
numpy
pandas
pyarrow # Silence warning from Pandas >=2.2, <3 - see https://github.com/pandas-dev/pandas/issues/54466
python-dateutil
pytz
typing-extensions
Expand Down
3 changes: 3 additions & 0 deletions requirements/coverage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ numpy==1.26.3
# via
# -r requirements/coverage.in
# pandas
# pyarrow
packaging==23.2
# via
# black
Expand All @@ -58,6 +59,8 @@ pluggy==1.3.0
# via pytest
ptyprocess==0.7.0
# via pexpect
pyarrow==15.0.0
# via -r requirements/coverage.in
pytest==7.4.4
# via
# -r requirements/test.in
Expand Down
7 changes: 5 additions & 2 deletions requirements/fuzzing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ flask==3.0.1
# via dash
hypofuzz==23.12.1
# via -r requirements/fuzzing.in
hypothesis[cli]==6.96.1
hypothesis[cli]==6.96.2
# via
# hypofuzz
# hypothesis
Expand Down Expand Up @@ -90,12 +90,13 @@ mypy-extensions==1.0.0
# via
# black
# typing-inspect
nest-asyncio==1.5.9
nest-asyncio==1.6.0
# via dash
numpy==1.26.3
# via
# -r requirements/coverage.in
# pandas
# pyarrow
packaging==23.2
# via
# black
Expand All @@ -119,6 +120,8 @@ psutil==5.9.8
# via hypofuzz
ptyprocess==0.7.0
# via pexpect
pyarrow==15.0.0
# via -r requirements/coverage.in
pygments==2.17.2
# via rich
pytest==7.4.4
Expand Down
2 changes: 1 addition & 1 deletion requirements/tools.txt
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ pyproject-api==1.6.1
# via tox
pyproject-hooks==1.0.0
# via build
pyright==1.1.347
pyright==1.1.348
# via -r requirements/tools.in
pytest==7.4.4
# via -r requirements/tools.in
Expand Down
10 changes: 5 additions & 5 deletions tooling/src/hypothesistooling/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,12 +392,12 @@ def run_tox(task, version, *args):
"3.8": "3.8.18",
"3.9": "3.9.18",
"3.10": "3.10.13",
"3.11": "3.11.7",
"3.12": "3.12.1",
"3.13": "3.13.0a3",
"3.11": "3.11.6",
"3.12": "3.12.0",
"3.13": "3.13.0a2",
"pypy3.8": "pypy3.8-7.3.11",
"pypy3.9": "pypy3.9-7.3.15",
"pypy3.10": "pypy3.10-7.3.15",
"pypy3.9": "pypy3.9-7.3.13",
"pypy3.10": "pypy3.10-7.3.13",
}
ci_version = "3.10" # Keep this in sync with GH Actions main.yml and .readthedocs.yml

Expand Down

0 comments on commit 25d233f

Please sign in to comment.