diff --git a/.ci/test-matrix.yml b/.ci/test-matrix.yml index 94b1f89b..8bc2b865 100755 --- a/.ci/test-matrix.yml +++ b/.ci/test-matrix.yml @@ -1,18 +1,18 @@ STACK_VERSION: - - 7.x-SNAPSHOT + - 7.13-SNAPSHOT TEST_SUITE: - platinum PYTHON_VERSION: - - 2.7 - - 3.4 - - 3.5 - - 3.6 - - 3.7 - - 3.8 - - 3.9 - - 3.10 + - "2.7" + - "3.4" + - "3.5" + - "3.6" + - "3.7" + - "3.8" + - "3.9" + - "3.10" PYTHON_CONNECTION_CLASS: - Urllib3HttpConnection diff --git a/noxfile.py b/noxfile.py index 4f8d5cc7..6d28cad7 100644 --- a/noxfile.py +++ b/noxfile.py @@ -47,7 +47,7 @@ def format(session): @nox.session() def lint(session): - session.install("flake8", "black", "mypy", "isort") + session.install("flake8", "black", "mypy", "isort", "types-requests") session.run("isort", "--check", "--profile=black", *SOURCE_FILES) session.run("black", "--target-version=py27", "--check", *SOURCE_FILES) diff --git a/test_elasticsearch/test_connection.py b/test_elasticsearch/test_connection.py index 878c661e..f2789157 100644 --- a/test_elasticsearch/test_connection.py +++ b/test_elasticsearch/test_connection.py @@ -188,7 +188,7 @@ class TestBaseConnection(TestCase): conn = Connection() assert ( conn.headers["accept"] - == "application/vnd.elasticsearch+json;compatible-with=8" + == "application/vnd.elasticsearch+json;compatible-with=7" ) finally: os.environ.pop("ELASTIC_CLIENT_APIVERSIONING")