Skip to content

Commit 601d415

Browse files
authored
Port unit tests over from elasticsearch-py (#4)
1 parent e0317d1 commit 601d415

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+7462
-521
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,10 @@ jobs:
3737
strategy:
3838
fail-fast: false
3939
matrix:
40-
python-version: ["3.7", "3.8", "3.9", "3.10"]
40+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
4141
experimental: [false]
4242
nox-session: [""]
4343
runs-on: ["ubuntu-latest"]
44-
include:
45-
- python-version: 3.6
46-
experimental: false
47-
nox-session: test-3.6
48-
runs-on: "ubuntu-20.04"
49-
- python-version: 3.11-dev
50-
experimental: true
51-
nox-session: test-3.11
52-
runs-on: "ubuntu-latest"
5344

5445
runs-on: ${{ matrix.runs-on }}
5546
name: test-${{ matrix.python-version }}

docs/guide/configuration.asciidoc

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,6 @@ Configuring the minimum TLS version to connect to is done via the `ssl_version`
5959
------------------------------------
6060
import ssl
6161
62-
# Python 3.6
63-
es = Elasticsearch(
64-
...,
65-
ssl_version=ssl.PROTOCOL_TSLv1_2
66-
)
67-
68-
# Python 3.7+
6962
es = Elasticsearch(
7063
...,
7164
ssl_version=ssl.TLSVersion.TLSv1_2

docs/guide/getting-started.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ operations with it.
88
[discrete]
99
=== Requirements
1010

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

1414
[discrete]

0 commit comments

Comments
 (0)