You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update Elasticsearch version in cicd, elasticsearch[async] python library (#688)
**Related Issue(s):**
- None
**Description:**
This PR updates the project’s Elasticsearch runtime version used in
local dev and CI, loosens the Python Elasticsearch client constraint,
and simplifies the CI workflow setup to use direct `pip` + `pytest`
instead of `pipenv`.
**Changes:**
- Bump Elasticsearch Docker image version (Compose + GitHub Actions
service) to `9.3.2`.
- Update Python dependency constraint for `elasticsearch[async]` to
allow a wider range (`>=8.19.1,<9.4.0`).
- Simplify `.github/workflows/cicd.yml` by removing `pipenv` and
streamlining install/test steps.
**PR Checklist:**
- [x] Code is formatted and linted (run `pre-commit run --all-files`)
- [x] Tests pass (run `make test`)
- [x] Documentation has been updated to reflect changes, if applicable
- [x] Changes are added to the changelog
---------
Co-authored-by: Copilot <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
23
23
24
24
### Updated
25
25
26
+
- Updated Elasticsearch version in CI/CD compose.yml to 9.3.2 from 8.19.5 [#688](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/688)
27
+
- Updated `elasticsearch[async]` Python dependency from ~=8.19.1 to >=8.19.1,<9.4.0 [#688](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/688)
28
+
- Simplified, cleaned up CI/CD GitHub workflow in `cicd.yml`[#688](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/688)
26
29
- Updated, loosened fastapi, uvicorn and starlette libraries and moved shared deps to core. [#687](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/687)
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -669,7 +669,7 @@ There are two main ways to run the API locally:
669
669
670
670
-**Configuration**: By default, Docker Compose uses Elasticsearch 8.x and OpenSearch 3.5.0. To use different versions, create a `.env` file:
671
671
```shell
672
-
ELASTICSEARCH_VERSION=8.11.0
672
+
ELASTICSEARCH_VERSION=9.3.2
673
673
OPENSEARCH_VERSION=3.5.0
674
674
ENABLE_DIRECT_RESPONSE=false
675
675
```
@@ -704,7 +704,7 @@ You can customize additional settings in your `.env` file:
704
704
|`ES_API_KEY`| API Key for external Elasticsearch/OpenSearch. | N/A | Optional |
705
705
|`ES_TIMEOUT`| Client timeout for Elasticsearch/OpenSearch. | DB client default | Optional |
706
706
|`BACKEND`| Tests-related variable |`elasticsearch` or `opensearch` based on the backend | Optional |
707
-
|`ELASTICSEARCH_VERSION`| Version of Elasticsearch to use. |`8.11.0`| Optional |
707
+
|`ELASTICSEARCH_VERSION`| Version of Elasticsearch to use. |`9.3.2`| Optional |
708
708
|`OPENSEARCH_VERSION`| OpenSearch version |`3.5.0`| Optional |
709
709
|`RETRY_MAX_ATTEMPTS_CONNECTION_ERROR`| Specifies the maximum number of retry attempts for connection errors (ConnectionError, ConnectionTimeout) before giving up. |`5`| Optional |
710
710
|`RETRY_MAX_ATTEMPTS_NOT_FOUND_ERROR`| Specifies the maximum number of retry attempts for `IndexNotFoundException` error before giving up. This is particularly useful for datetime-based index searches where indices may need to be refreshed. |`3`| Optional |
0 commit comments