Skip to content

Commit e4d8c37

Browse files
committed
GDAL and Scala path updates.
1 parent 3d2c759 commit e4d8c37

File tree

8 files changed

+13
-9
lines changed

8 files changed

+13
-9
lines changed

project/RFAssemblyPlugin.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ object RFAssemblyPlugin extends AutoPlugin {
5151
assembly / assemblyShadeRules:= {
5252
val shadePrefixes = Seq(
5353
"shapeless",
54+
"com.github.mpilquist",
5455
"com.amazonaws",
5556
"org.apache.avro",
5657
"org.apache.http",
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[build-system]
2+
# Minimum requirements for the build system to execute.
3+
requires = ["setuptools", "wheel"] # PEP 508 specifications.
4+
build-backend = "setuptools.build_meta"

pyrasterframes/src/main/python/pyrasterframes/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def pdir(curr):
5252
# See if we're running outside of sbt build and adjust
5353
if os.path.basename(target_dir) != "target":
5454
target_dir = os.path.join(pdir(pdir(target_dir)), 'target')
55-
jar_dir = os.path.join(target_dir, 'scala-2.11')
55+
jar_dir = os.path.join(target_dir, 'scala-2.12')
5656

5757
return os.path.realpath(jar_dir)
5858

pyrasterframes/src/main/python/pyrasterframes/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@
2020
#
2121

2222
# Translating Java version from version.sbt to PEP440 norms
23-
__version__: str = '0.9.1'
23+
__version__: str = '0.9.2'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# These packages should be installed from conda-forge, given their complex binary components.
2-
gdal==2.4.4
2+
gdal==3.1.2
33
rasterio[s3]
44
rtree

pyrasterframes/src/main/python/setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,15 +140,14 @@ def dest_file(self, src_file):
140140
# to throw a `NotImplementedError: Can't perform this operation for unregistered loader type`
141141
pytest = 'pytest>=4.0.0,<5.0.0'
142142

143-
144143
pyspark = 'pyspark==3.1.1'
145144
boto3 = 'boto3'
146145
deprecation = 'deprecation'
147146
descartes = 'descartes'
148147
matplotlib = 'matplotlib'
149148
fiona = 'fiona'
150149
folium = 'folium'
151-
gdal = 'gdal==2.4.4'
150+
gdal = 'gdal==3.1.2'
152151
geopandas = 'geopandas'
153152
ipykernel = 'ipykernel'
154153
ipython = 'ipython'
@@ -185,7 +184,7 @@ def dest_file(self, src_file):
185184
'Bug Reports': 'https://github.com/locationtech/rasterframes/issues',
186185
'Source': 'https://github.com/locationtech/rasterframes',
187186
},
188-
python_requires=">=3.5",
187+
python_requires=">=3.7",
189188
install_requires=[
190189
gdal,
191190
pytz,

pyrasterframes/src/main/python/tests/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def pdir(curr):
5151
return os.path.dirname(curr)
5252

5353
here = os.path.dirname(os.path.realpath(__file__))
54-
scala_target = os.path.realpath(os.path.join(pdir(pdir(here)), 'scala-2.11'))
54+
scala_target = os.path.realpath(os.path.join(pdir(pdir(here)), 'scala-2.12'))
5555
rez_dir = os.path.realpath(os.path.join(scala_target, 'test-classes'))
5656
# If not running in build mode, try source dirs.
5757
if not os.path.exists(rez_dir):

rf-notebook/src/main/docker/requirements-nb.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
pyspark>=2.4.7,<=3.0
2-
gdal==2.4.4
1+
pyspark>=3.1
2+
gdal==3.1.2
33
numpy
44
pandas
55
shapely

0 commit comments

Comments
 (0)