Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-jupyterlab for openSUSE:Factory checked in at 2024-05-10 12:04:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-jupyterlab (Old) and /work/SRC/openSUSE:Factory/.python-jupyterlab.new.1880 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyterlab" Fri May 10 12:04:35 2024 rev:38 rq:1172955 version:4.1.8 Changes: -------- --- /work/SRC/openSUSE:Factory/python-jupyterlab/python-jupyterlab.changes 2024-05-03 19:47:09.406538064 +0200 +++ /work/SRC/openSUSE:Factory/.python-jupyterlab.new.1880/python-jupyterlab.changes 2024-05-10 12:05:00.405193065 +0200 @@ -1,0 +2,31 @@ +Thu May 9 15:11:09 UTC 2024 - Ben Greiner <c...@bnavigator.de> + +- Revert to 4.1.8 until the ecosystem is ready (notebook) + +------------------------------------------------------------------- +Thu May 9 09:13:15 UTC 2024 - Ben Greiner <c...@bnavigator.de> + +- Update to 4.2.0 + * WorkspacesUI + * Recently opened/closed files + * Full notebook windowing mode by default + * Improved Shortcuts Editor + * Dark high contrast theme + * Keyboard shortcuts improvements + ## Bugs fixed + * Check the command is registered before calling + notifyCommandChanged() #16273 (@jtpio) + * Set aria-label to title if no label for #16262 (@fcollonval) + * Fix changing font size in text editor #16261 (@FoSuCloud) + * Fix replace when replacement text matches source text multiple + times #16258 (@JasonWeill) + * Add reopen closed command to tab context menu #16250 + (@krassowski) +- Drop some directives working around the former whl install scheme + +------------------------------------------------------------------- +Wed May 8 13:27:11 UTC 2024 - Daniel Garcia <daniel.gar...@suse.com> + +- Build from source not whl from pypi. + +------------------------------------------------------------------- Old: ---- conftest.py jupyterlab-4.1.8-py3-none-any.whl New: ---- jupyterlab-4.1.8.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-jupyterlab.spec ++++++ --- /var/tmp/diff_new_pack.PhPmoe/_old 2024-05-10 12:05:02.869282824 +0200 +++ /var/tmp/diff_new_pack.PhPmoe/_new 2024-05-10 12:05:02.873282970 +0200 @@ -16,6 +16,7 @@ # +%define distversion 4.1.8 Name: python-jupyterlab Version: 4.1.8 Release: 0 @@ -23,13 +24,13 @@ License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/jupyterlab/jupyterlab -# install from wheel with all the bundled nodejs stuff -Source0: https://files.pythonhosted.org/packages/py3/j/jupyterlab/jupyterlab-%{version}-py3-none-any.whl -Source1: https://github.com/jupyterlab/jupyterlab/raw/v%{version}/conftest.py +Source0: https://files.pythonhosted.org/packages/source/j/jupyterlab/jupyterlab-%{version}.tar.gz Source99: python-jupyterlab-rpmlintrc BuildRequires: %{python_module Jinja2 >= 3.0.3} BuildRequires: %{python_module async_lru >= 1.0.0} BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module hatch-jupyter-builder} +BuildRequires: %{python_module hatchling} BuildRequires: %{python_module httpx >= 0.25.0} BuildRequires: %{python_module importlib-metadata >= 4.8.3 if %python-base < 3.10} BuildRequires: %{python_module importlib-resources >= 1.4 if %python-base < 3.9} @@ -99,7 +100,7 @@ Requires: nodejs >= 10 Requires: npm >= 10 # Any flavor is okay, but suggest the primary one for automatic zypper choice -- boo#1214354 -Requires: python3dist(jupyterlab) = %{version} +Requires: python3dist(jupyterlab) = %{distversion} Suggests: python3-jupyterlab Provides: jupyter-jupyterlab-discovery = 6 Obsoletes: jupyter-jupyterlab-discovery < 6 @@ -114,27 +115,21 @@ etc.). %prep -%setup -q -c -T +%autosetup -p1 -n jupyterlab-%{version} +sed -i -e 's|^#!%{_bindir}/env node|#!%{_bindir}/node|' jupyterlab/staging/yarn.js +chmod a+x jupyterlab/staging/yarn.js +find jupyterlab -name yarn.lock -delete +find jupyterlab -name .yarnrc.yml -delete %build -# not needed +%pyproject_wheel %install -%pyproject_install %{SOURCE0} +%pyproject_install %{python_expand # -for f in %{buildroot}%{$python_sitelib}/jupyterlab/staging/yarn.js; do - sed -i -e 's|^#!%{_bindir}/env node|#!%{_bindir}/node|' $f - chmod a+x $f -done -find %{buildroot}%{$python_sitelib}/jupyterlab -name yarn.lock -delete -find %{buildroot}%{$python_sitelib}/jupyterlab -name .yarnrc.yml -delete -cp %{SOURCE1} %{buildroot}%{$python_sitelib}/jupyterlab/conftest.py -%{$python_compile} %fdupes %{buildroot}%{$python_sitelib} } %fdupes %{buildroot}%{_jupyter_prefix} -# Find any one installed LICENSE and get if for the rpm tagged file -find %{buildroot}%{_prefix}/lib/python3.* -path '*/jupyterlab-%{version}.dist-info/licenses/LICENSE' -exec cp {} . ';' -quit %python_clone -a %{buildroot}%{_bindir}/jupyter-lab %python_clone -a %{buildroot}%{_bindir}/jupyter-labextension %python_clone -a %{buildroot}%{_bindir}/jupyter-labhub @@ -160,8 +155,7 @@ donttest="$donttest or (TestAppHandlerRegistry and test_populate_staging)" donttest="$donttest or (TestAppHandlerRegistry and test_yarn_config)" donttest="$donttest or (TestBuildAPI and test_build)" -# can't use --pyargs because of conftest.py collection problems: https://github.com/pytest-dev/pytest/issues/1596 -%pytest %{buildroot}%{$python_sitelib}/jupyterlab -k "not (${donttest:4} ${$python_donttest})" +%pytest -k "not (${donttest:4} ${$python_donttest})" %post %python_install_alternative jupyter-lab jupyter-labextension jupyter-labhub jlpm