Marcel Telka
2023-12-14 6215a5efb1b4175972147191a785faf96061f178
python/elastic-transport: update to 8.11.0

4 files modified
49 ■■■■ changed files
components/python/elastic-transport/Makefile 5 ●●●●● patch | view | raw | blame | history
components/python/elastic-transport/patches/01-remove-unneeded-requirements.patch 6 ●●●● patch | view | raw | blame | history
components/python/elastic-transport/python-integrate-project.conf 2 ●●● patch | view | raw | blame | history
components/python/elastic-transport/test/results-all.master 36 ●●●● patch | view | raw | blame | history
components/python/elastic-transport/Makefile
@@ -19,14 +19,13 @@
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME =        elastic-transport
HUMAN_VERSION =            8.10.0
COMPONENT_REVISION =        1
HUMAN_VERSION =            8.11.0
COMPONENT_SUMMARY =        elastic-transport - Transport classes and utilities shared among Python Elastic client libraries
COMPONENT_PROJECT_URL =        https://github.com/elastic/elastic-transport-python
COMPONENT_ARCHIVE_URL =        \
    https://github.com/elastic/elastic-transport-python/archive/refs/tags/v$(HUMAN_VERSION).tar.gz
COMPONENT_ARCHIVE_HASH =    \
    sha256:a93e2d53ca09127fdd6dafd7e571866e296e563d3fb77957320be5b501947e91
    sha256:8b73854dd39b1c282abfb0680f064edb84c6905a3d210f88d84c8fbdd80f289c
COMPONENT_LICENSE =        Apache-2.0
COMPONENT_LICENSE_FILE =    LICENSE
components/python/elastic-transport/patches/01-remove-unneeded-requirements.patch
@@ -1,8 +1,8 @@
We do not have furo packaged and it is not needed to run tests.
--- elastic-transport-python-8.10.0/setup.py.orig
+++ elastic-transport-python-8.10.0/setup.py
@@ -67,7 +67,6 @@
--- elastic-transport-python-8.11.0/setup.py.orig
+++ elastic-transport-python-8.11.0/setup.py
@@ -69,7 +69,6 @@
             "aiohttp",
             # Override Read the Docs default (sphinx<2)
             "sphinx>2",
