Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exclude vulnerable rasterio dependency #490

Merged
merged 3 commits into from
Sep 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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",
],
)