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 2023-03-24 15:20:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-jupyterlab (Old) and /work/SRC/openSUSE:Factory/.python-jupyterlab.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyterlab" Fri Mar 24 15:20:31 2023 rev:24 rq:1073771 version:3.6.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-jupyterlab/python-jupyterlab.changes 2023-01-02 15:01:48.485229464 +0100 +++ /work/SRC/openSUSE:Factory/.python-jupyterlab.new.31432/python-jupyterlab.changes 2023-03-24 15:20:47.859005746 +0100 @@ -1,0 +2,126 @@ +Mon Mar 20 21:42:37 UTC 2023 - Ben Greiner <c...@bnavigator.de> + +- Update to 3.6.2 + * Fix save as without changing the file name #14212 (@hbcarlos) + * Fix save as in collaborative mode #14182 (@hbcarlos) + * Fix non-document wide undo stack #14063 (@fcollonval) + * Fix code/content/ui font-size change #14077 (@FoSuCloud) + * Restore @jupyterlab/shared-models as proxy to @jupyter/ydoc + #14133 (@fcollonval) + * Doc session #14128 (@hbcarlos) + * Use local paths instead of driveName:path in the shared model + #13866 (@hbcarlos) + * use singleton boolean type for codemirror lineWiseCopyCut + setting #14055 (@bollwyvl) + * Fix integrity #14226 (@fcollonval) + * Increases timeout #14045 (@brichet) + * Use Python 3.11 for js-debugger tests #13941 (@fcollonval) + * Fix verdaccio start up with nodejs 18.14.0 #13959 (@fcollonval) + +------------------------------------------------------------------- +Sun Feb 5 17:35:55 UTC 2023 - Ben Greiner <c...@bnavigator.de> + +- Update to 3.6.1 + * Revert target to ES2017 #13914 (@fcollonval) +- Update to 3.6.0 + ## New features added + * Add copy and paste commands to terminal context menu #13535 + (@krassowski) + * Turn terminal links into anchors using xterm addon #13645 + (@mgcth) + * Allows to pause the execution during debug #13494 (@brichet) + * Ask confirmation when closing a document #13489 (@fcollonval) + * Add events service #13465 (@fcollonval) + * Add notification queue and display using toast #12959 + (@telamonian) + * Add announcements #13444 (@fcollonval) + * Add line history to Stdin cell outputs #13431 (@fcollonval) + * Add user configuration for additional schemes for the sanitizer + plugin #13419 (@fcollonval) + * User service #12926 (@hbcarlos) + ## Enhancements made + * Expose contentVisibility widget hiding mode #13860 + (@fcollonval) + * default locale will use OS default locale #13721 (@fcollonval) + * Enable strict CSS containment for MainAreaWidget #13811 + (@krassowski) + * User defined default viewer take precedence for rendered + factory #11541 (@fcollonval) + * Remove not needed Completer.IRenderer.sanitizer #13700 + (@fcollonval) + * Contain the tabs within the tabbar (do not use translation + transform) #13671 (@krassowski) + * Sanitize notification message #13510 (@fcollonval) + * Use more the contextual collaborative model attribute #13564 + (@fcollonval) + * Add lumino with support for plugin deactivation #13541 + (@fcollonval) + * Sets whether the model is collaborative or not when registering + its factory #13526 (@hbcarlos) + * RTC: Move user name to user panel #13517 (@martinRenou) + * jupyter_server_ydoc>=0.6.0,<0.7.0 #13499 (@fcollonval) + * Define file or activity icons color as static #13408 + (@fcollonval) + * Added collaborative_document_save_de⦠#13404 (@fcollonval) + * Add a hover effect to plugin list entries #13384 (@krassowski) + * Bump Lumino 1.x #13378 (@fcollonval) + * Store original path as returned from contents API in the + Contents.IModel #13216 (@krassowski) + * Update document dirty logic for RTC #13364 (@davidbrochart) + * Store document info in the state not in a separate context map + out of the document interface. #13317 (@fcollonval) + * Use file ID #13246 (@davidbrochart) + * Relax doc provider API #13214 (@fcollonval) + * Avoids restoring widget in dock panel when first loading in + 'single-document' mode #13314 (@brichet) + * Fix illegible white on yellow text of stacktrace in dark theme + #13249 (@NikolayXHD) + * Use settings icons for 6 plugins #13298 (@krassowski) + * Do not run galata in .ipynb_checkpoints #13297 (@krassowski) + * Allow empty notebook #13296 (@martinRenou) + * Optimize text mimerenderer: ansi vs autolink #13202 (@vidartf) + * Remove Yjs locking mechanism #13222 (@davidbrochart) + ## Bugs fixed + * Define colour and background for filebrowser edit field #13895 + (@krassowski) + * Reset execution indicator state when kernel restarts #13832 + (@krassowski) + * Restore blueprint focus overrides on 3.x branch #13879 + (@krassowski) + * Restore partial border effect for menu #13878 (@krassowski) + * Pin jupyter_ydoc #13863 (@fcollonval) + * Fix preferred_dir for examples #13788 (@fcollonval) + * Bump canvas to version with nodejs 18 binaries #13783 + (@fcollonval) + * Explain why cell model may be missing in cell toolbar #13763 + (@krassowski) + * Fix handling of settingEditorType #13761 (@jtpio) + * Fix execution indicator in RTC mode #13693 (@trungleduc) + * Force jupyter-server v1 to check against notebook v6 #13716 + (@fcollonval) + * Write the browser open files for test #13634 (@fcollonval) + * Add the scaleFactor value from the embed options when creating + the PNG representation for a Vega-based chart #13610 + (@joaopalmeiro) + * Does not prevent default behavior when shift-clicking #13616 + (@jmk89) + * Do not load CSS of disabled federated extensions #11962 + (@jtpio) + * use jupyter_config_dir instead of config_path[0] for + workspaces, settings #13589 (@minrk) + * Bump @lumino/application #13590 (@fcollonval) + * Restores the appearance of the settingeditor's input focus + #13554 (@brichet) + * Fix a wrong argument when calling 'renderMimeVariable' #13531 + (@brichet) + * fix size of toc running indicator #13568 (@uenot) + * Fixes backward-incompatible changes for 3.6 #13560 (@hbcarlos) + * Make focus visible (mostly CSS) #13415 (@gabalafou) + * Set corrections to icons and switch colors #13500 + (@HaudinFlorence) + * Default IDocumentProviderFactory.IOptions generic to + ISharedDocument #13490 (@jtpio) + * Use same key for saving user info in local store #13482 + @hbcarlos + +------------------------------------------------------------------- Old: ---- jupyterlab-3.5.2-py3-none-any.whl New: ---- conftest.py jupyterlab-3.6.2-py3-none-any.whl ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-jupyterlab.spec ++++++ --- /var/tmp/diff_new_pack.4lTjH9/_old 2023-03-24 15:20:48.467008917 +0100 +++ /var/tmp/diff_new_pack.4lTjH9/_new 2023-03-24 15:20:48.471008937 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-jupyterlab # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,8 +16,9 @@ # +%define plainpython3dist python3dist Name: python-jupyterlab -Version: 3.5.2 +Version: 3.6.2 Release: 0 Summary: Environment for interactive and reproducible computing License: BSD-3-Clause @@ -25,17 +26,21 @@ 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 Source99: python-jupyterlab-rpmlintrc BuildRequires: %{python_module Jinja2 >= 2.1} BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module ipython} +BuildRequires: %{python_module jupyter-server-ydoc >= 0.8 with %python-jupyter-server-ydoc < 0.9} +BuildRequires: %{python_module jupyter-ydoc >= 0.2.3 with %python-jupyter-ydoc < 0.3} BuildRequires: %{python_module jupyter_core} BuildRequires: %{python_module jupyter_server >= 1.16 with %python-jupyter_server < 3} -BuildRequires: %{python_module jupyterlab-server >= 2.10} +BuildRequires: %{python_module jupyterlab-server >= 2.19} BuildRequires: %{python_module nbclassic} BuildRequires: %{python_module notebook < 7} BuildRequires: %{python_module packaging} BuildRequires: %{python_module pip} +BuildRequires: %{python_module tomli if %python-base < 3.11} BuildRequires: %{python_module tornado >= 6.1} BuildRequires: fdupes BuildRequires: jupyter-jupyterlab-filesystem @@ -49,7 +54,10 @@ Requires: python-notebook < 7 Requires: python-packaging Requires: python-tornado >= 6.1 +Requires: (python-jupyter-server-ydoc >= 0.8 with python-jupyter-server-ydoc < 0.9) +Requires: (python-jupyter-ydoc >= 0.2.3 with python-jupyter-ydoc < 0.3) Requires: (python-jupyter_server >= 1.16 with python-jupyter_server < 3) +Requires: (python-tomli if python-base < 3.11) Provides: python-jupyter_jupyterlab = %{version} Obsoletes: python-jupyter_jupyterlab < %{version} BuildArch: noarch @@ -58,7 +66,7 @@ BuildRequires: %{python_module pytest >= 6.0} BuildRequires: %{python_module pytest-check-links} BuildRequires: %{python_module pytest-console-scripts} -BuildRequires: %{python_module pytest-jupyter >= 0.6} +BuildRequires: %{python_module pytest-jupyter >= 0.5.3} BuildRequires: %{python_module pytest-tornasync} BuildRequires: %{python_module requests} BuildRequires: %{python_module virtualenv} @@ -80,7 +88,7 @@ Requires: jupyter-jupyterlab-filesystem Requires: nodejs >= 10 Requires: npm >= 10 -Requires: python3-jupyterlab = %{version} +Requires: %{plainpython3dist}(jupyterlab) = %{version} Provides: jupyter-jupyterlab-discovery = 6 Obsoletes: jupyter-jupyterlab-discovery < 6 @@ -106,6 +114,8 @@ sed -i -e 's|^#!%{_bindir}/env node|#!%{_bindir}/node|' $f chmod a+x $f done +cp %{SOURCE1} %{buildroot}%{$python_sitelib}/jupyterlab/conftest.py +%{$python_compile} %fdupes %{buildroot}%{$python_sitelib} } %fdupes %{buildroot}%{_jupyter_prefix} @@ -130,11 +140,11 @@ donttest="$donttest or (TestAppHandlerRegistry and test_get_registry)" donttest="$donttest or (TestAppHandlerRegistry and test_populate_staging)" donttest="$donttest or (TestAppHandlerRegistry and test_yarn_config)" -# don't have the fixtures -donttest="$donttest or (TestBuildAPI and (test_get_status or test_build))" -donttest="$donttest or test_load_extension" - -%pytest --pyargs jupyterlab -k "not (${donttest:4})" +donttest="$donttest or (TestBuildAPI and test_build)" +# fail with mocking errror on python 3.11, fixed in Jupyterlab 4: https://github.com/jupyterlab/jupyterlab/pull/13474 +python311_donttest=" or test_announcements" +# 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})" %files %{python_files} %license LICENSE ++++++ conftest.py ++++++ # -*- coding: utf-8 -*- # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. import pytest pytest_plugins = [ "pytest_jupyter.jupyter_server", "jupyterlab_server.pytest_plugin", "jupyterlab.pytest_plugin", ] def pytest_addoption(parser): """ Adds flags for pytest. This is called by the pytest API """ group = parser.getgroup("general") group.addoption("--quick", action="store_true", help="Skip slow tests") group.addoption("--slow", action="store_true", help="Run only slow tests") def pytest_configure(config): config.addinivalue_line("markers", "slow: mark test as slow to run") def pytest_collection_modifyitems(config, items): if config.getoption("--quick"): skip_slow = pytest.mark.skip(reason="skipping slow test") for item in items: if "slow" in item.keywords: item.add_marker(skip_slow) elif config.getoption("--slow"): skip_quick = pytest.mark.skip(reason="skipping non-slow test") for item in items: if "slow" not in item.keywords: item.add_marker(skip_quick)