Hello community,
here is the log from the commit of package python-spyder-terminal for
openSUSE:Factory checked in at 2020-08-29 20:42:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-spyder-terminal (Old)
and /work/SRC/openSUSE:Factory/.python-spyder-terminal.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-spyder-terminal"
Sat Aug 29 20:42:47 2020 rev:7 rq:830425 version:0.4.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-spyder-terminal/python-spyder-terminal.changes
2020-04-28 22:32:34.717777071 +0200
+++
/work/SRC/openSUSE:Factory/.python-spyder-terminal.new.3399/python-spyder-terminal.changes
2020-08-29 20:43:01.201481942 +0200
@@ -1,0 +2,67 @@
+Fri Aug 28 15:49:06 UTC 2020 - Benjamin Greiner <[email protected]>
+
+- Fix package name resoulution
+ * package is called ${python_prefix}-spyder-terminal,
+ * provides spyder-terminal and spyder3-terminal
+
+-------------------------------------------------------------------
+Thu Aug 27 14:54:10 UTC 2020 - Benjamin Greiner <[email protected]>
+
+- Updated to Version 0.4.2
+ * PR 237 - PR: Add Xonsh to list of supported terminals in Unix
+ and Windows, by @steff456
+- Version 0.4.1 (2020/08/05)
+ * Issue 235 - Plugin fails on Python 3.8 and Windows (PR 236 by
+ @steff456)
+ * PR 236 - PR: Add tornado patch for python 3.8 in windows, by
+ @steff456 (235)
+- Version 0.4.0 (2020/07/21)
+ * Issue 233 - Update translations
+ * Issue 227 - Add option to set buffer limit (PR 228 by
+ @steff456)
+ * Issue 225 - Terminal error "ValueError: Invalid cookie 'cwd'"
+ (PR 229 by @steff456)
+ * Issue 224 - Add widget for find functionality in the terminal
+ (PR 226 by @steff456)
+ * Issue 219 - Remove QWebKit from the code (PR 221 by @steff456)
+ * Issue 218 - Shortcuts are not appearing in the preferences pane
+ (PR 222 by @steff456)
+ * Issue 213 - Update to xterm.js latest version (PR 214 by
+ @steff456)
+ * Issue 212 - Migrate this plugin to Python 3 (PR 215 by
+ @steff456)
+ * Issue 206 - Correctly generate logging files (PR 210 by
+ @steff456)
+ * Issue 202 - Problems when highlight text on terminal (PR 216
+ by @steff456)
+ * Issue 148 - How to increase/decrease size of font in terminal?
+ (PR 217 by @steff456)
+ * In this release 11 issues were closed.
+ * PR 232 - New Crowdin updates, by @spyder-bot
+ * PR 231 - PR: Update translation files, by @steff456
+ * PR 229 - PR: Percent encode/decode cwd to encode spaces and
+ special characters, by @steff456 (225)
+ * PR 228 - PR: Add scrollback option to the terminal, by
+ @steff456 (227)
+ * PR 226 - PR: Add find widget to the terminal, by @steff456
+ (224)
+ * PR 223 - PR: Improve clipboard support in the terminal, by
+ @steff456
+ * PR 222 - PR: Fix shortcuts to new API, by @steff456 (218)
+ * PR 221 - PR: Remove deprecated QWebKit code, by @steff456 (219)
+ * PR 217 - PR: Add option to zoom in/zoom out in the terminal, by
+ @steff456 (148)
+ * PR 216 - PR: Fix highlight text on the terminal, by @steff456
+ (202)
+ * PR 215 - PR: Move Spyder-terminal plugin to Python 3, by
+ @steff456 (212)
+ * PR 214 - PR: Upgrade xterm to 4.7 release, by @steff456 (213)
+ * PR 211 - PR: Fix issues when running our test suite in Azure,
+ by @ccordoba12
+ * PR 210 - PR: Generate logging files with Spyder's debug level,
+ by @steff456 (206)
+ * PR 208 - Bump websocket-extensions from 0.1.3 to 0.1.4,
+ by @dependabot[bot]
+ * PR 204 - Bump jquery from 3.4.1 to 3.5.0, by @dependabot[bot]
+
+-------------------------------------------------------------------
Old:
----
python-spyder-terminal-0.3.2-gh.tar.gz
python-spyder-terminal-0.3.2-pypi.tar.gz
New:
----
python-spyder-terminal-0.4.2-gh.tar.gz
python-spyder-terminal-0.4.2-pypi.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-spyder-terminal.spec ++++++
--- /var/tmp/diff_new_pack.brFRLh/_old 2020-08-29 20:43:02.081482309 +0200
+++ /var/tmp/diff_new_pack.brFRLh/_new 2020-08-29 20:43:02.085482311 +0200
@@ -19,31 +19,36 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-spyder-terminal
-Version: 0.3.2
+Version: 0.4.2
Release: 0
Summary: Operating system virtual terminal plugin for the Spyder IDE
License: MIT
Group: Development/Languages/Python
URL: https://github.com/spyder-ide/spyder-terminal
+# The PyPI tarfile is the official release but does not include the tests.
+# The Github tarfile does not include the bundled nodejs dependencies in
+# server/static/components. Thus we use the PyPI release and add the testdir
+# from the Github package.
Source0:
https://files.pythonhosted.org/packages/source/s/spyder-terminal/spyder-terminal-%{version}.tar.gz#/%{name}-%{version}-pypi.tar.gz
Source1:
https://github.com/spyder-ide/spyder-terminal/archive/v%{version}.tar.gz#/%{name}-%{version}-gh.tar.gz
Source2: %{name}-rpmlintrc
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python3-coloredlogs
-Requires: python3-pexpect
-Requires: python3-requests
-Requires: python3-terminado
-Requires: python3-tornado
+Requires: python-coloredlogs
+Requires: python-pexpect
+Requires: python-requests
+Requires: python-terminado
+Requires: python-tornado
Requires: spyder >= 4.1.0
# SECTION test requirements
BuildRequires: %{python_module coloredlogs}
BuildRequires: %{python_module flaky}
BuildRequires: %{python_module pexpect}
-BuildRequires: %{python_module pytest-qt}
-BuildRequires: %{python_module pytest-timeout}
-BuildRequires: %{python_module pytest-xvfb}
+# plugin currently not tested. see below
+# BuildRequires: %%{python_module pytest-qt}
+# BuildRequires: %%{python_module pytest-timeout}
+# BuildRequires: %%{python_module pytest-xvfb}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module terminado}
@@ -51,24 +56,16 @@
BuildRequires: spyder >= 4.1.0
BuildRequires: xdpyinfo
# /SECTION
-
-%python_subpackages
-
-%description
-Spyder, the Scientific Python Development Environment, is an
-IDE for researchers, engineers and data analysts.
-
-This package contains the plugin for displaying a virtual terminal
-(OS independent) inside the main Spyder window. It uses a nodejs
-backend.
-
-%package -n spyder-terminal
-Summary: Operating system virtual terminal plugin for the Spyder IDE
-Group: Development/Languages/Python
+BuildArch: noarch
+Provides: spyder-terminal = %{version}-%{release}
+Obsoletes: spyder-terminal < %{version}-%{release}
+%ifpython3
Provides: spyder3-terminal = %{version}-%{release}
Obsoletes: spyder3-terminal < %{version}-%{release}
+%endif
+%python_subpackages
-%description -n spyder-terminal
+%description
Spyder, the Scientific Python Development Environment, is an
IDE for researchers, engineers and data analysts.
@@ -77,12 +74,11 @@
backend.
%prep
-# The PyPI tarfile is the official release but does not include the tests.
-# The Github tarfile does not include the bundled nodejs dependencies in
-# server/static/components. Thus we use the PyPI release and add the testdir
-# from the Github package.
%setup -q -n spyder-terminal-%{version}
-tar --strip-components=1 -xzf %{S:1}
spyder-terminal-%{version}/spyder_terminal/{tests/,server/tests/}
+tar --strip-components=1 -xzf %{SOURCE1} \
+ spyder-terminal-%{version}/conftest.py \
+ spyder-terminal-%{version}/spyder_terminal/tests \
+ spyder-terminal-%{version}/spyder_terminal/server/tests
# fix rpmlint non-executable-script
sed -i -e '/^#!\//, 1d' spyder_terminal/server/__main__.py
@@ -93,25 +89,32 @@
%install
%python_install
-%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%{python_expand # find compiled lang files and remove lang source
%find_lang spyder_terminal
+find %{buildroot}%{$python_sitelib}/spyder_terminal/locale -name '*.po*'
-delete
+%fdupes %{buildroot}%{$python_sitelib}
+}
%check
-export PYTHONDONTWRITEBYTECODE=1
# The unittests fail with a seccomp-bpf crash if the sandbox
# is not disabled on i586
-%ifarch %ix86
export QTWEBENGINE_DISABLE_SANDBOX=1
-%endif
-# tests must be run in DEV mode gh#spyder-ide/spyder-terminal#180
-export SPYDER_DEV=True
-%pytest
+# Only run the server unit tests. The plugin tests abort with
+# breakpoint trap at qapp fixture setup (pytest-qt/qtpy bug)
+%pytest spyder_terminal/server/tests
-%files -n spyder-terminal -f spyder_terminal.lang
+%files -f spyder_terminal.lang %python_files
%defattr(-,root,root,-)
%doc CHANGELOG.md README.rst
%license LICENSE.txt
-%{python3_sitelib}/spyder_terminal
+%dir %{python_sitelib}/spyder_terminal
+%{python_sitelib}/spyder_terminal/{*.py*,server,widgets}
+%pycache_only %{python_sitelib}/spyder_terminal/__pycache__/
+%dir %{python_sitelib}/spyder_terminal/locale
+%dir %{python_sitelib}/spyder_terminal/locale/*
+%dir %{python_sitelib}/spyder_terminal/locale/*/LC_MESSAGES
+%exclude %{python_sitelib}/spyder_terminal/tests
+%exclude %{python_sitelib}/spyder_terminal/server/tests
%{python3_sitelib}/spyder_terminal-%{version}-*.egg-info
%changelog
++++++ python-spyder-terminal-0.3.2-gh.tar.gz ->
python-spyder-terminal-0.4.2-gh.tar.gz ++++++
++++ 10866 lines of diff (skipped)
++++++ python-spyder-terminal-0.3.2-pypi.tar.gz ->
python-spyder-terminal-0.4.2-pypi.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-spyder-terminal/python-spyder-terminal-0.3.2-pypi.tar.gz
/work/SRC/openSUSE:Factory/.python-spyder-terminal.new.3399/python-spyder-terminal-0.4.2-pypi.tar.gz
differ: char 5, line 1
++++++ python-spyder-terminal-rpmlintrc ++++++
--- /var/tmp/diff_new_pack.brFRLh/_old 2020-08-29 20:43:02.385482437 +0200
+++ /var/tmp/diff_new_pack.brFRLh/_new 2020-08-29 20:43:02.389482438 +0200
@@ -1,4 +1,3 @@
-# TODO: find out if all that nodejs stuff is needed
addFilter("hidden-file-or-dir.*components")
addFilter("script-without-shebang.*components")
addFilter("non-executable-script.*components")