diff --git a/0001-modify-the-operator-of-version-required-to-gt.patch b/0001-modify-the-operator-of-version-required-to-gt.patch deleted file mode 100644 index 4956c3d2a7f2cca96d5acc78e499eba406e527bb..0000000000000000000000000000000000000000 --- a/0001-modify-the-operator-of-version-required-to-gt.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 0fbc3a7c037caa26d7aea43da327ec1474a5ec89 Mon Sep 17 00:00:00 2001 -From: desert-sailor -Date: Wed, 20 Sep 2023 09:43:37 +0800 -Subject: [PATCH] modify the operator of version required to gt - ---- - python/ipywidgets/setup.cfg | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/python/ipywidgets/setup.cfg b/python/ipywidgets/setup.cfg -index 8d83c4d..6342776 100644 ---- a/python/ipywidgets/setup.cfg -+++ b/python/ipywidgets/setup.cfg -@@ -37,8 +37,8 @@ install_requires = - comm>=0.1.3 - ipython>=6.1.0 - traitlets>=4.3.1 -- widgetsnbextension~=4.0.9 -- jupyterlab_widgets~=3.0.9 -+ widgetsnbextension>=4.0.9 -+ jupyterlab_widgets>=3.0.9 - - [options.extras_require] - test = --- -2.33.0 - diff --git a/ipywidgets-8.1.1.tar.gz b/ipywidgets-8.1.5.tar.gz similarity index 48% rename from ipywidgets-8.1.1.tar.gz rename to ipywidgets-8.1.5.tar.gz index 5fab5d036e053f1a28d0855f292f86f0137509cb..82ddc3d527352dd71883124ec1ce6f335f12527b 100644 Binary files a/ipywidgets-8.1.1.tar.gz and b/ipywidgets-8.1.5.tar.gz differ diff --git a/python-ipywidgets.spec b/python-ipywidgets.spec index 4704279f364d3f126a7037ebd58dadc27f3c978c..34515b9d4e894b0e72550022976f2438d0aeb443 100644 --- a/python-ipywidgets.spec +++ b/python-ipywidgets.spec @@ -2,7 +2,7 @@ %global pypi_name ipywidgets Name: python-%{pypi_name} -Version: 8.1.1 +Version: 8.1.5 Release: 1 Summary: IPython HTML widgets for Jupyter @@ -10,7 +10,6 @@ License: BSD-3-Clause URL: https://github.com/jupyter-widgets/ipywidgets Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz Source1: lab-info -Patch1: 0001-modify-the-operator-of-version-required-to-gt.patch BuildArch: noarch BuildRequires: python3-devel @@ -57,24 +56,25 @@ A JupyterLab 3.0 extension for Jupyter/IPython widgets. %prep %autosetup -p1 -n %{pypi_name}-%{version} tar xzvf %{SOURCE1} -C ./python/jupyterlab_widgets/ +sed -i 's/\~=/\>=/g' python/ipywidgets/setup.cfg %build mkdir build -cd %{_builddir}/ipywidgets-8.1.1/python/widgetsnbextension +cd %{_builddir}/ipywidgets-%{version}/python/widgetsnbextension %pyproject_build -cp ./build/*.whl %{_builddir}/ipywidgets-8.1.1/build/ -cd %{_builddir}/ipywidgets-8.1.1/python/jupyterlab_widgets +cp ./build/*.whl %{_builddir}/ipywidgets-%{version}/build/ +cd %{_builddir}/ipywidgets-%{version}/python/jupyterlab_widgets %pyproject_build -cp ./build/*.whl %{_builddir}/ipywidgets-8.1.1/build/ -cd %{_builddir}/ipywidgets-8.1.1/python/ipywidgets +cp ./build/*.whl %{_builddir}/ipywidgets-%{version}/build/ +cd %{_builddir}/ipywidgets-%{version}/python/ipywidgets %pyproject_build -cp ./build/*.whl %{_builddir}/ipywidgets-8.1.1/build/ +cp ./build/*.whl %{_builddir}/ipywidgets-%{version}/build/ %install %pyproject_install %check -cd %{_builddir}/ipywidgets-8.1.1/python/ipywidgets +cd %{_builddir}/ipywidgets-%{version}/python/ipywidgets %pytest %files -n python3-%{pypi_name} @@ -98,5 +98,13 @@ cd %{_builddir}/ipywidgets-8.1.1/python/ipywidgets %{_datadir}/jupyter/labextensions/ %changelog +* Tue Oct 29 2024 Dongxing Wang - 8.1.5-1 +- Update package to version 8.1.5 + More Phosphor backward compatibility + Allow interact to use basic type hint annotations + Support horizontal orientation of radio buttons + Add support for widgets in JupyterLab code consoles + Add return to pack_models + * Mon Sep 11 2023 Dongxing Wang - 8.1.1-1 - Init pacakage.