Skip to content

Commit 4f3c8a8

Browse files
committed
Upgrade Elasticsearch from 8.6.1 to 8.17.0
- Added UseSVE to docker-compose.yml to work around this issue with the Elasticsearch Docker container
1 parent a784070 commit 4f3c8a8

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

.env.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ELASTICSEARCH_VERIFY_CERTS=False
2121
ELASTICSEARCH_TIMEOUT=600
2222

2323
# Version of Elastic products
24-
STACK_VERSION=8.6.1
24+
STACK_VERSION=8.17.0
2525

2626
# Set the cluster name
2727
CLUSTER_NAME=docker-cluster

.env.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ ELASTICSEARCH_SCHEME=http
1717
ELASTICSEARCH_TIMEOUT=600
1818

1919
# Version of Elastic products
20-
STACK_VERSION=8.6.1
20+
STACK_VERSION=8.17.0

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,9 +307,9 @@ and [`docker-compose`](https://docs.docker.com/compose/install/) installed.
307307

308308
```shell
309309
% docker-compose --version
310-
Docker Compose version v2.15.1
310+
Docker Compose version v2.31.0
311311
% poetry --version
312-
Poetry (version 1.4.0)
312+
Poetry (version 1.8.4)
313313
```
314314

315315
Clone the repo:
@@ -334,6 +334,7 @@ docker-compose --env-file=.env.test up -d
334334
Run tests (with -s option to allow more verbose output):
335335

336336
```shell
337+
cp .env.test .env # copy the test environment variables
337338
poetry run pytest -s
338339
```
339340

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: '3.9'
2-
31
services:
42
postgres:
53
image: postgres:15
@@ -22,6 +20,8 @@ services:
2220
- xpack.security.enabled=false
2321
- discovery.type=single-node
2422
- action.auto_create_index=false
23+
- ES_JAVA_OPTS=-XX:UseSVE=0
24+
- CLI_JAVA_OPTS=-XX:UseSVE=0
2525
ulimits:
2626
memlock:
2727
soft: -1

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ sinker = "sinker.__main__:main"
1111

1212
[tool.poetry.dependencies]
1313
python = "^3.9"
14-
elasticsearch = "^8.6.1"
14+
elasticsearch = "^8.17.0"
1515
environs = ">=9.5,<12.0"
1616
psycopg = "^3.1.8"
1717
pytest-mock = "^3.10.0"

0 commit comments

Comments
 (0)