components/python/elastic-transport/python-integrate-project.conf
@@ -16,7 +16,7 @@
%patch% 01-remove-unneeded-requirements.patch
%hook-begin%
# https://github.com/elastic/elastic-transport-python/issues/119
# https://github.com/elastic/elastic-transport-python/issues/134
DOWNLOAD_URL='https://github.com/elastic/elastic-transport-python/archive/refs/tags/v$(HUMAN_VERSION).tar.gz'
%include-2%
components/python/elastic-transport/test/results-all.master
@@ -4,7 +4,7 @@
rootdir: $(@D)
configfile: setup.cfg
asyncio: mode=strict
collecting ... collected 412 items
collecting ... collected 414 items
tests/async_/test_async_transport.py::test_async_transport_httpbin PASSED
tests/async_/test_async_transport.py::test_body_bytes_get_passed_untouched PASSED
@@ -220,6 +220,8 @@
tests/test_client_utils.py::test_url_to_node_config[http://localhost:3002-http://localhost:3002-] PASSED
tests/test_client_utils.py::test_url_to_node_config[http://localhost:3002/url-prefix/-http://localhost:3002/url-prefix-/url-prefix] PASSED
tests/test_client_utils.py::test_url_to_node_config[https://[::1]:0/-https://[::1]:0-] PASSED
tests/test_client_utils.py::test_url_to_node_config[https://localhost-https://localhost:443-] PASSED
tests/test_client_utils.py::test_url_to_node_config[https://localhost/url-prefix-https://localhost:443/url-prefix-/url-prefix] PASSED
tests/test_client_utils.py::test_url_to_node_config_error_missing_component[[::1]/url-prefix/] PASSED
tests/test_client_utils.py::test_url_to_node_config_error_missing_component[[::1]:3002/url-prefix] PASSED
tests/test_client_utils.py::test_url_to_node_config_error_missing_component[[::1]:3002] PASSED
@@ -421,65 +423,65 @@
=============================== warnings summary ===============================
tests/async_/test_async_transport.py::test_kwargs_passed_on_to_node_pool
  tests/async_/test_async_transport.py:115: PytestWarning: The test <Function test_kwargs_passed_on_to_node_pool> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove asyncio marker. If the test is not marked explicitly, check for global markers applied via 'pytestmark'.
  tests/async_/test_async_transport.py:115: PytestWarning: The test <Function test_kwargs_passed_on_to_node_pool> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'.
    def test_kwargs_passed_on_to_node_pool():
tests/async_/test_async_transport.py::test_transport_and_node_are_async[urllib3]
  tests/async_/test_async_transport.py:350: PytestWarning: The test <Function test_transport_and_node_are_async[urllib3]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove asyncio marker. If the test is not marked explicitly, check for global markers applied via 'pytestmark'.
  tests/async_/test_async_transport.py:350: PytestWarning: The test <Function test_transport_and_node_are_async[urllib3]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'.
    @pytest.mark.parametrize(
tests/async_/test_async_transport.py::test_transport_and_node_are_async[requests]
  tests/async_/test_async_transport.py:350: PytestWarning: The test <Function test_transport_and_node_are_async[requests]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove asyncio marker. If the test is not marked explicitly, check for global markers applied via 'pytestmark'.
  tests/async_/test_async_transport.py:350: PytestWarning: The test <Function test_transport_and_node_are_async[requests]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'.
    @pytest.mark.parametrize(
tests/async_/test_async_transport.py::test_transport_and_node_are_async[Urllib3HttpNode]
  tests/async_/test_async_transport.py:350: PytestWarning: The test <Function test_transport_and_node_are_async[Urllib3HttpNode]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove asyncio marker. If the test is not marked explicitly, check for global markers applied via 'pytestmark'.
  tests/async_/test_async_transport.py:350: PytestWarning: The test <Function test_transport_and_node_are_async[Urllib3HttpNode]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'.
    @pytest.mark.parametrize(
tests/async_/test_async_transport.py::test_transport_and_node_are_async[RequestsHttpNode]
  tests/async_/test_async_transport.py:350: PytestWarning: The test <Function test_transport_and_node_are_async[RequestsHttpNode]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove asyncio marker. If the test is not marked explicitly, check for global markers applied via 'pytestmark'.
  tests/async_/test_async_transport.py:350: PytestWarning: The test <Function test_transport_and_node_are_async[RequestsHttpNode]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'.
    @pytest.mark.parametrize(
tests/node/test_http_aiohttp.py::test_repr
  tests/node/test_http_aiohttp.py:368: PytestWarning: The test <Function test_repr> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove asyncio marker. If the test is not marked explicitly, check for global markers applied via 'pytestmark'.
  tests/node/test_http_aiohttp.py:368: PytestWarning: The test <Function test_repr> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'.
    def test_repr():
tests/node/test_tls_versions.py::test_ssl_version_value_error[0-AiohttpHttpNode]
  tests/node/test_tls_versions.py:124: PytestWarning: The test <Function test_ssl_version_value_error[0-AiohttpHttpNode]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove asyncio marker. If the test is not marked explicitly, check for global markers applied via 'pytestmark'.
  tests/node/test_tls_versions.py:124: PytestWarning: The test <Function test_ssl_version_value_error[0-AiohttpHttpNode]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'.
    @node_classes
tests/node/test_tls_versions.py::test_ssl_version_value_error[0-Urllib3HttpNode]
  tests/node/test_tls_versions.py:124: PytestWarning: The test <Function test_ssl_version_value_error[0-Urllib3HttpNode]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove asyncio marker. If the test is not marked explicitly, check for global markers applied via 'pytestmark'.
  tests/node/test_tls_versions.py:124: PytestWarning: The test <Function test_ssl_version_value_error[0-Urllib3HttpNode]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'.
    @node_classes
tests/node/test_tls_versions.py::test_ssl_version_value_error[0-RequestsHttpNode]
  tests/node/test_tls_versions.py:124: PytestWarning: The test <Function test_ssl_version_value_error[0-RequestsHttpNode]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove asyncio marker. If the test is not marked explicitly, check for global markers applied via 'pytestmark'.
  tests/node/test_tls_versions.py:124: PytestWarning: The test <Function test_ssl_version_value_error[0-RequestsHttpNode]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'.
    @node_classes
tests/node/test_tls_versions.py::test_ssl_version_value_error[TLSv1-AiohttpHttpNode]
  tests/node/test_tls_versions.py:124: PytestWarning: The test <Function test_ssl_version_value_error[TLSv1-AiohttpHttpNode]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove asyncio marker. If the test is not marked explicitly, check for global markers applied via 'pytestmark'.
  tests/node/test_tls_versions.py:124: PytestWarning: The test <Function test_ssl_version_value_error[TLSv1-AiohttpHttpNode]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'.
    @node_classes
tests/node/test_tls_versions.py::test_ssl_version_value_error[TLSv1-Urllib3HttpNode]
  tests/node/test_tls_versions.py:124: PytestWarning: The test <Function test_ssl_version_value_error[TLSv1-Urllib3HttpNode]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove asyncio marker. If the test is not marked explicitly, check for global markers applied via 'pytestmark'.
  tests/node/test_tls_versions.py:124: PytestWarning: The test <Function test_ssl_version_value_error[TLSv1-Urllib3HttpNode]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'.
    @node_classes
tests/node/test_tls_versions.py::test_ssl_version_value_error[TLSv1-RequestsHttpNode]
  tests/node/test_tls_versions.py:124: PytestWarning: The test <Function test_ssl_version_value_error[TLSv1-RequestsHttpNode]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove asyncio marker. If the test is not marked explicitly, check for global markers applied via 'pytestmark'.
  tests/node/test_tls_versions.py:124: PytestWarning: The test <Function test_ssl_version_value_error[TLSv1-RequestsHttpNode]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'.
    @node_classes
tests/node/test_tls_versions.py::test_ssl_version_value_error[ssl_version2-AiohttpHttpNode]
  tests/node/test_tls_versions.py:124: PytestWarning: The test <Function test_ssl_version_value_error[ssl_version2-AiohttpHttpNode]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove asyncio marker. If the test is not marked explicitly, check for global markers applied via 'pytestmark'.
  tests/node/test_tls_versions.py:124: PytestWarning: The test <Function test_ssl_version_value_error[ssl_version2-AiohttpHttpNode]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'.
    @node_classes
tests/node/test_tls_versions.py::test_ssl_version_value_error[ssl_version2-Urllib3HttpNode]
  tests/node/test_tls_versions.py:124: PytestWarning: The test <Function test_ssl_version_value_error[ssl_version2-Urllib3HttpNode]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove asyncio marker. If the test is not marked explicitly, check for global markers applied via 'pytestmark'.
  tests/node/test_tls_versions.py:124: PytestWarning: The test <Function test_ssl_version_value_error[ssl_version2-Urllib3HttpNode]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'.
    @node_classes
tests/node/test_tls_versions.py::test_ssl_version_value_error[ssl_version2-RequestsHttpNode]
  tests/node/test_tls_versions.py:124: PytestWarning: The test <Function test_ssl_version_value_error[ssl_version2-RequestsHttpNode]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove asyncio marker. If the test is not marked explicitly, check for global markers applied via 'pytestmark'.
  tests/node/test_tls_versions.py:124: PytestWarning: The test <Function test_ssl_version_value_error[ssl_version2-RequestsHttpNode]> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'.
    @node_classes
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======== 400 passed, 10 skipped, 2 xfailed, 15 warnings ========
======== 402 passed, 10 skipped, 2 xfailed, 15 warnings ========