diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7cfd56ed..5938cbb2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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] diff --git a/CHANGES.md b/CHANGES.md index e207d274..26f44ca6 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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` diff --git a/pyproject.toml b/pyproject.toml index 66740332..6856d248 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 = "vincent@developmentseed.com"}, @@ -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"] @@ -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'", ]