Skip to content

Commit afb01ff

Browse files
committed
Additional Python library pinning fixes.
1 parent ce02a73 commit afb01ff

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

pyrasterframes/src/main/python/setup.py

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -132,26 +132,25 @@ def initialize_options(self):
132132
def dest_file(self, src_file):
133133
return path.splitext(src_file)[0] + '.ipynb'
134134

135+
# WARNING: Changing this version bounding will result in branca's use of jinja2
136+
# to throw a `NotImplementedError: Can't perform this operation for unregistered loader type`
137+
pytest = 'pytest>=4.0.0,<5.0.0'
135138

139+
140+
pyspark = 'pyspark==2.4.7'
136141
boto3 = 'boto3'
137142
deprecation = 'deprecation'
138143
descartes = 'descartes'
144+
matplotlib = 'matplotlib'
139145
fiona = 'fiona'
140146
folium = 'folium'
141147
gdal = 'gdal==2.4.4'
142148
geopandas = 'geopandas'
143149
ipykernel = 'ipykernel'
144150
ipython = 'ipython'
145-
jupyter_client = 'jupyter-client<6.0' # v6 breaks pweave
146-
nbclient = 'nbclient==0.1.0' # compatible with our pweave => jupyter_client restrictions
147-
matplotlib = 'matplotlib'
148-
nbconvert = 'nbconvert==5.5.0'
149151
numpy = 'numpy'
150152
pandas = 'pandas'
151-
pweave = 'pweave==0.30.3'
152153
pypandoc = 'pypandoc'
153-
pyspark = 'pyspark==2.4.7'
154-
pytest = 'pytest'
155154
pytest_runner = 'pytest-runner'
156155
pytz = 'pytz'
157156
rasterio = 'rasterio'
@@ -162,6 +161,12 @@ def dest_file(self, src_file):
162161
tqdm = 'tqdm'
163162
utm = 'utm'
164163

164+
# Documentation build stuff. Until we can replace pweave, these pins are necessary
165+
pweave = 'pweave==0.30.3'
166+
jupyter_client = 'jupyter-client<6.0' # v6 breaks pweave
167+
nbclient = 'nbclient==0.1.0' # compatible with our pweave => jupyter_client restrictions
168+
nbconvert = 'nbconvert==5.5.0'
169+
165170
setup(
166171
name='pyrasterframes',
167172
description='Access and process geospatial raster data in PySpark DataFrames',

0 commit comments

Comments
 (0)