diff --git a/notebook_shim-0.1.0.tar.gz b/notebook_shim-0.1.0.tar.gz deleted file mode 100644 index 6be44b6..0000000 --- a/notebook_shim-0.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7897e47a36d92248925a2143e3596f19c60597708f7bef50d81fcd31d7263e85 -size 12275 diff --git a/notebook_shim-0.2.0.tar.gz b/notebook_shim-0.2.0.tar.gz new file mode 100644 index 0000000..58896bd --- /dev/null +++ b/notebook_shim-0.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fdb81febb05932c6d19e44e10382ce05469cac5e1b6e99b49be6159ddb5e4804 +size 12063 diff --git a/python-notebook-shim.changes b/python-notebook-shim.changes index c52c14c..d2e21c2 100644 --- a/python-notebook-shim.changes +++ b/python-notebook-shim.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Oct 26 11:19:48 UTC 2022 - Ben Greiner + +- Update to v0.2 + * raise ceiling on jupyter_server dependency to < 3 #12 + * remove dev version #15 + * switch to hatch build backend #14 +- Remove jupyter subpackage: no config installed anymore + ------------------------------------------------------------------- Sun Jun 5 17:26:42 UTC 2022 - Ben Greiner diff --git a/python-notebook-shim.spec b/python-notebook-shim.spec index 79ec29f..48bd7ea 100644 --- a/python-notebook-shim.spec +++ b/python-notebook-shim.spec @@ -17,22 +17,21 @@ Name: python-notebook-shim -Version: 0.1.0 +Version: 0.2.0 Release: 0 Summary: A shim layer for notebook traits and config License: BSD-3-Clause URL: https://github.com/jupyterlab/notebook_shim Source: https://files.pythonhosted.org/packages/source/n/notebook_shim/notebook_shim-%{version}.tar.gz BuildRequires: %{python_module base >= 3.7} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module hatchling >= 1.0} +BuildRequires: %{python_module pip} BuildRequires: fdupes -BuildRequires: jupyter-rpm-macros BuildRequires: python-rpm-macros -Requires: (python-jupyter_server >= 1.8 with python-jupyter_server < 2) -Requires: jupyter-notebook-shim = %{version} +Requires: (python-jupyter_server >= 1.8 with python-jupyter_server < 3) Provides: python-notebook_shim = %{version}-%{release} BuildArch: noarch -BuildRequires: %{python_module jupyter_server >= 1.8 with %python-jupyter_server < 2} +BuildRequires: %{python_module jupyter_server >= 1.8 with %python-jupyter_server < 3} BuildRequires: %{python_module pytest-console-scripts} BuildRequires: %{python_module pytest-tornasync} BuildRequires: %{python_module pytest} @@ -42,28 +41,18 @@ BuildRequires: %{python_module pytest} This project provides a way for JupyterLab and other frontends to switch to Jupyter Server for their Python Web application backend. -%package -n jupyter-notebook-shim -Summary: The configuration file for python-notebook-shim -Provides: juypter-notebook_shim = %{version}-%{release} - -%description -n jupyter-notebook-shim -This project provides a way for JupyterLab and other frontends to switch to -Jupyter Server for their Python Web application backend. Common configuration -file - %prep %setup -q -n notebook_shim-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# gh#jupyter/notebook_shim#8 -#pytest notebook_shim +%pytest notebook_shim %files %{python_files} %license LICENSE @@ -71,7 +60,4 @@ file %{python_sitelib}/notebook_shim %{python_sitelib}/notebook_shim-%{version}*-info -%files -n jupyter-notebook-shim -%_jupyter_config %{_jupyter_server_confdir}/notebook_shim.json - %changelog