Skip to content

Commit

Permalink
Merge pull request #490 from ungarj/fix_455_rio_dependency
Browse files Browse the repository at this point in the history
exclude vulnerable rasterio dependency
  • Loading branch information
ungarj committed Sep 19, 2022
2 parents 6513cf8 + 90bfd1d commit 8140085
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10"]
os: ["ubuntu-20.04", "ubuntu-22.04"]

steps:
Expand Down
2 changes: 1 addition & 1 deletion mapchete/io/raster.py
Expand Up @@ -411,7 +411,7 @@ def _read(
if exists:
# raise rasterio exception
raise e
else:
else: # pragma: no cover
# file does not exist
raise FileNotFoundError(
"%s not found and cannot be opened with rasterio" % input_file
Expand Down
2 changes: 1 addition & 1 deletion mapchete/io/vector.py
Expand Up @@ -282,7 +282,7 @@ def _get_reprojected_features(
if exists:
# raise fiona exception
raise e
else:
else: # pragma: no cover
# file does not exist
raise FileNotFoundError(
"%s not found and cannot be opened with Fiona" % inp
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Expand Up @@ -19,7 +19,7 @@ numpy>=1.16
oyaml>=0.9
pyproj
retry>=0.9.2
rasterio>=1.0.28
rasterio>1.2.10
s3fs>=0.5.2
Shapely>=1.7.1
tilematrix>=2022.3.0
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -34,7 +34,7 @@
"oyaml",
"pyproj",
"retry",
"rasterio>=1.0.28",
"rasterio>1.2.10",
"shapely",
"tilematrix>=2022.3.0",
"tqdm",
Expand Down Expand Up @@ -132,8 +132,8 @@
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering :: GIS",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
)

0 comments on commit 8140085

Please sign in to comment.