Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-jedi for openSUSE:Factory checked in at 2023-01-05 14:59:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-jedi (Old) and /work/SRC/openSUSE:Factory/.python-jedi.new.1563 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jedi" Thu Jan 5 14:59:48 2023 rev:34 rq:1046644 version:0.18.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-jedi/python-jedi.changes 2022-12-14 14:10:39.495388316 +0100 +++ /work/SRC/openSUSE:Factory/.python-jedi.new.1563/python-jedi.changes 2023-01-05 14:59:49.160776822 +0100 @@ -1,0 +2,8 @@ +Tue Jan 3 19:08:04 UTC 2023 - Ben Greiner <c...@bnavigator.de> + +- Move to PEP517 +- Pin parso like upstream does +- Skip a test for embedded systems which unexplicably fails on + backports 15.4_py39 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-jedi.spec ++++++ --- /var/tmp/diff_new_pack.NsgVjD/_old 2023-01-05 14:59:49.688776398 +0100 +++ /var/tmp/diff_new_pack.NsgVjD/_new 2023-01-05 14:59:49.696776391 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-jedi # -# 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,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-jedi Version: 0.18.2 @@ -27,13 +26,16 @@ URL: https://github.com/davidhalter/jedi Source0: https://files.pythonhosted.org/packages/source/j/jedi/jedi-%{version}.tar.gz Source1: %{name}-rpmlintrc -BuildRequires: %{python_module parso >= 0.8.0} +BuildRequires: %{python_module parso >= 0.8.0 with %python-parso < 0.9} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest >= 5} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module typing} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-parso >= 0.8.0 +# The author of jedi and parso takes pinning very seriously, adhere to it! +Requires: (python-parso >= 0.8.0 with python-parso < 0.9) BuildArch: noarch %python_subpackages @@ -42,7 +44,7 @@ IDEs/editors. Its focus is autocompletion and static analysis. -Jedi has support for two different goto functions. Itâs possible to +Jedi has support for two different goto functions. It's possible to search for related names and to list all names in a Python file and infer them. Jedi understands docstrings and you can use Jedi autocompletion in your REPL as well. @@ -54,10 +56,10 @@ %autosetup -p1 -n jedi-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -73,13 +75,14 @@ # https://github.com/davidhalter/jedi/issues/1846 skiptests+=" or (test_completion and conftest and 27)" skiptests+=" or (test_completion and pytest and 142)" - +# This fails on 15.4_py39 server-side but not locally (!?) +skiptests+=" or test_get_default_environment_when_embedded" %pytest -k "not ($skiptests)" %files %{python_files} %doc AUTHORS.txt CHANGELOG.rst README.rst %license LICENSE.txt -%{python_sitelib}/jedi-*-py*.egg-info +%{python_sitelib}/jedi-%{version}.dist-info %{python_sitelib}/jedi/ %changelog