Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ steps:
matrix:
setup:
python:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
nox-session: [""]
runs-on: ["ubuntu-latest"]

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ found at `.buildkite/run-elasticsearch.sh`.

There are several environment variables that control integration tests:

- `PYTHON_VERSION`: Version of Python to use, defaults to `3.9`
- `PYTHON_VERSION`: Version of Python to use, defaults to `3.14`
- `PYTHON_CONNECTION_CLASS`: Connection class to use, defaults to `Urllib3HttpConnection`
- `STACK_VERSION`: Version of Elasticsearch to use. These should be
the same as tags of `docker.elastic.co/elasticsearch/elasticsearch`
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This page guides you through the installation process of the Python client, show

### Requirements [_requirements]

* [Python](https://www.python.org/) 3.9 or newer
* [Python](https://www.python.org/) 3.10 or newer
* [`pip`](https://pip.pypa.io/en/stable/), installed by default alongside Python


Expand Down
2 changes: 1 addition & 1 deletion examples/fastapi-apm/dockerfiles/Dockerfile.app
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9
FROM python:3.10

EXPOSE 9292
WORKDIR /
Expand Down
2 changes: 1 addition & 1 deletion examples/fastapi-apm/dockerfiles/Dockerfile.ping
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9
FROM python:3.10
WORKDIR /
RUN python -m pip install \
--no-cache \
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def pytest_argv():
]


@nox.session(python=["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"])
@nox.session(python=["3.10", "3.11", "3.12", "3.13", "3.14"])
def test(session):
session.install("-e", ".[dev]", env=INSTALL_ENV, silent=False)

Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "elasticsearch"
description = "Python client for Elasticsearch"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.9"
requires-python = ">=3.10"
authors = [
{ name = "Elastic Client Library Maintainers", email = "[email protected]" },
]
Expand All @@ -21,7 +21,6 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand Down
2 changes: 1 addition & 1 deletion utils/generate-examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
def blacken(filename):
runner = CliRunner()
result = runner.invoke(
black.main, [str(filename), "--line-length=75", "--target-version=py37"]
black.main, [str(filename), "--line-length=75", "--target-version=py310"]
)
assert result.exit_code == 0, result.output

Expand Down
2 changes: 1 addition & 1 deletion utils/run-unasync-dsl.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def main(check=False):
output_dirs = []
for dir in source_dirs:
output_dirs.append(f"{dir[0]}_sync_check/" if check else dir[1])
subprocess.check_call(["black", "--target-version=py38", *output_dirs])
subprocess.check_call(["black", "--target-version=py310", *output_dirs])
subprocess.check_call(["isort", *output_dirs])
for dir, output_dir in zip(source_dirs, output_dirs):
for file in glob("*.py", root_dir=dir[0]):
Expand Down