From e5dd440162024962703dd9559f5ee83a2fb03176 Mon Sep 17 00:00:00 2001 From: "Dr. Andrew Annex" Date: Fri, 25 Oct 2024 20:15:06 -0700 Subject: [PATCH 1/4] update rio-cogeo for newer morecantile and rasterio --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3ff5020..724a2bd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,8 +21,8 @@ classifiers = [ dynamic = ["version"] dependencies = [ "click>=7.0", - "rasterio>=1.3.3", - "morecantile>=5.0,<6.0", + "rasterio>=1.4.1", + "morecantile>=6.0,<7.0", "pydantic~=2.0", ] From 76420fa95f41c3cf8e26aca5ab085efb4be755ac Mon Sep 17 00:00:00 2001 From: "Dr. Andrew Annex" Date: Sat, 26 Oct 2024 09:52:35 -0700 Subject: [PATCH 2/4] rasterio isn't shipping wheels for 3.8 https://github.com/rasterio/rasterio-wheels/pull/131#issuecomment-2329006933 --- .github/workflows/ci.yml | 1 - .github/workflows/deploy_mkdocs.yml | 4 ++-- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5072d4e..bb893b7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,6 @@ jobs: strategy: matrix: python-version: - - '3.8' - '3.9' - '3.10' - '3.11' diff --git a/.github/workflows/deploy_mkdocs.yml b/.github/workflows/deploy_mkdocs.yml index bfec2c6..762fee1 100644 --- a/.github/workflows/deploy_mkdocs.yml +++ b/.github/workflows/deploy_mkdocs.yml @@ -19,10 +19,10 @@ jobs: - name: Checkout main uses: actions/checkout@v3 - - name: Set up Python 3.8 + - name: Set up Python 3.12 uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: 3.12 - name: Install dependencies run: | diff --git a/pyproject.toml b/pyproject.toml index 724a2bd..b993a3e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ name = "rio-cogeo" description = "Cloud Optimized GeoTIFF (COGEO) creation plugin for rasterio" readme = "README.md" -requires-python = ">=3.8" +requires-python = ">=3.9" license = {file = "LICENSE"} authors = [ {name = "Vincent Sarago", email = "vincent@developmentseed.com"}, From 481563539c2a3077d5af70a5aaf88173f1b9bb26 Mon Sep 17 00:00:00 2001 From: "Dr. Andrew Annex" Date: Mon, 28 Oct 2024 13:15:46 -0700 Subject: [PATCH 3/4] revert not-needed parts, added trove classifier for 3.12 that was missing --- .github/workflows/ci.yml | 1 + .github/workflows/deploy_mkdocs.yml | 4 ++-- pyproject.toml | 5 +++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bb893b7..5072d4e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,6 +17,7 @@ jobs: strategy: matrix: python-version: + - '3.8' - '3.9' - '3.10' - '3.11' diff --git a/.github/workflows/deploy_mkdocs.yml b/.github/workflows/deploy_mkdocs.yml index 762fee1..bfec2c6 100644 --- a/.github/workflows/deploy_mkdocs.yml +++ b/.github/workflows/deploy_mkdocs.yml @@ -19,10 +19,10 @@ jobs: - name: Checkout main uses: actions/checkout@v3 - - name: Set up Python 3.12 + - name: Set up Python 3.8 uses: actions/setup-python@v4 with: - python-version: 3.12 + python-version: 3.8 - name: Install dependencies run: | diff --git a/pyproject.toml b/pyproject.toml index b993a3e..37cb013 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,13 +16,14 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: Scientific/Engineering :: GIS", ] dynamic = ["version"] dependencies = [ "click>=7.0", - "rasterio>=1.4.1", - "morecantile>=6.0,<7.0", + "rasterio>=1.3.3", + "morecantile>=5.0,<7.0", "pydantic~=2.0", ] From dc4083e92ec9846b21a31d72921e83e91ac31a12 Mon Sep 17 00:00:00 2001 From: "Dr. Andrew Annex" Date: Mon, 28 Oct 2024 13:16:13 -0700 Subject: [PATCH 4/4] one last revert --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 37cb013..f91ad57 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ name = "rio-cogeo" description = "Cloud Optimized GeoTIFF (COGEO) creation plugin for rasterio" readme = "README.md" -requires-python = ">=3.9" +requires-python = ">=3.8" license = {file = "LICENSE"} authors = [ {name = "Vincent Sarago", email = "vincent@developmentseed.com"},