Skip to content

deps: include pyarrow as a dependency #529

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,8 +341,8 @@ def run_system(
pytest_cmd.extend(extra_pytest_options)
session.run(
*pytest_cmd,
test_folder,
*session.posargs,
test_folder,
)


Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"ibis-framework[bigquery] >=8.0.0,<9.0.0dev",
# TODO: Relax upper bound once we have fixed `system_prerelease` tests.
"pandas >=1.5.0",
"pyarrow >=8.0.0",
"pydata-google-auth >=1.8.2",
"requests >=2.27.1",
"scikit-learn >=1.2.2",
Expand Down
14 changes: 8 additions & 6 deletions testing/constraints-3.10.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
# Keep in sync with colab/containers/requirements.core.in image
google-auth==2.17.3
google-auth==2.27.0
ipykernel==5.5.6
ipython==7.34.0
notebook==6.4.8
pandas==1.5.3
portpicker==1.3.9
requests==2.27.1
tornado==6.3.1
notebook==6.5.5
pandas==2.0.3
pandas-stubs==2.0.3.230814
portpicker==1.5.2
requests==2.31.0
tornado==6.3.3
absl-py==1.4.0
debugpy==1.6.6
ipywidgets==7.7.1
matplotlib==3.7.1
psutil==5.9.5
seaborn==0.13.1
traitlets==5.7.1
1 change: 1 addition & 0 deletions testing/constraints-3.9.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ google-cloud-resource-manager==1.10.3
google-cloud-storage==2.0.0
ibis-framework==8.0.0
pandas==1.5.0
pyarrow==8.0.0
pydata-google-auth==1.8.2
requests==2.27.1
scikit-learn==1.2.2
Expand Down
6 changes: 6 additions & 0 deletions tests/system/small/test_series.py
Original file line number Diff line number Diff line change
Expand Up @@ -2783,6 +2783,12 @@ def test_string_astype_float():


def test_string_astype_date():
if int(pa.__version__.split(".")[0]) < 15:
pytest.skip(
"Avoid pyarrow.lib.ArrowNotImplementedError: "
"Unsupported cast from string to date32 using function cast_date32."
)

pd_series = pd.Series(["2014-08-15", "2215-08-15", "2016-02-29"]).astype(
pd.ArrowDtype(pa.string())
)
Expand Down