Skip to content

Port unit tests over from elasticsearch-py #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Aug 10, 2023
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
11 changes: 1 addition & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,10 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
experimental: [false]
nox-session: [""]
runs-on: ["ubuntu-latest"]
include:
- python-version: 3.6
experimental: false
nox-session: test-3.6
runs-on: "ubuntu-20.04"
- python-version: 3.11-dev
experimental: true
nox-session: test-3.11
runs-on: "ubuntu-latest"

runs-on: ${{ matrix.runs-on }}
name: test-${{ matrix.python-version }}
Expand Down
7 changes: 0 additions & 7 deletions docs/guide/configuration.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,6 @@ Configuring the minimum TLS version to connect to is done via the `ssl_version`
------------------------------------
import ssl

# Python 3.6
es = Elasticsearch(
...,
ssl_version=ssl.PROTOCOL_TSLv1_2
)

# Python 3.7+
es = Elasticsearch(
...,
ssl_version=ssl.TLSVersion.TLSv1_2
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/getting-started.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ operations with it.
[discrete]
=== Requirements

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

[discrete]
Expand Down
Loading