Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spyder for openSUSE:Factory checked in at 2024-09-09 14:45:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/spyder (Old) and /work/SRC/openSUSE:Factory/.spyder.new.10096 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "spyder" Mon Sep 9 14:45:29 2024 rev:56 rq:1199485 version:6.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/spyder/spyder.changes 2024-08-30 13:33:08.756383620 +0200 +++ /work/SRC/openSUSE:Factory/.spyder.new.10096/spyder.changes 2024-09-09 14:46:37.732149337 +0200 @@ -1,0 +2,105 @@ +Sun Sep 8 11:23:25 UTC 2024 - Ben Greiner <c...@bnavigator.de> + +- Update to 6.0.0 + ## New features + * New installers for Windows, Linux and macOS based on Conda and + Conda-forge. They come up with a more robust update process and + are based on Python 3.11. + * Add a Debugger pane to explore the stack frame of the current + debugging session. + * Add a button to the Debugger pane to pause the current code + execution and enter the debugger afterwards. + * Add submenu to the Consoles menu to start a new console for a + specific Conda or Pyenv environment. + * Add ability to refresh the open Variable Explorer viewers to + reflect the current variable value. + * Add initial support to automatically connect to remote servers + through SSH and run code in them. This functionality can be + found in the menu Consoles > New console in remote server. + * Show plots generated in the Variable Explorer or its viewers in + the Plots pane. + * Show Matplotlib backend and Python environment information in + the status bar. + * Make kernel restarts be much faster for the current + interpreter. + * Add experimental support for Qt 6 and increase minimal required + version to Qt 5.15. + * Turn runfile, debugfile, runcell and related commands into + IPython magics. + ## Important fixes + * Environment variables declared in ~/.bashrc or ~/.zhrc are + detected and passed to the IPython console. + * Support all real number dtypes in the dataframe viewer. + * Respect Matplotlib user settings configured outside Spyder. + * Increase DPI of Matplotlib plots so they look better in high + resolution screens. + * Allow to copy the absolute and relative paths of the current + file to the tabs' context menu of the Editor. + * Restore ability to load Hdf5 and Dicom files through the + Variable Explorer (this was working in Spyder 4 and before). + * Add ability to disable external plugins in Preferences > + Plugins. + * Use a simpler filesystem watcher in Projects to improve + performance. + ## UX/UI improvements + * Make Spyder accept Chinese, Korean or Japanese input on Linux + by adding fcitx-qt5 as a new dependency (in conda environments + only). + * The file switcher can browse and open files present in the + current project ( in conda environments or if the fzf package + is installed). + * Improve how options are displayed and handled in several + Variable Explorer viewers. + * The interface font used by the entire application can be + configured in Preferences > Appearance. + * Files can be opened in the editor by pasting their path in the + Working Directory toolbar. + * Add a new button to the Variable Explorer to indicate when + variables are being filtered. + * Show intro message for panes that don't display content at + startup. + ## New, updated and removed plugins + * Add a Switcher plugin for the files and symbols switcher. + * Add a Debugger plugin to centralize all functionality related + to debugging. + * Add an External Terminal plugin to execute Python and + Bash/Batch/PS1 files on a system terminal. + * Generalize the Run plugin to support generic inputs and + executors. This allows plugins to declare what kind of inputs + (i.e. file, cell or selection) they can execute and how they + will display the result. + * Declare a proper API for the Projects plugin. + * The Editor now uses the API introduced in Spyder 5. That was + the last built-in plugin that needed to be migrated to it. + * The Breakpoints plugin was removed and its functionality moved + to the Debugger one. + ## New API features + * SpyderPluginV2.get_description must be a static method and + SpyderPluginV2.get_icon a class or static method. This is + necessary to display the list of available plugins in + Preferences in a more user-friendly way (see PR PR 21101 for + the details). + * SpyderPlugin and SpyderPluginWidget are no longer exposed in + the public API. They will be removed in Spyder 6.1. + * All comboboxes must inherit from SpyderComboBox or related + subclasses in spyder.api.widgets.comboboxes. Comboboxes that + inherit directly from QComboBox won't follow Spyder's graphical + style. + * All menus must inherit from SpyderMenu in + spyder.api.widgets.menus. + * All dialog button boxes must inherit from SpyderDialogButtonBox + in spyder.api.widgets.dialogs. + * Helper classes were added to spyder.api.fonts to get and set + the fonts used in Spyder in different widgets. + * Helper classes were added to spyder.api.shortcuts to get and + set keyboard shortcuts. + * AsyncDispatcher was added to spyder.api.asyncdispatcher to run + asyncio code in Spyder. Only Qt signals can be attached to + asyncio future.add_done_callback calls to avoid segfaults. + * ShellConnectStatusBarWidget was added to + spyder.api.shellconnect.status to create status bar widgets + connected to the current console. +- Clean test deselection, we are currently not able to run any + tests. + +------------------------------------------------------------------- Old: ---- spyder-5.5.6.tar.gz New: ---- spyder-6.0.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ spyder.spec ++++++ --- /var/tmp/diff_new_pack.MJAGgI/_old 2024-09-09 14:46:38.236170230 +0200 +++ /var/tmp/diff_new_pack.MJAGgI/_new 2024-09-09 14:46:38.236170230 +0200 @@ -16,12 +16,12 @@ # -# The tests fail randomly with segfaults on the obs servers. -# You MUST test locally with `osc build --with test` and checkout the app in -# your live system before submitting an update. +# The test suite is very peculiar about the testing environment, impossible to replicate for rpmbuild +# Also, the tests fail randomly with segfaults on the obs servers +# You MUST checkout the app in your live system and play with it before submitting an update. %bcond_with test Name: spyder -Version: 5.5.6 +Version: 6.0.0 Release: 0 Summary: The Scientific Python Development Environment License: MIT @@ -37,64 +37,62 @@ BuildRequires: python3-wheel BuildRequires: update-desktop-files Requires: %{name}-lang -Requires: cookiecutter >= 1.6.0 +Requires: python3-PyQt5 >= 5.15 +Requires: python3-PyQtWebEngine >= 5.15 Requires: python3-Pygments >= 2.0 -Requires: python3-QtPy >= 2.1.0 +Requires: python3-QtPy >= 2.4 Requires: python3-Rtree >= 0.9.7 Requires: python3-Sphinx >= 0.6.6 +Requires: python3-aiohttp >= 3.9.3 Requires: python3-atomicwrites >= 1.2.0 -Requires: python3-autopep8 Requires: python3-chardet >= 2.0.0 Requires: python3-cloudpickle >= 0.5.0 +Requires: python3-cookiecutter >= 1.6.0 Requires: python3-diff-match-patch >= 20181111 -Requires: python3-flake8 >= 3.8.0 Requires: python3-importlib-metadata >= 4.6.0 Requires: python3-intervaltree Requires: python3-jellyfish >= 0.7 Requires: python3-jsonschema >= 3.2.0 Requires: python3-keyring >= 17.0.0 -Requires: python3-mccabe >= 0.6.0 Requires: python3-nbconvert >= 4.0 Requires: python3-numpydoc >= 0.6.0 Requires: python3-parso >= 0.7.0 Requires: python3-pexpect >= 4.4.0 Requires: python3-pickleshare >= 0.4 Requires: python3-psutil >= 5.3 -Requires: python3-pycodestyle >= 2.6.0 -Requires: python3-pydocstyle >= 2.0.0 -Requires: python3-pyflakes >= 2.2.0 +Requires: python3-pygithub >= 2.3.0 Requires: python3-pylint-venv >= 3.0.2 Requires: python3-pyls-spyder >= 0.4.0 +Requires: python3-pyuca >= 1.2 Requires: python3-pyxdg >= 0.26 Requires: python3-pyzmq >= 24 Requires: python3-qstylizer >= 0.2.2 -Requires: python3-qt5 >= 5.10 -Requires: python3-rope >= 0.10.5 Requires: python3-setuptools >= 49.6.0 Requires: python3-textdistance >= 4.2.0 Requires: python3-three-merge >= 0.1.1 Requires: python3-watchdog -Requires: python3-whatthepatch -Requires: python3-yapf +Requires: python3-yarl >= 1.9.4 Requires: (python3-QDarkStyle >= 3.2.0 with python3-QDarkStyle < 3.3.0) Requires: (python3-QtAwesome >= 1.3.1 with python3-QtAwesome < 1.4) +Requires: (python3-asyncssh >= 2.14 with python3-asyncssh < 3) Requires: (python3-ipython >= 8.13 with python3-ipython < 9) Requires: (python3-jedi >= 0.17.2 with python3-jedi < 0.20) Requires: (python3-pylint >= 3.1 with python3-pylint < 4) Requires: (python3-python-lsp-black >= 2.0.0 with python3-python-lsp-black < 3) -Requires: (python3-python-lsp-server >= 1.12.0 with python3-python-lsp-server < 1.13) -Requires: (python3-qtconsole >= 5.5.1 with python3-qtconsole < 5.6.0) -Requires: (python3-spyder-kernels >= 2.5.2 with python3-spyder-kernels < 2.6) -Recommends: %{name}-dicom -Recommends: %{name}-hdf5 -Recommends: python3-Cython >= 0.21 +Requires: (python3-python-lsp-server-all >= 1.12.0 with python3-python-lsp-server-all < 1.13) +Requires: (python3-qtconsole >= 5.6 with python3-qtconsole < 5.7) +Requires: (python3-spyder-kernels >= 3 with python3-spyder-kernels < 3.1) +Requires: (python3-superqt >= 0.6.2 with python3-superqt < 1) +Recommends: git-core +Recommends: python3-Cython Recommends: python3-Pillow -Recommends: python3-matplotlib >= 2.0.0 -Recommends: python3-numpy >= 1.7 -Recommends: python3-pandas >= 1.1.1 -Recommends: python3-qtwebengine-qt5 >= 5.10 -Recommends: python3-scipy >= 0.17.0 -Recommends: python3-sympy >= 0.7.3 +Recommends: python3-matplotlib +Recommends: python3-matplotlib-qt +Recommends: python3-numpy +Recommends: python3-opengl +Recommends: python3-pandas +Recommends: python3-scipy +Recommends: python3-sympy Suggests: %{name}-line-profiler Suggests: %{name}-memory-profiler Suggests: %{name}-notebook @@ -114,74 +112,78 @@ Obsoletes: spyder3-pylint < %{version} BuildArch: noarch # SECTION test requirements -BuildRequires: cookiecutter >= 1.6.0 +%if %{with test} +# purely for testing +BuildRequires: python3-flaky +BuildRequires: python3-pyaml +BuildRequires: python3-pytest >= 5.0 +BuildRequires: python3-pytest-lazy-fixture +BuildRequires: python3-pytest-mock +BuildRequires: python3-pytest-order +BuildRequires: python3-pytest-qt +BuildRequires: python3-pytest-timeout +BuildRequires: xdpyinfo +BuildRequires: xvfb-run +# extras BuildRequires: git-core -BuildRequires: python3-Cython >= 0.21 +BuildRequires: python3-Cython BuildRequires: python3-Pillow +BuildRequires: python3-matplotlib +BuildRequires: python3-matplotlib-qt +BuildRequires: python3-matplotlib-tk +BuildRequires: python3-numpy +BuildRequires: python3-opengl +BuildRequires: python3-pandas +BuildRequires: python3-scipy +BuildRequires: python3-sympy +%endif +# runtime BuildRequires: python3-Pygments >= 2.0 -BuildRequires: python3-QtPy >= 2.1.0 +BuildRequires: python3-PyQt5 >= 5.15 +BuildRequires: python3-PyQtWebEngine >= 5.15 +BuildRequires: python3-QtPy >= 2.4 BuildRequires: python3-Rtree >= 0.9.7 BuildRequires: python3-Sphinx >= 0.6.6 +BuildRequires: python3-aiohttp >= 3.9.3 BuildRequires: python3-atomicwrites >= 1.2.0 -BuildRequires: python3-autopep8 BuildRequires: python3-chardet >= 2.0.0 BuildRequires: python3-cloudpickle >= 0.5.0 +BuildRequires: python3-cookiecutter >= 1.6.0 BuildRequires: python3-diff-match-patch >= 20181111 -BuildRequires: python3-flake8 >= 3.8.0 -BuildRequires: python3-flaky BuildRequires: python3-importlib-metadata >= 4.6.0 BuildRequires: python3-intervaltree BuildRequires: python3-jellyfish >= 0.7 BuildRequires: python3-jsonschema >= 3.2.0 BuildRequires: python3-keyring >= 17.0.0 -BuildRequires: python3-matplotlib >= 2.0.0 -BuildRequires: python3-matplotlib-qt5 -BuildRequires: python3-matplotlib-tk -BuildRequires: python3-mccabe >= 0.6.0 BuildRequires: python3-nbconvert >= 4.0 BuildRequires: python3-numpydoc >= 0.6.0 -BuildRequires: python3-opengl -BuildRequires: python3-pandas >= 1.1.1 BuildRequires: python3-parso >= 0.7.0 BuildRequires: python3-pexpect >= 4.4.0 BuildRequires: python3-pickleshare >= 0.4 BuildRequires: python3-psutil >= 5.3 -BuildRequires: python3-pyaml -BuildRequires: python3-pycodestyle >= 2.6.0 -BuildRequires: python3-pydocstyle >= 2.0.0 -BuildRequires: python3-pyflakes >= 2.2.0 +BuildRequires: python3-pygithub >= 2.3.0 BuildRequires: python3-pylint-venv >= 3.0.2 BuildRequires: python3-pyls-spyder >= 0.4.0 -BuildRequires: python3-pytest >= 5.0 -BuildRequires: python3-pytest-lazy-fixture -BuildRequires: python3-pytest-mock -BuildRequires: python3-pytest-order -BuildRequires: python3-pytest-qt -BuildRequires: python3-pytest-timeout +BuildRequires: python3-pyuca >= 1.2 BuildRequires: python3-pyxdg >= 0.26 BuildRequires: python3-pyzmq >= 24 BuildRequires: python3-qstylizer >= 0.2.2 -BuildRequires: python3-qt5 >= 5.10 -BuildRequires: python3-qtwebengine-qt5 >= 5.10 -BuildRequires: python3-rope >= 0.10.5 -BuildRequires: python3-scipy -BuildRequires: python3-sympy >= 0.7.3 +BuildRequires: python3-setuptools >= 49.6.0 BuildRequires: python3-textdistance >= 4.2.0 BuildRequires: python3-three-merge >= 0.1.1 BuildRequires: python3-watchdog -BuildRequires: python3-whatthepatch -BuildRequires: python3-yapf -BuildRequires: xdpyinfo -BuildRequires: xvfb-run -BuildRequires: (python3-QDarkStyle >= 3.2 with python3-QDarkStyle < 3.3) +BuildRequires: python3-yarl >= 1.9.4 +BuildRequires: (python3-QDarkStyle >= 3.2.0 with python3-QDarkStyle < 3.3.0) BuildRequires: (python3-QtAwesome >= 1.3.1 with python3-QtAwesome < 1.4) +BuildRequires: (python3-asyncssh >= 2.14 with python3-asyncssh < 3) BuildRequires: (python3-ipython >= 8.13 with python3-ipython < 9) BuildRequires: (python3-jedi >= 0.17.2 with python3-jedi < 0.20) BuildRequires: (python3-pylint >= 3.1 with python3-pylint < 4) BuildRequires: (python3-python-lsp-black >= 2.0.0 with python3-python-lsp-black < 3) -BuildRequires: (python3-python-lsp-server >= 1.12 with python3-python-lsp-server < 1.13) -BuildRequires: (python3-qtconsole >= 5.5.1 with python3-qtconsole < 5.6) -BuildRequires: (python3-spyder-kernels >= 2.5.2 with python3-spyder-kernels < 2.6) +BuildRequires: (python3-python-lsp-server-all >= 1.12.0 with python3-python-lsp-server-all < 1.13) +BuildRequires: (python3-qtconsole >= 5.6 with python3-qtconsole < 5.7) +BuildRequires: (python3-spyder-kernels >= 3 with python3-spyder-kernels < 3.1) +BuildRequires: (python3-superqt >= 0.6.2 with python3-superqt < 1) # /SECTION %description @@ -196,36 +198,6 @@ Matplotlib, SymPy, and more, and can be extended further with full plugin support. -%package dicom -Summary: DICOM I/O plugin for the Spyder IDE -Group: Development/Languages/Python -Requires: %{name} = %{version} -Requires: python3-pydicom -Provides: spyder3-dicom = %{version} -Obsoletes: spyder3-dicom < %{version} - -%description dicom -Spyder, the Scientific Python Development Environment, is an -IDE for researchers, engineers and data analysts. - -This package contains the plugin that allows Spyder to read and write -DICOM files. - -%package hdf5 -Summary: HDF5 I/O plugin for the Spyder IDE -Group: Development/Languages/Python -Requires: %{name} = %{version} -Requires: python3-h5py -Provides: spyder3-hdf5 = %{version} -Obsoletes: spyder3-hdf5 < %{version} - -%description hdf5 -Spyder, the Scientific Python Development Environment, is an -IDE for researchers, engineers and data analysts. - -This package contains the plugin that allows Spyder to read and write -HDF5 files. - %package lang # expansion of lang_package because the macro does not handle the rename Summary: Translations for package %{name} @@ -248,25 +220,11 @@ # Remove shebang for non-executable-script RPMLint warning sed -i -e '/^#!\//, 1d' spyder/app/restart.py -sed -i -e '/^#!\//, 1d' spyder/utils/external/github.py - -sed -i -e '1 {s:/usr/bin/env bash.*:%{_bindir}/bash:}' spyder/plugins/ipythonconsole/scripts/conda-activate.sh chmod -x spyder/images/*/*.svg # macOS specific script rm spyder/utils/check-git.sh -# windows script -rm spyder/plugins/ipythonconsole/scripts/conda-activate.bat - -# remove egg package pins read at runtime startup and for the test suite dependency sync checks -sed -r \ - -e 's/(pyqt.*)<5.16/\1/' \ - -e 's/(jedi.*)<0.19/\1<0.20/' \ - -i setup.py requirements/main.yml binder/environment.yml -sed \ - -e '/JEDI_REQVER/ s/<0.19/<0.20/' \ - -i spyder/dependencies.py # Upstream brings its fixed versions for pyls, qdarksstyle and spyder-kernels for its # test environment, but we want to test against installed packages. @@ -315,84 +273,16 @@ # Upstream splits the tests into slow and fast ones. # Add all tests which must be skipped into $donttest. -# - Test marked with (* tested live) are skipped after making sure the tested -# functionality still works in a real desktop environment - -# requires internet connection -donttest+=" or test_github_backend" -# different PyQT version? -donttest+=" or (test_objectexplorer_collection_types and params5)" -# qtbot timeouts or too slow in OBS -donttest+=" or test_run_python_script_in_terminal" -# we are not on conda env -donttest+=" or test_status_bar_conda_interpreter_status" -# "Only for CIs", but we are not on conda/pyenv as upstream's CI -donttest+=" or test_conda" -donttest+=" or test_is_valid_interpreter" -donttest+=" or test_pyenv" -# too flaky for OBS -donttest+=" or test_update_decorations_when_scrolling" -# occational fail -donttest+=" or test_bracket_closing_new_line" -# flaky -donttest+=" or (test_ipythonconsole and test_pdb_multiline)" -donttest+=" or (test_ipythonconsole and test_auto_backend)" -# These tests are testing against buggy behavior in Qt 5.12. We have newer Qt in Tumbleweed. -# https://github.com/spyder-ide/spyder/issues/12663 -donttest+=" or (test_codeeditor and test_editor_backspace_char)" -donttest+=" or (test_codeeditor and test_editor_backspace_selection)" -donttest+=" or (test_codeeditor and test_editor_delete_char)" -donttest+=" or (test_codeeditor and test_qtbug35861)" -donttest+=" or (test_shortcuts and test_select_all_shortcut)" -# (* tested live) segfault (QtAwesome?) -donttest+=" or test_apps_dialog" -# no venvs to load in our test environment -donttest+=" or test_load_time" -# no online help within qtbot timeout -donttest+=" or test_get_pydoc or test_pydocbrowser" -# segfault in openSUSE:Factory (?) -donttest+=" or test_goto_uri_project_root_path" -# completes to math.hypot(cooordinates) instead of expected math.hypot(*coordinates) -donttest+=" or (test_introspection and test_completions)" -# test_update.py would require network connections -donttest+=" or (test_update and not test_no_update)" -# runs into timeout on obs -donttest+=" or (test_editor_and_outline and test_empty_file)" -donttest+=" or test_class_func_selector" -donttest+=" or test_console_working_directory" -# qtbot timeout -donttest+=" or test_get_hints" -# occasional segfaults. fails to get the root tree otherwise (LSP problem?) -donttest+=" or test_editor_outlineexplorer" -# too flaky on some platforms -donttest+=" or test_hide_widget_completion" -# ultimate rationale: skip whole mainwindow as these tests are leaking file descriptors -# https://github.com/spyder-ide/spyder/issues/13483 -# donttest+=" or test_mainwindow" -# no config for appearance.css_path without mainwindow -donttest+=" or test_ipython_config_dialog" -# fails on server but not locally -donttest+=" or (test_formatting and document and autopep8)" -# flaky -donttest+=" or (test_pdb_eventloop and qt5)" -# Test is not independent: QThread *sometimes* misses the CONF_SECTION -donttest+=" or test_handle_exception" - -donttest+=" or known_leak" - -# segfault in obs, successful in live system -donttest+=" or test_module_completion" - -# cannot start spyder kernel -donttest+=" or test_kernel_crash" +donttest="xxxxxxxxxxxxx" export donttest + # Can't use pytest-xvfb because the tests leave widgets open and trigger https://github.com/The-Compiler/pytest-xvfb/issues/11 # create test script so that we can use one Xvfb with both test suites: echo ' #!/bin/bash set -e -testcmd=(python3 runtests.py -m "not no_xvfb" --timeout 1800 -ra -k "not (${donttest:4})") +testcmd=(python3 runtests.py -m "not no_xvfb" --timeout 1800 -ra -k "not (${donttest:4})" -x --tb long -l) "${testcmd[@]}" "${testcmd[@]}" --run-slow ' > runtests.sh @@ -407,8 +297,6 @@ %{python3_sitelib}/spyder/ %{python3_sitelib}/spyder-%{version}.dist-info %exclude %{python3_sitelib}/spyder/locale/ -%exclude %{python3_sitelib}/spyder/plugins/io_dcm/ -%exclude %{python3_sitelib}/spyder/plugins/io_hdf5/ %{_datadir}/icons/spyder.png %dir %{_datadir}/icons/hicolor %dir %{_datadir}/icons/hicolor/128x128 @@ -420,14 +308,6 @@ %dir %{_datadir}/metainfo/ %{_datadir}/metainfo/org.spyder_ide.spyder.appdata.xml -%files dicom -%license LICENSE.txt -%{python3_sitelib}/spyder/plugins/io_dcm/ - -%files hdf5 -%license LICENSE.txt -%{python3_sitelib}/spyder/plugins/io_hdf5/ - %files lang -f %{name}.lang %license LICENSE.txt %dir %{python3_sitelib}/spyder/locale/ ++++++ spyder-5.5.6.tar.gz -> spyder-6.0.0.tar.gz ++++++ /work/SRC/openSUSE:Factory/spyder/spyder-5.5.6.tar.gz /work/SRC/openSUSE:Factory/.spyder.new.10096/spyder-6.0.0.tar.gz differ: char 13, line 1