diff --git a/.circleci/config.yml b/.circleci/config.yml index 51179b48b..db1dfde86 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -194,18 +194,18 @@ jobs: password: $DOCKER_HUB_PASSWORD environment: RALPH_APP_DIR: ~/fun/.ralph - - image: elasticsearch:8.1.0 + - image: elasticsearch:8.13.4 auth: username: $DOCKER_HUB_USER password: $DOCKER_HUB_PASSWORD environment: discovery.type: single-node xpack.security.enabled: "false" - - image: mongo:5.0.9 + - image: mongo:7.0.11 auth: username: $DOCKER_HUB_USER password: $DOCKER_HUB_PASSWORD - - image: clickhouse/clickhouse-server:23.1.1.3077-alpine + - image: clickhouse/clickhouse-server:24.5.1.1763-alpine auth: username: $DOCKER_HUB_USER password: $DOCKER_HUB_PASSWORD diff --git a/Dockerfile b/Dockerfile index d08f0c087..c92a9fbfa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # -- Base image -- -FROM python:3.12.0-slim as base +FROM python:3.12.3-slim as base # Upgrade pip to its latest release to speed up dependencies installation RUN pip install --upgrade pip diff --git a/docker-compose.yml b/docker-compose.yml index 144d71ae5..d3803ff64 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -23,7 +23,7 @@ services: # -- backends elasticsearch: - image: elasticsearch:8.1.0 + image: elasticsearch:8.13.4 environment: bootstrap.memory_lock: true discovery.type: single-node @@ -41,7 +41,7 @@ services: retries: 60 mongo: - image: mongo:5.0.9 + image: mongo:7.0.11 ports: - "27017:27017" healthcheck: @@ -50,7 +50,7 @@ services: retries: 60 clickhouse: - image: clickhouse/clickhouse-server:23.1.1.3077-alpine + image: clickhouse/clickhouse-server:24.5.1.1763-alpine environment: CLICKHOUSE_DB: xapi CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT: 1 diff --git a/tests/backends/data/test_async_es.py b/tests/backends/data/test_async_es.py index d03b87bd9..beac410dc 100644 --- a/tests/backends/data/test_async_es.py +++ b/tests/backends/data/test_async_es.py @@ -748,7 +748,7 @@ async def test_backends_data_async_es_write_without_ignore_errors( msg = ( r"1 document\(s\) failed to index. " r"\[\{'index': \{'_index': 'test-index-foo', '_id': '4', 'status': 400, 'error'" - r": \{'type': 'mapper_parsing_exception', 'reason': \"failed to parse field " + r": \{'type': 'document_parsing_exception', 'reason': \"\[1:17\] failed to parse field " r"\[count\] of type \[long\] in document with id '4'. Preview of field's value:" r" 'wrong'\", 'caused_by': \{'type': 'illegal_argument_exception', 'reason': " r"'For input string: \"wrong\"'\}\}, 'data': \{'id': 4, 'count': 'wrong'\}\}\}" diff --git a/tests/backends/data/test_es.py b/tests/backends/data/test_es.py index f559113ee..9022271f1 100644 --- a/tests/backends/data/test_es.py +++ b/tests/backends/data/test_es.py @@ -646,7 +646,7 @@ def test_backends_data_es_write_without_ignore_errors(es, es_backend, caplog): msg = ( r"1 document\(s\) failed to index. " r"\[\{'index': \{'_index': 'test-index-foo', '_id': '4', 'status': 400, 'error'" - r": \{'type': 'mapper_parsing_exception', 'reason': \"failed to parse field " + r": \{'type': 'document_parsing_exception', 'reason': \"\[1:17\] failed to parse field " r"\[count\] of type \[long\] in document with id '4'. Preview of field's value:" r" 'wrong'\", 'caused_by': \{'type': 'illegal_argument_exception', 'reason': " r"'For input string: \"wrong\"'\}\}, 'data': \{'id': 4, 'count': 'wrong'\}\}\}"