Skip to content

Commit a6749dc

Browse files
committed
Config and dep changes for python and docs build
Signed-off-by: Jason T. Brown <[email protected]>
1 parent 229f82b commit a6749dc

File tree

5 files changed

+258
-5
lines changed

5 files changed

+258
-5
lines changed

.circleci/config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ jobs:
136136
- run:
137137
name: "Create PyRasterFrames package"
138138
command: |-
139-
python -m pip install --user pyspark==2.4.5
140139
sbt -v -batch pyrasterframes/package
141140
142141
- run:

project/RFDependenciesPlugin.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ object RFDependenciesPlugin extends AutoPlugin {
7373
},
7474
// dependencyOverrides += "com.azavea.gdal" % "gdal-warp-bindings" % "33.f746890",
7575
// NB: Make sure to update the Spark version in pyrasterframes/python/setup.py
76-
rfSparkVersion := "2.4.5",
76+
rfSparkVersion := "2.4.7",
7777
rfGeoTrellisVersion := "3.3.0",
7878
rfGeoMesaVersion := "2.2.1"
7979
)

pyrasterframes/src/main/python/docs/zonal-algebra.md

Lines changed: 250 additions & 0 deletions
Large diffs are not rendered by default.

pyrasterframes/src/main/python/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ipython==6.2.1
2-
pyspark==2.4.5
2+
pyspark==2.4.7
33
gdal==2.4.4
44
numpy>=1.17.3,<2.0
55
pandas>=0.25.3,<1.0

pyrasterframes/src/main/python/setup.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,13 @@ def dest_file(self, src_file):
144144
ipython = 'ipython==6.2.1'
145145
jupyter_client = 'jupyter-client<6.0' # v6 breaks pweave
146146
matplotlib = 'matplotlib'
147+
nbclient = 'nbclient==0.1.0' # compatible with our pweave => jupyter_client restrictions
148+
nbconvert = 'nbconvert==5.5.0'
147149
numpy = 'numpy>=1.17.3,<2.0'
148150
pandas = 'pandas>=0.25.3,<1.0'
149151
pweave = 'pweave==0.30.3'
150152
pypandoc = 'pypandoc'
151-
pyspark = 'pyspark==2.4.5'
153+
pyspark = 'pyspark==2.4.7'
152154
pytest = 'pytest>=4.0.0,<5.0.0'
153155
pytest_runner = 'pytest-runner'
154156
pytz = 'pytz'
@@ -196,9 +198,11 @@ def dest_file(self, src_file):
196198
pytest_runner,
197199
setuptools,
198200
ipython,
199-
ipykernel,
201+
# ipykernel,
200202
pweave,
201203
jupyter_client,
204+
nbclient,
205+
nbconvert,
202206
fiona,
203207
rasterio,
204208
folium,

0 commit comments

Comments
 (0)