Skip to content

Commit dc08c83

Browse files
authored
Initial release of Curator v9.0.0 (#1785)
1 parent 7dd6914 commit dc08c83

39 files changed

+1805
-661
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
2-
ARG PYVER=3.12.9
3-
ARG ALPTAG=3.21
2+
ARG PYVER=3.13.7
3+
ARG ALPTAG=3.22
44
FROM python:${PYVER}-alpine${ALPTAG} AS builder
55

66
# Add the community repo for access to patchelf binary package

curator/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Curator Version"""
22

3-
__version__ = '8.0.21'
3+
__version__ = '9.0.0'

curator/actions/close.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import logging
44
import warnings
5-
from elasticsearch8.exceptions import ElasticsearchWarning
5+
from elasticsearch9.exceptions import ElasticsearchWarning
66
from curator.helpers.testers import verify_index_list
77
from curator.helpers.utils import chunk_index_list, report_failure, show_dry_run, to_csv
88

curator/actions/create_index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import logging
44

55
# pylint: disable=import-error, broad-except
6-
from elasticsearch8.exceptions import RequestError
6+
from elasticsearch9.exceptions import RequestError
77
from curator.exceptions import ConfigurationError, FailedExecution
88
from curator.helpers.date_ops import parse_date_pattern
99
from curator.helpers.utils import report_failure

curator/actions/reindex.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# pylint: disable=broad-except, R0902,R0912,R0913,R0914,R0915
88
from es_client.builder import Builder
9-
from es_client.helpers.utils import ensure_list, verify_url_schema
9+
from es_client.utils import ensure_list, verify_url_schema
1010
from es_client.exceptions import ConfigurationError
1111
from curator.exceptions import CuratorException, FailedExecution, NoIndices
1212

curator/actions/snapshot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import logging
44
import re
5-
from es_client.helpers.utils import ensure_list
5+
from es_client.utils import ensure_list
66
from curator.helpers.date_ops import parse_datemath, parse_date_pattern
77
from curator.helpers.getters import get_indices
88
from curator.helpers.testers import (

curator/classdef.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
import logging
44
from es_client.exceptions import FailedValidation
5-
from es_client.helpers.schemacheck import password_filter
6-
from es_client.helpers.utils import get_yaml
5+
from es_client.schemacheck import password_filter
6+
from es_client.utils import get_yaml
77
from curator import IndexList, SnapshotList
88
from curator.actions import CLASS_MAP
99
from curator.exceptions import ConfigurationError

curator/cli.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
import logging
55
import click
66
from es_client.defaults import OPTION_DEFAULTS
7-
from es_client.helpers.config import (
7+
from es_client.config import (
88
cli_opts,
99
context_settings,
1010
generate_configdict,
1111
get_client,
1212
get_config,
1313
options_from_dict,
1414
)
15-
from es_client.helpers.logging import configure_logging
16-
from es_client.helpers.utils import option_wrapper, prune_nones
15+
from es_client.logging import configure_logging
16+
from es_client.utils import option_wrapper, prune_nones
1717
from curator.exceptions import ClientException
1818
from curator.classdef import ActionsFile
1919
from curator.defaults.settings import (

curator/cli_singletons/object_class.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
from voluptuous import Schema
77
from es_client.builder import Builder
88
from es_client.exceptions import FailedValidation
9-
from es_client.helpers.schemacheck import SchemaCheck
10-
from es_client.helpers.utils import prune_nones
9+
from es_client.schemacheck import SchemaCheck
10+
from es_client.utils import prune_nones
1111
from curator import IndexList, SnapshotList
1212
from curator.actions import (
1313
Alias,

curator/cli_singletons/rollover.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""Index Rollover Singleton"""
22

33
import click
4-
from es_client.helpers.utils import prune_nones
4+
from es_client.utils import prune_nones
55
from curator.cli_singletons.object_class import CLIAction
66
from curator.cli_singletons.utils import json_to_dict
77

0 commit comments

Comments
 (0)