Skip to content

Commit 11bafa3

Browse files
authored
Adding support for Spark 3.5 (#210)
* Adding support for Spark 3.5 Skipping Spark 3.4 for now, due to dependency issue with Breeze. Will revisit in future PR. * Added spark 3.5 to workflow
1 parent 7ecb7da commit 11bafa3

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.github/workflows/base.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
PYSPARK_VERSION: ["3.1.3", "3.2", "3.3"]
15+
PYSPARK_VERSION: ["3.1.3", "3.2", "3.3", "3.5"]
1616

1717
steps:
1818
- uses: actions/checkout@v3

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ COPY poetry.lock /python-deequ
2222
WORKDIR python-deequ
2323

2424
RUN poetry install -vvv
25-
RUN poetry add pyspark==3.3 -vvv
25+
RUN poetry add pyspark==3.5.0 -vvv
2626

27-
ENV SPARK_VERSION=3.3
27+
ENV SPARK_VERSION=3.5
2828
COPY . /python-deequ
2929
CMD poetry run python -m pytest -s tests

pydeequ/configs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66

77
SPARK_TO_DEEQU_COORD_MAPPING = {
8+
"3.5": "com.amazon.deequ:deequ:2.0.7-spark-3.5",
89
"3.3": "com.amazon.deequ:deequ:2.0.7-spark-3.3",
910
"3.2": "com.amazon.deequ:deequ:2.0.7-spark-3.2",
1011
"3.1": "com.amazon.deequ:deequ:2.0.7-spark-3.1"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ classifiers = [
2828

2929

3030
[tool.poetry.dependencies]
31-
python = ">=3.7,<4"
31+
python = ">=3.8,<4"
3232
numpy = ">=1.14.1"
3333
pandas = ">=0.23.0"
3434
pyspark = { version = ">=2.4.7, <3.3.0", optional = true }

0 commit comments

Comments
 (0)