1
0

Updating link to change in openSUSE:Factory/python-nbclient revision 26

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbclient?expand=0&rev=0d5e4af2a56a47c03b0cf446f0136dcf
This commit is contained in:
OBS User buildservice-autocommit 2023-01-08 20:25:51 +00:00 committed by Git OBS Bridge
parent 53309dd9b2
commit e50ea15961
4 changed files with 33 additions and 18 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a1d844efd6da9bc39d2209bf996dbd8e07bf0f36b796edfabaa8f8a9ab77c3aa
size 79032

3
nbclient-0.7.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:884a3f4a8c4fc24bb9302f263e0af47d97f0d01fe11ba714171b320c8ac09547
size 59103

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sun Jan 8 09:32:12 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 0.7.2
* Allow space after In #264 (@davidbrochart)
* Fix jupyter_core pinning #263 (@davidbrochart)
* Update README, add Python 3.11 #260 (@davidbrochart)
- Release 0.7.1
* Remove nest-asyncio #259 (@davidbrochart)
- Use PEP517 hatchling build
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Oct 9 17:10:22 UTC 2022 - Arun Persaud <arun@gmx.de> Sun Oct 9 17:10:22 UTC 2022 - Arun Persaud <arun@gmx.de>

View File

@ -1,7 +1,7 @@
# #
# spec file # spec file
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -29,21 +29,23 @@
%else %else
%bcond_with libalternatives %bcond_with libalternatives
%endif %endif
Name: python-nbclient%{psuffix} Name: python-nbclient%{psuffix}
Version: 0.7.0 Version: 0.7.2
Release: 0 Release: 0
Summary: A client library for executing notebooks Summary: A client library for executing notebooks
License: BSD-3-Clause License: BSD-3-Clause
URL: https://github.com/jupyter/nbclient URL: https://github.com/jupyter/nbclient
Source: https://files.pythonhosted.org/packages/source/n/nbclient/nbclient-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/n/nbclient/nbclient-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module setuptools >= 38.6.0} BuildRequires: %{python_module hatchling >= 1.10.0}
BuildRequires: %{python_module pip}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-jupyter-client >= 6.1.5 Requires: python-jupyter-client >= 6.1.12
Requires: python-nbformat >= 5.0 Requires: python-nbformat >= 5.1
Requires: python-nest-asyncio Requires: python-traitlets >= 5.3
Requires: python-traitlets >= 5.2.2 Requires: ((python-jupyter-core >= 4.12 with python-jupyter-core < 5) or python-jupyter-core >= 5.1)
BuildArch: noarch BuildArch: noarch
%if %{with libalternatives} %if %{with libalternatives}
BuildRequires: alts BuildRequires: alts
@ -57,7 +59,8 @@ BuildRequires: %{python_module ipykernel}
BuildRequires: %{python_module ipython} BuildRequires: %{python_module ipython}
BuildRequires: %{python_module ipywidgets} BuildRequires: %{python_module ipywidgets}
BuildRequires: %{python_module nbclient = %{version}} BuildRequires: %{python_module nbclient = %{version}}
BuildRequires: %{python_module pytest >= 4.1} BuildRequires: %{python_module nbconvert >= 7}
BuildRequires: %{python_module pytest >= 7}
BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module testpath} BuildRequires: %{python_module testpath}
BuildRequires: %{python_module xmltodict} BuildRequires: %{python_module xmltodict}
@ -72,13 +75,14 @@ NBClient is a tool for parameterizing andexecuting Jupyter Notebooks.
%prep %prep
%setup -q -n nbclient-%{version} %setup -q -n nbclient-%{version}
sed -i 's/--color=yes//' pyproject.toml
%build
%python_build
%if ! %{with test} %if ! %{with test}
%build
%pyproject_wheel
%install %install
%python_install %pyproject_install
%python_clone -a %{buildroot}%{_bindir}/jupyter-execute %python_clone -a %{buildroot}%{_bindir}/jupyter-execute
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif %endif
@ -91,7 +95,7 @@ donttest="parallel_notebooks"
# https://github.com/jupyter/nbclient/issues/189 # https://github.com/jupyter/nbclient/issues/189
donttest+=" or (test_run_all_notebooks and (opts6 or opts8 or opts9))" donttest+=" or (test_run_all_notebooks and (opts6 or opts8 or opts9))"
# extra -v for more verbose error diffs # extra -v for more verbose error diffs
%pytest -v -k "not ($donttest)" --asyncio-mode=auto %pytest -v -k "not ($donttest)"
%endif %endif
%if ! %{with test} %if ! %{with test}
@ -105,11 +109,11 @@ donttest+=" or (test_run_all_notebooks and (opts6 or opts8 or opts9))"
%python_uninstall_alternative jupyter-execute %python_uninstall_alternative jupyter-execute
%files %{python_files} %files %{python_files}
%doc CHANGELOG.md README.md %doc README.md
%license LICENSE %license LICENSE
%python_alternative %{_bindir}/jupyter-execute %python_alternative %{_bindir}/jupyter-execute
%{python_sitelib}/nbclient %{python_sitelib}/nbclient
%{python_sitelib}/nbclient-%{version}*-info/ %{python_sitelib}/nbclient-%{version}.dist-info/
%endif %endif
%changelog %changelog