Skip to content

Commit

Permalink
[CHORE] drop ray default dep to make room for Pydantic > 2.0 (#1618)
Browse files Browse the repository at this point in the history
* Drop ray default feature due to the fact that pyiceberg requires
pydantic > 2.0
* for context: ray-project/ray#37019
  • Loading branch information
samster25 authored Nov 16, 2023
1 parent b78ed32 commit 3871a60
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@ readme = "README.rst"
requires-python = ">=3.7"

[project.optional-dependencies]
all = ["getdaft[aws, azure, gcp, ray, pandas, numpy, viz]"]
all = ["getdaft[aws, azure, gcp, ray, pandas, numpy]"]
aws = ["s3fs"]
azure = ["adlfs"]
gcp = ["gcsfs"]
numpy = ["numpy"]
pandas = ["pandas"]
ray = [
# Inherit existing Ray version. Get the "default" extra for the Ray dashboard.
"ray[data, default]>=2.0.0",
"ray[data]>=2.0.0",
# Explicitly install packaging. See issue: https://github.com/ray-project/ray/issues/34806
"packaging"
]
viz = ["pydot"]
viz = []

[project.urls]
homepage = "https://www.getdaft.io"
Expand Down
3 changes: 1 addition & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ opencv-python==4.8.1.78
pyarrow==12; platform_system != "Windows"
pyarrow==6.0.1; platform_system === "Windows"
# Ray
ray[data, default]==2.6.3
pydantic<2 # pin pydantic because Ray uses broken APIs
ray[data]==2.6.3

# AWS
s3fs==2023.1.0; python_version < '3.8'
Expand Down

0 comments on commit 3871a60

Please sign in to comment.