Skip to content

Commit

Permalink
Upgrade to spark 3.5.1 (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
stijndehaes authored Feb 29, 2024
1 parent 0363f61 commit 8b67cf8
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 30 deletions.
1 change: 1 addition & 0 deletions basic/pi_spark/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ dags
Dockerfile
tests
pytest.ini
.idea
2 changes: 1 addition & 1 deletion basic/pi_spark/.python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.9.17
3.10.12
2 changes: 1 addition & 1 deletion basic/pi_spark/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM public.ecr.aws/dataminded/spark-k8s-glue:v3.3.1-hadoop-3.3.4-v2
FROM public.ecr.aws/dataminded/spark-k8s-glue:v3.5.1-hadoop-3.3.6-v1

ENV PYSPARK_PYTHON python3
WORKDIR /opt/spark/work-dir
Expand Down
4 changes: 2 additions & 2 deletions basic/pi_spark/dev-requirements.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-c requirements.txt
pyspark==3.3.1
pandas==1.1.5
pyspark==3.5.1
pandas==1.5.2
pytest>=6.0
pytest-cov
black
Expand Down
25 changes: 6 additions & 19 deletions basic/pi_spark/dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
#
# This file is autogenerated by pip-compile with Python 3.9
# by the following command:
#
# pip-compile dev-requirements.in
#
attrs==22.2.0
# via pytest
black==22.12.0
# via -r dev-requirements.in
click==8.1.3
# via black
coverage[toml]==7.0.5
# via pytest-cov
exceptiongroup==1.1.0
# via pytest
# via
# coverage
# pytest-cov
flake8==6.0.0
# via -r dev-requirements.in
iniconfig==2.0.0
Expand All @@ -26,21 +20,21 @@ numpy==1.24.1
# via pandas
packaging==23.0
# via pytest
pandas==1.1.5
pandas==1.5.2
# via -r dev-requirements.in
pathspec==0.10.3
# via black
platformdirs==2.6.2
# via black
pluggy==1.0.0
# via pytest
py4j==0.10.9.5
py4j==0.10.9.7
# via pyspark
pycodestyle==2.10.0
# via flake8
pyflakes==3.0.1
# via flake8
pyspark==3.3.1
pyspark==3.5.1
# via -r dev-requirements.in
pytest==7.2.1
# via
Expand All @@ -54,10 +48,3 @@ pytz==2022.7.1
# via pandas
six==1.16.0
# via python-dateutil
tomli==2.0.1
# via
# black
# coverage
# pytest
typing-extensions==4.4.0
# via black
7 changes: 1 addition & 6 deletions basic/pi_spark/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
#
# This file is autogenerated by pip-compile with python 3.8
# To update, run:
#
# pip-compile requirements.in
#

2 changes: 1 addition & 1 deletion basic/pi_spark/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
name="pi_spark",
version="0.0.1",
description="pyspark sample template",
python_requires=">=3.6",
python_requires=">=3.10",
packages=find_packages("src"),
package_dir={"": "src"},
py_modules=[splitext(basename(path))[0] for path in glob("src/*.py")],
Expand Down

0 comments on commit 8b67cf8

Please sign in to comment.