Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-python-lsp-server for
openSUSE:Factory checked in at 2022-01-09 22:50:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-lsp-server (Old)
and /work/SRC/openSUSE:Factory/.python-python-lsp-server.new.1892 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-lsp-server"
Sun Jan 9 22:50:09 2022 rev:11 rq:944960 version:1.3.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-python-lsp-server/python-python-lsp-server.changes
2021-12-20 21:06:22.830938223 +0100
+++
/work/SRC/openSUSE:Factory/.python-python-lsp-server.new.1892/python-python-lsp-server.changes
2022-01-09 22:50:28.915300523 +0100
@@ -1,0 +2,6 @@
+Sat Jan 8 21:37:57 UTC 2022 - Benjamin Greiner <[email protected]>
+
+- Provide pylint in correct flavor for test
+- Cleanup python36 flavor conditionals
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-lsp-server.spec ++++++
--- /var/tmp/diff_new_pack.5ExtmE/_old 2022-01-09 22:50:29.367300926 +0100
+++ /var/tmp/diff_new_pack.5ExtmE/_new 2022-01-09 22:50:29.371300930 +0100
@@ -33,7 +33,10 @@
BuildRequires: %{python_module autopep8 >= 1.6.0 with %python-autopep8 <
1.7.0}
BuildRequires: %{python_module flake8 >= 4.0.0 with %python-flake8 < 4.1.0}
BuildRequires: %{python_module flaky}
+BuildRequires: %{python_module matplotlib}
BuildRequires: %{python_module mccabe >= 0.6.0}
+BuildRequires: %{python_module numpy}
+BuildRequires: %{python_module pandas}
BuildRequires: %{python_module pluggy}
BuildRequires: %{python_module pycodestyle >= 2.8.0 with %python-pycodestyle
< 2.9.0}
BuildRequires: %{python_module pydocstyle >= 2.0.0}
@@ -44,9 +47,7 @@
BuildRequires: %{python_module rope >= 0.10.5}
BuildRequires: %{python_module ujson >= 3.0.0}
BuildRequires: %{python_module yapf}
-BuildRequires: %{python_module matplotlib if (%python-base without
python36-base)}
-BuildRequires: %{python_module numpy if (%python-base without python36-base)}
-BuildRequires: %{python_module pandas if (%python-base without
python36-base)}
+
# /SECTION
BuildRequires: fdupes
Requires: python-jedi >= 0.17.2
@@ -101,14 +102,17 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
+%{python_expand # provide pylint command in correct flavor
+mkdir -p build/testbin
+ln -s %{_bindir}/pylint-%{$python_bin_suffix} build/testbin/pylint
+}
+export PATH="$PWD/build/testbin:$PATH"
# Remove pytest addopts
rm setup.cfg
%if 0%{?sle_version} >= 150000 && 0%{?is_opensuse}
# Test failure on Leap 15 due to mock hiccup
donttest+=" or test_flake8_config_param or test_flake8_executable_param"
%endif
-# don't test numpy on python36: NEP 29
-python36_donttest=" or test_numpy or test_pandas or test_matplotlib"
%pytest -ra -k "not (dummy_k_expr_start ${donttest} ${$python_donttest})" -vv
%post