From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BF70115807A for ; Thu, 05 Jun 2025 03:43:06 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id AC6FD343141 for ; Thu, 05 Jun 2025 03:43:06 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id EDB341104BA; Thu, 05 Jun 2025 03:42:39 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id DC4FE1104BA for ; Thu, 05 Jun 2025 03:42:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 85399343121 for ; Thu, 05 Jun 2025 03:42:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 28A62297C for ; Thu, 05 Jun 2025 03:42:36 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1749094945.a866d66ee4c637f469f9147e45e7ebb4ed35c7ae.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/opentelemetry-sdk/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/opentelemetry-sdk/Manifest dev-python/opentelemetry-sdk/opentelemetry-sdk-1.34.0.ebuild X-VCS-Directories: dev-python/opentelemetry-sdk/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: a866d66ee4c637f469f9147e45e7ebb4ed35c7ae X-VCS-Branch: master Date: Thu, 05 Jun 2025 03:42:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8c0f28c6-7526-4c5f-a63e-3eb4b13dc7d1 X-Archives-Hash: 17aa1468e64472f87c5147f88822e1c2 commit: a866d66ee4c637f469f9147e45e7ebb4ed35c7ae Author: Michał Górny gentoo org> AuthorDate: Thu Jun 5 03:13:47 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Jun 5 03:42:25 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a866d66e dev-python/opentelemetry-sdk: Bump to 1.34.0 Signed-off-by: Michał Górny gentoo.org> dev-python/opentelemetry-sdk/Manifest | 1 + .../opentelemetry-sdk-1.34.0.ebuild | 63 ++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/dev-python/opentelemetry-sdk/Manifest b/dev-python/opentelemetry-sdk/Manifest index dd55a70c0c1d..f7fa38a7385f 100644 --- a/dev-python/opentelemetry-sdk/Manifest +++ b/dev-python/opentelemetry-sdk/Manifest @@ -1 +1,2 @@ DIST opentelemetry-python-1.33.1.gh.tar.gz 1235726 BLAKE2B 13d1ba3667591daef6fe137b959eb04d296392a3d6f3e9944d8a692b483d24629871eae0035ec59002f106dcc4efff055c58b712edb03ee0a8eb829244654e9e SHA512 12152893ba968a7129afd44e7c4b98ab63e35618b1cf7a1724bba41a767b1321eb5ed4c54722bf257b7eb223e60537c0c8acb90e1e1677ac316b54f7748115bd +DIST opentelemetry-python-1.34.0.gh.tar.gz 1225735 BLAKE2B 1b09460a29608f9b0d1eae4a4fc7868dac8a6f91b93503d9709cc58ad8592494d331c92f46b4a6d780082992315f297e4fc018ec5d2b7f3e63ab1e942bb520e9 SHA512 a2e3533471ad4696c19c39fd658e0c5edebbf9c7dd2953e4e92e1d719b015d51c068912a3300123fb80afc71d79c0b19c5bf57668afdfc797b2c1b1b12369870 diff --git a/dev-python/opentelemetry-sdk/opentelemetry-sdk-1.34.0.ebuild b/dev-python/opentelemetry-sdk/opentelemetry-sdk-1.34.0.ebuild new file mode 100644 index 000000000000..1a338bb117d4 --- /dev/null +++ b/dev-python/opentelemetry-sdk/opentelemetry-sdk-1.34.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{11..13} ) + +inherit distutils-r1 + +MY_P="opentelemetry-python-${PV}" +DESCRIPTION="OpenTelemetry Python SDK" +HOMEPAGE=" + https://opentelemetry.io/ + https://pypi.org/project/opentelemetry-sdk/ + https://github.com/open-telemetry/opentelemetry-python/ +" +SRC_URI=" + https://github.com/open-telemetry/opentelemetry-python/archive/refs/tags/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" + +S="${WORKDIR}/${MY_P}/${PN}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + ~dev-python/opentelemetry-api-${PV}[${PYTHON_USEDEP}] + ~dev-python/opentelemetry-semantic-conventions-${PV}[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + ) +" + +# Tests cannot handle xdist with high makeopts +# https://bugs.gentoo.org/928132 +distutils_enable_tests pytest + +python_test() { + cp -a "${BUILD_DIR}"/{install,test} || die + local -x PATH=${BUILD_DIR}/test/usr/bin:${PATH} + + for dep in tests/opentelemetry-test-utils; do + pushd "${WORKDIR}/${MY_P}/${dep}" >/dev/null || die + distutils_pep517_install "${BUILD_DIR}"/test + popd >/dev/null || die + done + + local EPYTEST_DESELECT=( + # TODO + "${PN}"/tests/resources/test_resources.py::TestOTELResourceDetector::test_process_detector + "${PN}"/tests/metrics/integration_test/test_console_exporter.py::TestConsoleExporter::test_console_exporter_with_exemplars + "${PN}"/tests/logs/test_export.py::TestSimpleLogRecordProcessor::test_simple_log_record_processor_shutdown + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests +}