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 CC03115ACFB for ; Wed, 26 Apr 2023 05:36:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C4C8BE0884; Wed, 26 Apr 2023 05:36:50 +0000 (UTC) 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 pigeon.gentoo.org (Postfix) with ESMTPS id AB3A6E0884 for ; Wed, 26 Apr 2023 05:36:50 +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 CCA78335DB1 for ; Wed, 26 Apr 2023 05:36:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B5C0AA5D for ; Wed, 26 Apr 2023 05:36:46 +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: <1682487396.75a0f8955c27f6a681c429539078a89146e23ea6.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/nbclient/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/nbclient/Manifest dev-python/nbclient/nbclient-0.7.4.ebuild X-VCS-Directories: dev-python/nbclient/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 75a0f8955c27f6a681c429539078a89146e23ea6 X-VCS-Branch: master Date: Wed, 26 Apr 2023 05:36:46 +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: 0efb8dc5-a741-4ccf-9538-2a900051221a X-Archives-Hash: 9f00adcf6ee4408c860acccf5f307719 commit: 75a0f8955c27f6a681c429539078a89146e23ea6 Author: Michał Górny gentoo org> AuthorDate: Wed Apr 26 04:46:08 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Apr 26 05:36:36 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75a0f895 dev-python/nbclient: Bump to 0.7.4 Signed-off-by: Michał Górny gentoo.org> dev-python/nbclient/Manifest | 1 + dev-python/nbclient/nbclient-0.7.4.ebuild | 57 +++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/dev-python/nbclient/Manifest b/dev-python/nbclient/Manifest index 6b76d74feb4e..1d405b432119 100644 --- a/dev-python/nbclient/Manifest +++ b/dev-python/nbclient/Manifest @@ -1,2 +1,3 @@ DIST nbclient-0.7.2.gh.tar.gz 76883 BLAKE2B d90b9dd7b15757a44c86084b68b916aab663c0e20a5c1012bda9f86a0ec1104a01cd78d27bc6e510eceeee12f2356a312d8080e1568e4c54dd2e916af85dc304 SHA512 17f1bfbfa156688e895ab1a0d0f74903f43c62a373a40cfcc50a654d86ebbaeb5ed101562716140a3878a9667bb131c49e06caf2e3127160700baf181cd1c29b DIST nbclient-0.7.3.gh.tar.gz 77997 BLAKE2B 613c06596ea0cc970d57115950248cbb052babccec397a9aa543b0058cdb94f797a7c5cf554a9122927a4138f0f06827a77f535fc83a858519873bda0c389230 SHA512 bdd093cafbe6a101de779de2e51d7e2e9abce80fa8ef5b5340b4cb8fb53d0051f6f677006cadaa3a69e727634043b7ab5416777e7cf8e0507d5d1d163016f8d5 +DIST nbclient-0.7.4.gh.tar.gz 79167 BLAKE2B 90b61c55cf25aaa2fed8fd914d799619fefb1353826f7a41320efb732ccf7a44efce944c03d472f9f441a1693bfcdce76e23d0746d62c020e996dc55de7be2b6 SHA512 24cdb1d8b9ffc4899f15490f15d5a41a3e62c52c2b57d8ee768dc93fda08bb6f1a432306a551ece3d031061f790e032c765b0d96225700b2820ca59bc71e9aeb diff --git a/dev-python/nbclient/nbclient-0.7.4.ebuild b/dev-python/nbclient/nbclient-0.7.4.ebuild new file mode 100644 index 000000000000..a634386d779a --- /dev/null +++ b/dev-python/nbclient/nbclient-0.7.4.ebuild @@ -0,0 +1,57 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="A client library for executing Jupyter notebooks" +HOMEPAGE=" + https://nbclient.readthedocs.io/en/latest/ + https://github.com/jupyter/nbclient/ + https://pypi.org/project/nbclient/ +" +SRC_URI=" + https://github.com/jupyter/nbclient/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/jupyter-client-6.1.12[${PYTHON_USEDEP}] + >=dev-python/jupyter-core-5.1.0[${PYTHON_USEDEP}] + >=dev-python/nbformat-5.0[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.3[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/ipywidgets[${PYTHON_USEDEP}] + dev-python/nbconvert[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/testpath[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + nbclient/tests/test_client.py::test_many_parallel_notebooks + 'nbclient/tests/test_client.py::test_run_all_notebooks[Interrupt.ipynb-opts6]' +) + +python_test() { + # The tests run the pydevd debugger, the debugger prints a warning + # in python3.11 when frozen modules are being used. + # This warning makes the tests fail, silence it. + PYDEVD_DISABLE_FILE_VALIDATION=1 epytest +}