Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-dash for openSUSE:Factory checked in at 2024-03-07 18:28:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-dash (Old) and /work/SRC/openSUSE:Factory/.python-dash.new.1770 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-dash" Thu Mar 7 18:28:33 2024 rev:17 rq:1155757 version:2.16.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-dash/python-dash.changes 2022-09-29 18:14:19.751369206 +0200 +++ /work/SRC/openSUSE:Factory/.python-dash.new.1770/python-dash.changes 2024-03-07 18:29:04.196246787 +0100 @@ -1,0 +2,14 @@ +Wed Mar 6 21:03:36 UTC 2024 - Ben Greiner <c...@bnavigator.de> + +- Fix truncated version requirement for python3dist(dash) + +------------------------------------------------------------------- +Tue Mar 5 19:40:43 UTC 2024 - Ben Greiner <c...@bnavigator.de> + +- Update to 2.16.0 + * Lots ofchanges since 2.6.2: + https://github.com/plotly/dash/compare/v2.6.2...v2.16.0 +- Skip python39: plotly no longer available (due to ipython) +- Add jupyter-dash package + +------------------------------------------------------------------- Old: ---- dash-2.6.2.tar.gz New: ---- dash-2.16.0.tar.gz python-dash.rpmlintrc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-dash.spec ++++++ --- /var/tmp/diff_new_pack.6Y0EUp/_old 2024-03-07 18:29:04.720266123 +0100 +++ /var/tmp/diff_new_pack.6Y0EUp/_new 2024-03-07 18:29:04.724266271 +0100 @@ -18,45 +18,66 @@ # We can't test currenty, see below. %bcond_with test +%define skip_python39 1 +%define distver 2.16 Name: python-dash -Version: 2.6.2 +Version: 2.16.0 Release: 0 Summary: Python framework for building reactive web-apps License: MIT URL: https://github.com/plotly/dash # PyPI package does not contain unit tests. GitHub does, but we don't test right now Source: https://files.pythonhosted.org/packages/source/d/dash/dash-%{version}.tar.gz +Source99: python-dash.rpmlintrc +BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module Flask >= 1.0.4} -BuildRequires: %{python_module Flask-Compress} BuildRequires: %{python_module dash-core-components = 2.0.0} BuildRequires: %{python_module dash-html-components = 2.0.0} BuildRequires: %{python_module dash-table = 5.0.0} BuildRequires: %{python_module percy} BuildRequires: %{python_module plotly >= 5.0.0} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} +BuildRequires: %{python_module importlib-metadata} +BuildRequires: %{python_module typing-extensions >= 4.1.1} +BuildRequires: %{python_module requests} +BuildRequires: %{python_module retrying} +BuildRequires: %{python_module nest-asyncio} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module Werkzeug} +BuildRequires: %{python_module beautifulsoup4} BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildRequires: jupyter-rpm-macros Requires: python-Flask >= 1.0.4 -Requires: python-Flask-Compress -# dash/testing/dash_page.py -Requires: python-beautifulsoup4 +Requires: python-Werkzeug +Requires: python-importlib-metadata +Requires: python-typing-extensions >= 4.1.1 +Requires: python-requests +Requires: python-retrying +Requires: python-nest-asyncio +Requires: python-setuptools Requires: python-dash-core-components = 2.0.0 Requires: python-dash-html-components = 2.0.0 Requires: python-dash-table = 5.0.0 +Requires: python-plotly >= 5.0.0 +Requires: jupyter-dash = %{version}-%{release} +# SECTION testing extras +# dash/testing/dash_page.py +Requires: python-beautifulsoup4 # needed for dash/testing/browser.py Requires: python-percy -Requires: python-plotly >= 5.0.0 +# /SECTION Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch %if %{with test} -BuildRequires: %{python_module beautifulsoup4} BuildRequires: %{python_module lxml} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest-rerunfailures} BuildRequires: %{python_module pytest-sugar} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module requests} BuildRequires: %{python_module selenium} BuildRequires: %{python_module waitress} BuildRequires: nodejs @@ -71,9 +92,24 @@ elements like dropdowns, sliders, and graphs directly to your analytical python code. +%package -n jupyter-dash +Summary: Jupyter configuration for python-dash +Requires: python3dist(dash) = %{distver} +Suggests: python3-dash + +%description -n jupyter-dash + +Dash is a Python framework for building analytical web applications. + +This package provides the jupyter notebook and jupyterlab configuration +for python-dash + + %prep %setup -q -n dash-%{version} sed -i -e '/^#!\//, 1d' dash/extract-meta.js +chmod -x dash/extract-meta.js +find . -name .gitkeep -delete %build %python_build @@ -85,6 +121,12 @@ %python_clone -a %{buildroot}%{_bindir}/dash-update-components %python_expand %fdupes %{buildroot}%{$python_sitelib} +%if %{with test} +%check +# Testing needs npm install from network and packages (e.g. flask_talisman) which we don't have. +%pytest +%endif + %post %python_install_alternative renderer %python_install_alternative dash-generate-components @@ -95,11 +137,12 @@ %python_uninstall_alternative dash-generate-components %python_uninstall_alternative dash-update-components -%if %{with test} -%check -# Testing needs npm install from network and packages (e.g. flask_talisman) which we don't have. -%pytest -%endif +%files -n jupyter-dash +%doc README.md +%license LICENSE +%{?_jupyter_config} %{_jupyter_nb_notebook_confdir}/dash.json +%{_jupyter_labextensions_dir}/dash-jupyterlab.tgz +%{_jupyter_nbextension_dir}/dash/ %files %{python_files} %doc README.md ++++++ dash-2.6.2.tar.gz -> dash-2.16.0.tar.gz ++++++ /work/SRC/openSUSE:Factory/python-dash/dash-2.6.2.tar.gz /work/SRC/openSUSE:Factory/.python-dash.new.1770/dash-2.16.0.tar.gz differ: char 5, line 1 ++++++ python-dash.rpmlintrc ++++++ # extra testing requirements not declared in python metadata addFilter("python-leftover-require python.*-beautifulsoup4") addFilter("python-leftover-require python.*-percy")