[packages/python3-nbclient] - updated to 0.10.4

qboosh qboosh at pld-linux.org
Tue Jun 2 17:28:14 CEST 2026


commit 1691409ba6abcca54c941aa6aa008de841c13251
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Jun 2 17:28:25 2026 +0200

    - updated to 0.10.4

 python3-nbclient.spec | 37 +++++++++++++++++++++++++++++++++----
 1 file changed, 33 insertions(+), 4 deletions(-)
---
diff --git a/python3-nbclient.spec b/python3-nbclient.spec
index ff968d3..686b4a2 100644
--- a/python3-nbclient.spec
+++ b/python3-nbclient.spec
@@ -1,19 +1,38 @@
+#
+# Conditional build:
+%bcond_with	tests	# unit tests (TODO: complete dependencies in PLD)
 
 %define 	module	nbclient
 Summary:	A client library for executing notebooks
+Summary(pl.UTF-8):	Biblioteka kliencka do wykonywania notebooków
 Name:		python3-%{module}
-Version:	0.10.2
+Version:	0.10.4
 Release:	1
-License:	MIT
+License:	BSD
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/nbclient/
 Source0:	https://files.pythonhosted.org/packages/source/n/nbclient/%{module}-%{version}.tar.gz
-# Source0-md5:	f946a5301693923eb4084ef59aaa0233
+# Source0-md5:	1cf883d8b3511c74e732698c984bfeea
 URL:		https://jupyter.org/
 BuildRequires:	python3-build
 BuildRequires:	python3-hatchling >= 1.10.0
 BuildRequires:	python3-installer
-BuildRequires:	python3-modules >= 1:3.9
+BuildRequires:	python3-modules >= 1:3.10.0
+%if %{with tests}
+BuildRequires:	python3-flaky
+BuildRequires:	python3-ipykernel >= 6.19.3
+BuildRequires:	python3-ipython
+BuildRequires:	python3-ipywidgets
+BuildRequires:	python3-jupyter_client >= 6.1.12
+BuildRequires:	python3-jupyter_core >= 5.1
+BuildRequires:	python3-nbconvert >= 7.1.0
+BuildRequires:	python3-nbformat >= 5.1.3
+BuildRequires:	python3-pytest
+BuildRequires:	python3-pytest-asyncio >= 1.3.0
+BuildRequires:	python3-testpath
+BuildRequires:	python3-traitlets >= 5.4
+BuildRequires:	python3-xmltodict
+%endif
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 2.044
 BuildArch:	noarch
@@ -22,12 +41,22 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %description
 A client library for executing notebooks.
 
+%description -l pl.UTF-8
+Biblioteka kliencka do wykonywania notebooków.
+
 %prep
 %setup -q -n %{module}-%{version}
 
 %build
 %py3_build_pyproject
 
+%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTEST_PLUGINS=pytest_asyncio.plugin \
+PYTHONPATH=$(pwd) \
+%{__python3} -m pytest tests
+%endif
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-nbclient.git/commitdiff/1691409ba6abcca54c941aa6aa008de841c13251



More information about the pld-cvs-commit mailing list