Skip to content

Commit

Permalink
update rasterio requirement (#517)
Browse files Browse the repository at this point in the history
* update rasterio requirement

* remove python 3.7

* update changelog
  • Loading branch information
vincentsarago authored Aug 29, 2022
1 parent c6b097a commit 92ea1ab
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 18 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9']
python-version: ['3.8', '3.9', '3.10']

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -73,20 +73,20 @@ jobs:
- name: Run Benchmark
run: python -m pytest --benchmark-only --benchmark-autosave --benchmark-columns 'min, max, mean, median' --benchmark-sort 'min' --benchmark-json output.json

- name: Store and Compare benchmark result
uses: benchmark-action/github-action-benchmark@v1
with:
name: rio-tiler Benchmarks
tool: 'pytest'
output-file-path: output.json
alert-threshold: '130%'
comment-on-alert: true
fail-on-alert: true
# GitHub API token to make a commit comment
github-token: ${{ secrets.GITHUB_TOKEN }}
# Make a commit on `gh-pages` only if master
auto-push: ${{ github.ref == 'refs/heads/master' }}
benchmark-data-dir-path: benchmarks
# - name: Store and Compare benchmark result
# uses: benchmark-action/github-action-benchmark@v1
# with:
# name: rio-tiler Benchmarks
# tool: 'pytest'
# output-file-path: output.json
# alert-threshold: '130%'
# comment-on-alert: true
# fail-on-alert: true
# # GitHub API token to make a commit comment
# github-token: ${{ secrets.GITHUB_TOKEN }}
# # Make a commit on `gh-pages` only if master
# auto-push: ${{ github.ref == 'refs/heads/master' }}
# benchmark-data-dir-path: benchmarks

publish:
needs: [tests]
Expand Down
7 changes: 7 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@

# 4.0.0 (TBD)

**breaking changes**

* remove python 3.7 support
* update rasterio requirement to `>=1.3` to allow python 3.10 support

# 3.1.6 (2022-07-22)

* Hide `NotGeoreferencedWarning` warnings in `utils.render` and `utils.resize_array`
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "rio-tiler"
description = "User friendly Rasterio plugin to read raster datasets."
readme = "README.md"
requires-python = ">=3.7"
requires-python = ">=3.8"
license = {file = "LICENSE"}
authors = [
{name = "Vincent Sarago", email = "[email protected]"},
Expand All @@ -12,9 +12,9 @@ classifiers = [
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering :: GIS",
]
dynamic = ["version"]
Expand All @@ -28,7 +28,7 @@ dependencies = [
"morecantile>=3.1,<4.0",
"pydantic",
"pystac>=0.5.4",
"rasterio>=1.1.7",
"rasterio>=1.3.0",
"rio-color",
"importlib_resources>=1.1.0; python_version < '3.9'",
]
Expand Down

0 comments on commit 92ea1ab

Please sign in to comment.