Skip to content
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

feat: update to include pyarrow-hotfix #1930

Merged
merged 11 commits into from
Dec 14, 2023
Merged
8 changes: 4 additions & 4 deletions python/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ Most of the workflow is based on the `Makefile` and the `maturin` CLI tool.
#### Setup your local environment with virtualenv

```bash
$ make setup-venv
make setup-venv
```

#### Activate it
```bash
$ source ./venv/bin/activate
source ./venv/bin/activate
```

#### Ready to develop with maturin
Expand All @@ -21,13 +21,13 @@ $ source ./venv/bin/activate
Install delta-rs in the current virtualenv

```bash
$ make develop
make develop
```

Then, list all the available tasks

```bash
$ make help
make help
```

Format:
Expand Down
1 change: 1 addition & 0 deletions python/deltalake/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import pyarrow
import pyarrow.dataset as ds
import pyarrow.fs as pa_fs
import pyarrow_hotfix # noqa: F401; addresses CVE-2023-47248; # type: ignore
from pyarrow.dataset import (
Expression,
FileSystemDataset,
Expand Down
8 changes: 4 additions & 4 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ classifiers = [
"Programming Language :: Python :: 3.12"
]
dependencies = [
"pyarrow>=8"
"pyarrow>=8",
"pyarrow-hotfix",
]

[project.optional-dependencies]
Expand All @@ -42,7 +43,7 @@ devel = [
pyspark = [
"pyspark",
"delta-spark",
"numpy==1.22.2" # pyspark is no compatible with latest numpy
"numpy==1.22.2" # pyspark is not compatible with latest numpy
]

[project.urls]
Expand Down Expand Up @@ -70,7 +71,6 @@ warn_return_any = false
implicit_reexport = true
strict_equality = true


[tool.black]
include = '\.pyi?$'
exclude = "venv"
Expand Down Expand Up @@ -101,4 +101,4 @@ markers = [
"azure: marks tests as integration tests with Azure Blob Store",
"pandas: marks tests that require pandas",
"pyspark: marks tests that require pyspark",
]
]
Empty file.
Loading