From e7e53ee953baf10227017c1cef3f36bc83ec2b35 Mon Sep 17 00:00:00 2001 From: Mo Date: Thu, 13 Mar 2025 20:43:28 +0100 Subject: [PATCH 1/6] change the typing_extensions version to make this stack compatible with py3.13 --- stac_fastapi/core/setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stac_fastapi/core/setup.py b/stac_fastapi/core/setup.py index 23798e946..f0c2d32b8 100644 --- a/stac_fastapi/core/setup.py +++ b/stac_fastapi/core/setup.py @@ -8,7 +8,7 @@ install_requires = [ "fastapi-slim", "attrs>=23.2.0", - "pydantic[dotenv]", + "pydantic", "stac_pydantic>=3", "stac-fastapi.types==3.0.0", "stac-fastapi.api==3.0.0", @@ -17,7 +17,7 @@ "overrides", "geojson-pydantic", "pygeofilter==0.3.1", - "typing_extensions==4.8.0", + "typing_extensions>=4.8.0", "jsonschema", "slowapi==0.1.9", ] From f1effa9d99fd6d70d799fea2416cc45bf2918fbf Mon Sep 17 00:00:00 2001 From: Mo Date: Thu, 13 Mar 2025 20:47:26 +0100 Subject: [PATCH 2/6] remove typing_extensions --- stac_fastapi/core/setup.py | 1 - 1 file changed, 1 deletion(-) diff --git a/stac_fastapi/core/setup.py b/stac_fastapi/core/setup.py index f0c2d32b8..244e8a357 100644 --- a/stac_fastapi/core/setup.py +++ b/stac_fastapi/core/setup.py @@ -17,7 +17,6 @@ "overrides", "geojson-pydantic", "pygeofilter==0.3.1", - "typing_extensions>=4.8.0", "jsonschema", "slowapi==0.1.9", ] From 70666c56ac34b2d8efcd8aaa8fb405b4dc559364 Mon Sep 17 00:00:00 2001 From: Mo Date: Thu, 13 Mar 2025 20:51:55 +0100 Subject: [PATCH 3/6] force the ci to run test on each push on each branch --- .github/workflows/cicd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 7e8ddeba8..3646d8010 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -3,7 +3,7 @@ name: sfeos on: push: branches: - - main + - '*' pull_request: branches: - main From 15cd149222fabf1d3a2be98ac7182e7518d9a940 Mon Sep 17 00:00:00 2001 From: Mo Date: Thu, 13 Mar 2025 20:52:48 +0100 Subject: [PATCH 4/6] added 3.13 into the matrix --- .github/workflows/cicd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 3646d8010..1e4c17bee 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -65,7 +65,7 @@ jobs: strategy: matrix: - python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] backend: [ "elasticsearch7", "elasticsearch8", "opensearch"] name: Python ${{ matrix.python-version }} testing with ${{ matrix.backend }} From af0871b4676efdf27b61e1fdb7af53e675e19911 Mon Sep 17 00:00:00 2001 From: Mo Date: Thu, 13 Mar 2025 20:56:41 +0100 Subject: [PATCH 5/6] role the branch back to main --- .github/workflows/cicd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 1e4c17bee..a966248b4 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -3,7 +3,7 @@ name: sfeos on: push: branches: - - '*' + - main pull_request: branches: - main From b9995a25bbadac3f4f8cb8749077fd6b3e8618af Mon Sep 17 00:00:00 2001 From: Mo Date: Fri, 14 Mar 2025 07:55:47 +0100 Subject: [PATCH 6/6] fix req changes --- CHANGELOG.md | 4 ++++ stac_fastapi/core/setup.py | 1 + stac_fastapi/elasticsearch/setup.py | 1 + stac_fastapi/opensearch/setup.py | 1 + 4 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a9a3de6bf..87d821776 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Changed +## untitled - 2025-03-14 + +- Support python 3.13 in STAC FastiAPI Core, Opensearch and ElasticSearch + ## [v3.2.3] - 2025-02-11 - Added note on the use of the default `*` use in route authentication dependecies. [#325](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/325) diff --git a/stac_fastapi/core/setup.py b/stac_fastapi/core/setup.py index 244e8a357..01191c1be 100644 --- a/stac_fastapi/core/setup.py +++ b/stac_fastapi/core/setup.py @@ -36,6 +36,7 @@ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "License :: OSI Approved :: MIT License", ], url="https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch", diff --git a/stac_fastapi/elasticsearch/setup.py b/stac_fastapi/elasticsearch/setup.py index ec43d6b3c..90a70cfc7 100644 --- a/stac_fastapi/elasticsearch/setup.py +++ b/stac_fastapi/elasticsearch/setup.py @@ -42,6 +42,7 @@ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "License :: OSI Approved :: MIT License", ], url="https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch", diff --git a/stac_fastapi/opensearch/setup.py b/stac_fastapi/opensearch/setup.py index fea1f75d4..dec3f7631 100644 --- a/stac_fastapi/opensearch/setup.py +++ b/stac_fastapi/opensearch/setup.py @@ -42,6 +42,7 @@ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "License :: OSI Approved :: MIT License", ], url="https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch",