Accepting request 1075688 from home:bnavigator:branches:devel:languages:python:jupyter

- Pin to jupyter-client < 8
  * gh#jupyter/notebook#6748

OBS-URL: https://build.opensuse.org/request/show/1075688
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-notebook?expand=0&rev=58
This commit is contained in:
Benjamin Greiner 2023-03-30 20:13:22 +00:00 committed by Git OBS Bridge
parent 3c39a63db6
commit 4ba3c8076f
2 changed files with 15 additions and 5 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Mar 30 17:50:17 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Pin to jupyter-client < 8
* gh#jupyter/notebook#6748
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Mar 19 16:07:19 UTC 2023 - Ben Greiner <code@bnavigator.de> Sun Mar 19 16:07:19 UTC 2023 - Ben Greiner <code@bnavigator.de>

View File

@ -45,7 +45,9 @@ Source100: python-notebook-rpmlintrc
BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module jupyter-packaging >= 0.9} BuildRequires: %{python_module jupyter-packaging >= 0.9}
BuildRequires: %{python_module nbclassic >= 0.4.0} BuildRequires: %{python_module nbclassic >= 0.4.0}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros >= 20210929 BuildRequires: python-rpm-macros >= 20210929
Requires: jupyter-notebook = %{version} Requires: jupyter-notebook = %{version}
Requires: python-Jinja2 Requires: python-Jinja2
@ -53,11 +55,13 @@ Requires: python-Send2Trash
Requires: python-argon2-cffi Requires: python-argon2-cffi
Requires: python-ipykernel Requires: python-ipykernel
Requires: python-ipython_genutils Requires: python-ipython_genutils
Requires: python-jupyter-client >= 5.3.4 # https://github.com/jupyter/notebook/issues/6748
Requires: (python-jupyter-client >= 5.3.4 with python-jupyter-client < 8)
Requires: python-jupyter-core >= 4.6.1 Requires: python-jupyter-core >= 4.6.1
Requires: python-nbclassic >= 0.4.7 Requires: python-nbclassic >= 0.4.7
Requires: python-nbconvert >= 5 Requires: python-nbconvert >= 5
Requires: python-nbformat Requires: python-nbformat
Requires: python-nest-asyncio >= 1.5
Requires: python-prometheus_client Requires: python-prometheus_client
Requires: python-pyzmq >= 17 Requires: python-pyzmq >= 17
Requires: python-terminado >= 0.8.3 Requires: python-terminado >= 0.8.3
@ -167,12 +171,12 @@ This package pulls in the LaTeX dependencies for the Jupyter Notebook.
# We don't want to run selenium tests # We don't want to run selenium tests
rm -rf notebook/tests/selenium rm -rf notebook/tests/selenium
%if !%{with test}
%build %build
%python_build %pyproject_wheel
%install %install
%if !%{with test} %pyproject_install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
# Install icons # Install icons
@ -244,7 +248,7 @@ fi
%files %{python_files} -f %{python_prefix}-notebook.lang-exclude %files %{python_files} -f %{python_prefix}-notebook.lang-exclude
%doc README.md %doc README.md
%license LICENSE %license LICENSE
%{python_sitelib}/notebook-*-py*.egg-info %{python_sitelib}/notebook-%{version}.dist-info
%{python_sitelib}/notebook/ %{python_sitelib}/notebook/
%python_alternative %{_bindir}/jupyter-bundlerextension %python_alternative %{_bindir}/jupyter-bundlerextension
%python_alternative %{_bindir}/jupyter-nbextension %python_alternative %{_bindir}/jupyter-nbextension