diff --git a/.env.sample b/.env.sample index 3edbe34..ca72eaa 100644 --- a/.env.sample +++ b/.env.sample @@ -21,7 +21,7 @@ ELASTICSEARCH_VERIFY_CERTS=False ELASTICSEARCH_TIMEOUT=600 # Version of Elastic products -STACK_VERSION=8.6.1 +STACK_VERSION=8.17.0 # Set the cluster name CLUSTER_NAME=docker-cluster diff --git a/.env.test b/.env.test index f89b7f7..567bd5b 100644 --- a/.env.test +++ b/.env.test @@ -17,4 +17,4 @@ ELASTICSEARCH_SCHEME=http ELASTICSEARCH_TIMEOUT=600 # Version of Elastic products -STACK_VERSION=8.6.1 +STACK_VERSION=8.17.0 diff --git a/README.md b/README.md index 9fb83d2..a7f027c 100644 --- a/README.md +++ b/README.md @@ -307,9 +307,9 @@ and [`docker-compose`](https://docs.docker.com/compose/install/) installed. ```shell % docker-compose --version -Docker Compose version v2.15.1 +Docker Compose version v2.31.0 % poetry --version -Poetry (version 1.4.0) +Poetry (version 1.8.4) ``` Clone the repo: @@ -334,6 +334,7 @@ docker-compose --env-file=.env.test up -d Run tests (with -s option to allow more verbose output): ```shell +cp .env.test .env # copy the test environment variables poetry run pytest -s ``` diff --git a/docker-compose.yml b/docker-compose.yml index 50e7bc8..31d1677 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,3 @@ -version: '3.9' - services: postgres: image: postgres:15 @@ -22,6 +20,8 @@ services: - xpack.security.enabled=false - discovery.type=single-node - action.auto_create_index=false + - ES_JAVA_OPTS=-XX:UseSVE=0 + - CLI_JAVA_OPTS=-XX:UseSVE=0 ulimits: memlock: soft: -1 diff --git a/pyproject.toml b/pyproject.toml index abb4bc5..709e3d2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ sinker = "sinker.__main__:main" [tool.poetry.dependencies] python = "^3.9" -elasticsearch = "^8.6.1" +elasticsearch = "^8.17.0" environs = ">=9.5,<12.0" psycopg = "^3.1.8" pytest-mock = "^3.10.0"