public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/elastic-transport/
Date: Wed, 08 Jan 2025 09:12:39 +0000 (UTC)	[thread overview]
Message-ID: <1736327552.e993ecfb1c06f27a959f62741edf8f3d58d54830.mgorny@gentoo> (raw)

commit:     e993ecfb1c06f27a959f62741edf8f3d58d54830
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  8 08:40:31 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jan  8 09:12:32 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e993ecfb

dev-python/elastic-transport: Bump to 8.17.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/elastic-transport/Manifest              |  1 +
 .../elastic-transport-8.17.0.ebuild                | 68 ++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/dev-python/elastic-transport/Manifest b/dev-python/elastic-transport/Manifest
index 81c3059c388d..69345e449223 100644
--- a/dev-python/elastic-transport/Manifest
+++ b/dev-python/elastic-transport/Manifest
@@ -1 +1,2 @@
 DIST elastic-transport-python-8.15.1.gh.tar.gz 76741 BLAKE2B 83be377cda7cc39ffc8832b8dd07399842608b8350058a846abc753807779baf823642f0c5156b3c0249dfca5cea9b9d4cc613f944c34bdf917356c200222898 SHA512 642d145e7732282fc0a41987ea2b5addb049ae999ce60acbaa1c370430c54fe1f4b86aa642e6dec1bba4bbbc62b95b6ab65e4ccb878c7b6cf2d1ca242d740af0
+DIST elastic-transport-python-8.17.0.gh.tar.gz 77173 BLAKE2B 30b94a7cb4ce7a59278d65525c8c1dcefe86c2f2c69f0536996de505d7b180b966165562a07bd391b975161b89641fe4a101f43931b8f2f6fd95fca4755b14fd SHA512 88c0ff27109b0450317b7e895d10b0e4b1a48643b17a01b787efbe2f058fd46e28a13ac28979d0fea3c9016610ebefc75bcef37777f36fd3c39270b20811511d

diff --git a/dev-python/elastic-transport/elastic-transport-8.17.0.ebuild b/dev-python/elastic-transport/elastic-transport-8.17.0.ebuild
new file mode 100644
index 000000000000..5bd9b9378356
--- /dev/null
+++ b/dev-python/elastic-transport/elastic-transport-8.17.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 2023-2025 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=(
+		# >=aiohttp-3.11 throws DeprecationWarning which cannot be filtered for this test
+		# https://github.com/aio-libs/aiohttp/pull/9726
+		# https://github.com/elastic/elastic-transport-python/pull/61
+		tests/async_/test_httpserver.py::test_simple_request
+		# 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
+	# https://github.com/encode/httpx/discussions/3214#discussioncomment-10830925
+	epytest -p asyncio -o addopts= -k "not (test_unsupported_tls_versions and HttpxAsyncHttpNode)"
+}


             reply	other threads:[~2025-01-08  9:12 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-08  9:12 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-29 10:23 [gentoo-commits] repo/gentoo:master commit in: dev-python/elastic-transport/ Michał Górny
2025-03-29 10:14 Sam James
2025-03-13  9:39 Michał Górny
2025-01-25 10:13 Michał Górny
2025-01-25 10:05 Arthur Zamarin
2024-12-20  8:25 Michał Górny
2024-10-26 13:10 Michał Górny
2024-10-26 13:01 Michał Górny
2024-10-10  5:03 Michał Górny
2024-08-31  9:21 Michał Górny
2024-08-31  7:49 Sam James
2024-08-13  4:55 Michał Górny
2024-07-12 19:26 Michał Górny
2024-06-12  7:42 Michał Górny
2024-06-12  6:48 Arthur Zamarin
2024-05-28 14:30 Michał Górny
2024-04-14 19:10 Michał Górny
2024-04-14 18:55 Arthur Zamarin
2024-04-14 18:55 Arthur Zamarin
2024-04-14 18:27 Arthur Zamarin
2024-04-14 18:02 Arthur Zamarin
2024-04-14  5:15 Joonas Niilola
2024-03-29 15:28 Michał Górny
2024-02-03 11:44 Michał Górny
2024-02-03 11:02 Sam James
2024-01-20 19:54 Arthur Zamarin
2024-01-20 19:54 Arthur Zamarin
2024-01-19 18:28 Arthur Zamarin
2023-12-31  7:17 Michał Górny
2023-12-31  3:49 Sam James
2023-12-30 14:51 Arthur Zamarin
2023-12-30 14:25 Arthur Zamarin
2023-12-14 13:58 Michał Górny
2023-11-24 15:12 Arthur Zamarin
2023-11-11 20:50 Michał Górny
2023-11-11 20:17 Arthur Zamarin
2023-11-11 19:21 Sam James
2023-10-30 18:10 Michał Górny
2023-10-29 19:52 Michał Górny
2023-10-07 16:05 Michał Górny
2023-09-26  4:42 Michał Górny
2023-08-20 17:37 Arthur Zamarin
2023-04-05 14:27 Arthur Zamarin
2023-04-05 14:27 Arthur Zamarin
2023-02-18  7:16 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1736327552.e993ecfb1c06f27a959f62741edf8f3d58d54830.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox