diff --git a/notebook-7.1.1.tar.gz b/notebook-7.1.1.tar.gz deleted file mode 100644 index 165df94d32b25b74fbcb35ed80df14cb84eb94f3..0000000000000000000000000000000000000000 Binary files a/notebook-7.1.1.tar.gz and /dev/null differ diff --git a/notebook-7.4.0.tar.gz b/notebook-7.4.1.tar.gz similarity index 63% rename from notebook-7.4.0.tar.gz rename to notebook-7.4.1.tar.gz index a0719694ad03a25badcc53372fd03f6fa867e87e..f0baba32edf2987c05046f1e2808117a42fe6920 100644 Binary files a/notebook-7.4.0.tar.gz and b/notebook-7.4.1.tar.gz differ diff --git a/python-notebook.spec b/python-notebook.spec index 5b3bd1ca63b022b22587b0ee9b1c62017ba7a95c..43a1c32a3b13d2af5487f4593f8b7e093b7c20be 100644 --- a/python-notebook.spec +++ b/python-notebook.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-notebook -Version: 7.4.0 +Version: 7.4.1 Release: 1 Summary: A web-based notebook environment for interactive computing. License: BSD-3-Clause URL: https://github.com/jupyter/notebook -Source0: https://files.pythonhosted.org/packages/33/7c/2dd051638502268da7a6784ae18bb40c2d7fcbea3581bf14078a168f9960/notebook-7.4.0.tar.gz +Source0: https://files.pythonhosted.org/packages/91/89/1b4636280f01ec948c007e700e24921135b9b76221148a405fd5287c3c17/notebook-7.4.1.tar.gz BuildArch: noarch %description Jupyter Notebook - A web-based notebook environment for interactive computing. @@ -22,6 +22,19 @@ BuildRequires: python3-wheel BuildRequires: python3-hatchling BuildRequires: python3-hatch-jupyter-builder BuildRequires: python3-jupyterlab +# for test +BuildRequires: python3-jupyter-server >= 2.15.0 +BuildRequires: python3-jupyterlab-server >= 2.27.1 +BuildRequires: python3-pytest-jupyter +BuildRequires: python3-requests +BuildRequires: python3-nbval +BuildRequires: python3-pytest-timeout +BuildRequires: python3-pytest-cov +BuildRequires: python3-pytest-tornasync +BuildRequires: python3-pytest-console-scripts +BuildRequires: python3-ipykernel +BuildRequires: desktop-file-utils + %description -n python3-notebook Jupyter Notebook - A web-based notebook environment for interactive computing. @@ -33,6 +46,8 @@ Development documents and examples for notebook. %prep %autosetup -n notebook-%{version} +# Remove all backup files +find ./ -name "*.json.orig" -delete %build %pyproject_build @@ -55,6 +70,10 @@ fi popd mv %{buildroot}/doclist.lst . +%check +%pytest -- -W ignore::DeprecationWarning +desktop-file-validate %{buildroot}%{_datadir}/applications/jupyter-notebook.desktop + %files -n python3-notebook %doc README.md %license LICENSE @@ -71,6 +90,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Fri Apr 25 2025 Dongxing Wang - 7.4.1-1 +- Update package with version 7.4.1 and add check + * Sun Apr 20 2025 Dongxing Wang - 7.4.0-1 - Update package with version 7.4.0 Add support for a down area