From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B2A3615807B for ; Thu, 10 Oct 2024 16:25:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BF70E2BC084; Thu, 10 Oct 2024 16:25:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 pigeon.gentoo.org (Postfix) with ESMTPS id A894E2BC084 for ; Thu, 10 Oct 2024 16:25:34 +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 CF9F6342FFE for ; Thu, 10 Oct 2024 16:25:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6FEF81F0F for ; Thu, 10 Oct 2024 16:25:32 +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: <1728577504.0b4e6550b48c337788b1e2cc23e6ae811a13b421.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.27.0.ebuild X-VCS-Directories: dev-python/opentelemetry-sdk/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 0b4e6550b48c337788b1e2cc23e6ae811a13b421 X-VCS-Branch: master Date: Thu, 10 Oct 2024 16:25:32 +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: 65256f2a-a8ec-4a8a-9aec-fa80524d544c X-Archives-Hash: 0225f79b4c8cb2c271d4e4120801bc2a commit: 0b4e6550b48c337788b1e2cc23e6ae811a13b421 Author: Michał Górny gentoo org> AuthorDate: Thu Oct 10 15:41:35 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Oct 10 16:25:04 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b4e6550 dev-python/opentelemetry-sdk: Bump to 1.27.0 Signed-off-by: Michał Górny gentoo.org> dev-python/opentelemetry-sdk/Manifest | 1 + .../opentelemetry-sdk-1.27.0.ebuild | 57 ++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/dev-python/opentelemetry-sdk/Manifest b/dev-python/opentelemetry-sdk/Manifest index dc35f6a3f727..2c869a856597 100644 --- a/dev-python/opentelemetry-sdk/Manifest +++ b/dev-python/opentelemetry-sdk/Manifest @@ -1 +1,2 @@ DIST opentelemetry-python-1.24.0.gh.tar.gz 532064 BLAKE2B 3dc13658293d1651d8e441b0c43f539a4e5e9d49d633786cb3f3dbab667b016c88777e0691bac24ca43e7df5f04c8e41a67e9f6991787947d743b1b30b5953cd SHA512 dbae1db127e2aed0a90bb01db6e2865162f945a9e6713f5048c7f56660231a14c3707474f9f65db8759f2f03334c3126d0542c3c8c2e0998d0f7f98ae6e84ef8 +DIST opentelemetry-python-1.27.0.gh.tar.gz 619819 BLAKE2B d861624821cef77cb4cc81a0d04fd9f238f7363122d0fab34433856458bb06f47b7a04022b29dfdbba2d190159e9b2ffe813f0d56ac9473b44c084b764c982e4 SHA512 d8b5a617c7e804b4e6e1b508395e87481a3dcc3b375573110750830a1cf6037cfeb5c09dba3e7cfa472e385dbf619afedd79b1c31c5bfe4e87d44ea65f4d2f0b diff --git a/dev-python/opentelemetry-sdk/opentelemetry-sdk-1.27.0.ebuild b/dev-python/opentelemetry-sdk/opentelemetry-sdk-1.27.0.ebuild new file mode 100644 index 000000000000..1bef5a345191 --- /dev/null +++ b/dev-python/opentelemetry-sdk/opentelemetry-sdk-1.27.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_P="opentelemetry-python-${PV}" + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{11..13} ) + +inherit distutils-r1 + +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-3.7.4[${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 + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests +}