1
0

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

- Update to 0.3.4
  * Monkeypatch IPythonHandler to find nbclassic's jinja templates
    #77 (@Zsailer)
  * Run JupyterLab browser tests as downstream tests #76 (@Zsailer)
  * add check-release workflow #75 (@Zsailer)
- Release 0.3.3
  * Use Jupyter Packaging and other cleanup #68 (@Zsailer)
  * add missing lines to manifest #72 (@Zsailer)
  * add changelog comments for jupyter-releaser #70 (@Zsailer)
  * add setup.py back to enable jupyter_releaser #69 (@Zsailer)
  * Add workflow to test JupyterLab #67 (@Zsailer)
  * Expose classic notebook's static assets from their original
    endpoints #63 (@Zsailer)
- Release 0.32.2
  * ExtensionManager's link_extension changed call signature #64
    (@athornton)
  * Fix link to the Jupyter Notebook repo in README #62
    (@saiwing-yeung)
- Reenable libalternatives

OBS-URL: https://build.opensuse.org/request/show/931413
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbclassic?expand=0&rev=7
This commit is contained in:
Benjamin Greiner 2021-11-14 17:41:44 +00:00 committed by Git OBS Bridge
parent ea21bbb83e
commit a0aa0ee897
4 changed files with 37 additions and 16 deletions

View File

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

View File

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

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Sun Nov 14 15:53:25 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to 0.3.4
* Monkeypatch IPythonHandler to find nbclassic's jinja templates
#77 (@Zsailer)
* Run JupyterLab browser tests as downstream tests #76 (@Zsailer)
* add check-release workflow #75 (@Zsailer)
- Release 0.3.3
* Use Jupyter Packaging and other cleanup #68 (@Zsailer)
* add missing lines to manifest #72 (@Zsailer)
* add changelog comments for jupyter-releaser #70 (@Zsailer)
* add setup.py back to enable jupyter_releaser #69 (@Zsailer)
* Add workflow to test JupyterLab #67 (@Zsailer)
* Expose classic notebook's static assets from their original
endpoints #63 (@Zsailer)
- Release 0.32.2
* ExtensionManager's link_extension changed call signature #64
(@athornton)
* Fix link to the Jupyter Notebook repo in README #62
(@saiwing-yeung)
- Reenable libalternatives
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 28 19:14:07 UTC 2021 - Ben Greiner <code@bnavigator.de> Thu Oct 28 19:14:07 UTC 2021 - Ben Greiner <code@bnavigator.de>

View File

@ -16,8 +16,7 @@
# #
%bcond_with libalternatives_issue_11_fixed %if 0%{?suse_version} > 1500
%if 0%{?suse_version} > 1500 && %{with libalternatives_issue_11_fixed}
%bcond_without libalternatives %bcond_without libalternatives
%else %else
%bcond_with libalternatives %bcond_with libalternatives
@ -26,21 +25,21 @@
%{?!python_module:%define python_module() python3-%{**}} %{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1 %define skip_python2 1
Name: python-nbclassic Name: python-nbclassic
Version: 0.3.1 Version: 0.3.4
Release: 0 Release: 0
Summary: Jupyter Notebook as a Jupyter Server Extension Summary: Jupyter Notebook as a Jupyter Server Extension
License: BSD-3-Clause License: BSD-3-Clause
URL: https://github.com/jupyterlab/nbclassic URL: https://github.com/jupyterlab/nbclassic
# The github archive has the tests # The github archive has the tests
Source: https://github.com/jupyterlab/nbclassic/archive/%{version}.tar.gz#/nbclassic-%{version}-gh.tar.gz Source: https://github.com/jupyterlab/nbclassic/archive/v%{version}.tar.gz#/nbclassic-%{version}-gh.tar.gz
BuildRequires: %{python_module jupyter_server >= 1.8} BuildRequires: %{python_module jupyter_server >= 1.8 with %python-jupyter_server < 2}
BuildRequires: %{python_module notebook} BuildRequires: %{python_module notebook < 7}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros >= 20210929 BuildRequires: python-rpm-macros >= 20210929
Requires: jupyter-nbclassic = %{version} Requires: jupyter-nbclassic = %{version}
Requires: python-jupyter_server >= 1.8 Requires: python-notebook < 7
Requires: python-notebook Requires: (python-jupyter_server >= 1.8 with python-jupyter_server < 2)
%if %{with libalternatives} %if %{with libalternatives}
Requires: alts Requires: alts
BuildRequires: alts BuildRequires: alts
@ -85,9 +84,9 @@ This package contains the jupyterlab server configuration file
%install %install
%python_install %python_install
install -m 644 -D -t %{buildroot}%{_jupyter_server_confdir} jupyter_server_config.d/*
%python_clone -a %{buildroot}%{_bindir}/jupyter-nbclassic %python_clone -a %{buildroot}%{_bindir}/jupyter-nbclassic
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%jupyter_move_config
%pre %pre
# If libalternatives is used: Removing old update-alternatives entries. # If libalternatives is used: Removing old update-alternatives entries.
@ -100,15 +99,14 @@ install -m 644 -D -t %{buildroot}%{_jupyter_server_confdir} jupyter_server_confi
%python_uninstall_alternative jupyter-nbclassic %python_uninstall_alternative jupyter-nbclassic
%check %check
# suppress color output %pytest nbclassic
rm setup.cfg
%pytest -s
%files %{python_files} %files %{python_files}
%doc README.md %doc README.md
%license LICENSE %license LICENSE
%python_alternative %{_bindir}/jupyter-nbclassic %python_alternative %{_bindir}/jupyter-nbclassic
%{python_sitelib}/ %{python_sitelib}/nbclassic
%{python_sitelib}/nbclassic-%{version}*-info
%files -n jupyter-nbclassic %files -n jupyter-nbclassic
%license LICENSE %license LICENSE