Hello community, here is the log from the commit of package python-jedi for openSUSE:Factory checked in at 2020-04-15 19:53:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-jedi (Old) and /work/SRC/openSUSE:Factory/.python-jedi.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jedi" Wed Apr 15 19:53:11 2020 rev:22 rq:793777 version:0.16.0+git55.17b3611c Changes: -------- --- /work/SRC/openSUSE:Factory/python-jedi/python-jedi.changes 2020-03-27 00:26:39.432298132 +0100 +++ /work/SRC/openSUSE:Factory/.python-jedi.new.2738/python-jedi.changes 2020-04-15 19:53:11.737563843 +0200 @@ -1,0 +2,14 @@ +Mon Apr 13 10:01:10 UTC 2020 - Benjamin Greiner <[email protected]> + +- tell Leap 15.1 and SLE 15 SP1 pytest to ignore test/__init__.py + so that a test file with purposely placed syntax errors does not + trip the entire discovery + +------------------------------------------------------------------- +Thu Apr 9 18:59:55 UTC 2020 - Benjamin Greiner <[email protected]> + +- reenable (most) unittests +- remove unbundle.patch -- according to upstream, typeshed is meant + to be bundled. + +------------------------------------------------------------------- Old: ---- unbundle.patch New: ---- python-jedi-rpmlintrc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-jedi.spec ++++++ --- /var/tmp/diff_new_pack.c1aOQS/_old 2020-04-15 19:53:12.353564120 +0200 +++ /var/tmp/diff_new_pack.c1aOQS/_new 2020-04-15 19:53:12.357564122 +0200 @@ -25,16 +25,14 @@ Group: Development/Languages/Python URL: https://github.com/davidhalter/jedi Source0: jedi-%{version}.tar.xz -Patch0: unbundle.patch +Source1: %{name}-rpmlintrc BuildRequires: %{python_module parso >= 0.5.0} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module typing} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: python-typeshed Requires: python-parso >= 0.5.0 -Requires: python-typeshed BuildArch: noarch %python_subpackages @@ -53,8 +51,6 @@ %prep %setup -q -n jedi-%{version} -%patch0 -p1 -rm -Rf jedi/third_party %build %python_build @@ -66,10 +62,16 @@ %check export PYTHONDONTWRITEBYTECODE=1 export LANG="en_US.UTF-8" -# Do not execute tests -# Reason here is that the upstream uses bundled typeshed of exact revision and we can't guarantee that -# Something like 20-30 tests always break with any typeshed change, and as such we can't do much -# %%pytest -k "not (test_venv_and_pths or test_completion or test_builtin_details or test_static_analysis or test_os_path_join or test_import or test_compiled_signature or test_module__file__ or test_sqlite3_conversion)" +skiptests="test_venv_and_pths" +skiptests+=" or test_sqlite3_conversion" +# some architectures are too slow for these optimizer devel checks +skiptests+=" or test_speed" +%if 0%{?sle_version} == 150100 + # the python 2 pytest test discovery in Leap 15.1 and SLE15 SP1 + # trips on purposely placed syntax errors in test/completion/imports.py + %define pytestignore --ignore test/__init__.py +%endif +%pytest -k "not ($skiptests)" %{?pytestignore} %files %{python_files} %doc AUTHORS.txt CHANGELOG.rst README.rst ++++++ python-jedi-rpmlintrc ++++++ addFilter("zero-length.*typeshed.*pyi")
