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 7B889158089 for ; Tue, 7 Nov 2023 19:22:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C0B0D2BC024; Tue, 7 Nov 2023 19:22:55 +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 pigeon.gentoo.org (Postfix) with ESMTPS id A99152BC024 for ; Tue, 7 Nov 2023 19:22:55 +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 EE28F335D3A for ; Tue, 7 Nov 2023 19:22:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1AEF11332 for ; Tue, 7 Nov 2023 19:22:52 +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: <1699384964.392e9f23468db1bfd7fdc251b8cd6b78eba14c5e.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.9.0.ebuild X-VCS-Directories: dev-python/nbclient/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 392e9f23468db1bfd7fdc251b8cd6b78eba14c5e X-VCS-Branch: master Date: Tue, 7 Nov 2023 19:22:52 +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: 2fb6750e-92fe-4add-a261-fd8f03fcd740 X-Archives-Hash: bcafbdfa80f4f46b0214fe08bd97468b commit: 392e9f23468db1bfd7fdc251b8cd6b78eba14c5e Author: Michał Górny gentoo org> AuthorDate: Tue Nov 7 19:10:01 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Nov 7 19:22:44 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=392e9f23 dev-python/nbclient: Bump to 0.9.0 Signed-off-by: Michał Górny gentoo.org> dev-python/nbclient/Manifest | 1 + dev-python/nbclient/nbclient-0.9.0.ebuild | 54 +++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/dev-python/nbclient/Manifest b/dev-python/nbclient/Manifest index 483db4d5fc40..f09a845f4a3e 100644 --- a/dev-python/nbclient/Manifest +++ b/dev-python/nbclient/Manifest @@ -1 +1,2 @@ DIST nbclient-0.8.0.gh.tar.gz 79287 BLAKE2B 5147195fa75ae5da620eb44b5b3d360f69275f1590d098757c6f460769bdb62d3eca576a344861e382bf430f97159adbfff46f557c3509d5fe06d269a0302cdc SHA512 f77ecba2f03a8886e8a2335e1d345fcc1d3a1726b458d151a8c78b85c621017cd96f1ef30e4532bf61b89c92aea128a364f5e9677858951f5d070c6206a01816 +DIST nbclient-0.9.0.tar.gz 60606 BLAKE2B a734e317cd71f4199a87af0ea6c7a8a9982c60c4e690eeb99dbe4681ed7d9f8a45ae064bb8b92acf084da722ccbec36bbedb7ddc61577103be1492745f84cd9a SHA512 dc6409e1f765e01978f7e5417269d82c2a001dc9a642f474b4d5cd28e34c969a68ae956aed55df3e82315bd457320e2bd25cbc13af2ea1f59a46f9d327d5eef2 diff --git a/dev-python/nbclient/nbclient-0.9.0.ebuild b/dev-python/nbclient/nbclient-0.9.0.ebuild new file mode 100644 index 000000000000..65800093aa89 --- /dev/null +++ b/dev-python/nbclient/nbclient-0.9.0.ebuild @@ -0,0 +1,54 @@ +# 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_{10..12} ) + +inherit distutils-r1 pypi + +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/ +" + +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.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/ipython[${PYTHON_USEDEP}] + >=dev-python/ipykernel-6.19.3[${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. + local -x PYDEVD_DISABLE_FILE_VALIDATION=1 + epytest +}