commit: 679b67f21b682a823b5c1b2c46ebf764712534ab
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 13 04:34:42 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Aug 13 04:54:55 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=679b67f2
dev-python/elastic-transport: Bump to 8.15.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/elastic-transport/Manifest | 1 +
.../elastic-transport-8.15.0.ebuild | 66 ++++++++++++++++++++++
2 files changed, 67 insertions(+)
diff --git a/dev-python/elastic-transport/Manifest
b/dev-python/elastic-transport/Manifest
index 778fa5921c37..b14b7b5b37c5 100644
--- a/dev-python/elastic-transport/Manifest
+++ b/dev-python/elastic-transport/Manifest
@@ -1 +1,2 @@
DIST elastic-transport-python-8.13.1.gh.tar.gz 76370 BLAKE2B
7f4584953c243547a73ee48c9033dc212a837bf0977f1a2329365805705ce1317bc9fa6e35f22affe9cc8f9b3fd6725b44c8a45dde02ac835195d4a6d33964b1
SHA512
a025b80e86163ee25798aba7ebf75f4c481c4f6cbcda0542ab80c0c9899988fc608ad41a2593a2f0371eb6cde2ca8da8c72dd843a03f9b2312d65bddc903dec4
+DIST elastic-transport-python-8.15.0.gh.tar.gz 76595 BLAKE2B
93330c4e1e2de407c75d34074cd3e0406df80071abc60dee99ef0da8774229f2aeee58b5811aa362a2bee1268a3dea453fdb5bc942eb728af038f6c789cd1e98
SHA512
de1182713e212635bd8536403ffd51dae0c24eba857476dafcc0374b89bf06874068b8907ceeb513068066172ea55c1a27062329441bf624459d6ef188ff66bb
diff --git a/dev-python/elastic-transport/elastic-transport-8.15.0.ebuild
b/dev-python/elastic-transport/elastic-transport-8.15.0.ebuild
new file mode 100644
index 000000000000..ca7d8ebbd930
--- /dev/null
+++ b/dev-python/elastic-transport/elastic-transport-8.15.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit distutils-r1
+
+MY_P=elastic-transport-python-${PV}
+DESCRIPTION="Transport classes and utilities shared among Python Elastic
client libraries"
+HOMEPAGE="
+ https://github.com/elastic/elastic-transport-python/
+ https://pypi.org/project/elastic-transport/
+"
+SRC_URI="
+
https://github.com/elastic/elastic-transport-python/archive/v${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+PROPERTIES="test_network"
+RESTRICT="test"
+
+RDEPEND="
+ dev-python/certifi[${PYTHON_USEDEP}]
+ >=dev-python/urllib3-1.26.2[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/aiohttp[${PYTHON_USEDEP}]
+ dev-python/httpx[${PYTHON_USEDEP}]
+ dev-python/opentelemetry-api[${PYTHON_USEDEP}]
+ dev-python/opentelemetry-sdk[${PYTHON_USEDEP}]
+ dev-python/orjson[${PYTHON_USEDEP}]
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+ dev-python/pytest-httpserver[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/respx[${PYTHON_USEDEP}]
+ dev-python/trustme[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_sphinx docs/sphinx \
+ dev-python/furo \
+ dev-python/sphinx-autodoc-typehints
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # Fails in upstream CI as well as of 8.13.1
+ #
https://github.com/elastic/elastic-transport-python/commit/39488817cd5da824101322e40652d17938f0acac
+
tests/node/test_tls_versions.py::test_unsupported_tls_versions[https://tls-v1-2.badssl.com:1012-772-RequestsHttpNode]
+ # fragile to random warnings
+
tests/node/test_http_aiohttp.py::TestAiohttpHttpNode::test_uses_https_if_verify_certs_is_off
+
tests/node/test_urllib3_chain_certs.py::test_assert_fingerprint_in_cert_chain
+ )
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest -p asyncio -o addopts=
+}