From c59b36cecb9247c7494bc9492dfda498a0f2ecfd Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Mon, 21 Mar 2022 19:40:31 +0100 Subject: [PATCH] - updated to 0.17.2 --- python-jedi.spec | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/python-jedi.spec b/python-jedi.spec index 68ee1e6..2d29291 100644 --- a/python-jedi.spec +++ b/python-jedi.spec @@ -8,13 +8,14 @@ Summary: An autocompletion tool for Python that can be used for text editors Summary(pl.UTF-8): Narzędzie do automatycznego dopełaniania dla Pythona, nadające się do użycia w edytorach Name: python-jedi -Version: 0.17.0 -Release: 2 +# keep 0.17.x here for python2 support +Version: 0.17.2 +Release: 1 License: MIT (Jedi), Apache v2.0 (typeshed) Group: Libraries/Python #Source0Download: https://pypi.org/simple/jedi/ Source0: https://files.pythonhosted.org/packages/source/j/jedi/jedi-%{version}.tar.gz -# Source0-md5: d6a8e5832939c51dceda474b720696f6 +# Source0-md5: f012668907d76cebe9c4766f3b806fcf URL: https://pypi.org/project/jedi/ %if %{with python2} BuildRequires: python-modules >= 1:2.7 @@ -23,8 +24,9 @@ BuildRequires: python-setuptools BuildRequires: python-colorama BuildRequires: python-docopt BuildRequires: python-parso >= 0.7.0 +BuildRequires: python-parso < 0.8.0 BuildRequires: python-pytest >= 3.9.0 -BuildRequires: python-pytest < 5.0.0 +BuildRequires: python-pytest < 5 %endif %endif %if %{with python3} @@ -34,16 +36,16 @@ BuildRequires: python3-setuptools BuildRequires: python3-colorama BuildRequires: python3-docopt BuildRequires: python3-parso >= 0.7.0 +BuildRequires: python3-parso < 0.8.0 BuildRequires: python3-pytest >= 3.9.0 -BuildRequires: python3-pytest < 5.0.0 +BuildRequires: python3-pytest < 5 %endif %endif BuildRequires: rpm-pythonprov BuildRequires: rpmbuild(macros) >= 1.714 %if %{with doc} -BuildRequires: python3-graphviz -BuildRequires: python3-parso >= 0.7.0 -BuildRequires: sphinx-pdg-3 +BuildRequires: python-parso >= 0.7.0 +BuildRequires: sphinx-pdg-2 %endif Requires: python-modules >= 1:2.7 BuildArch: noarch @@ -100,6 +102,7 @@ Dokumentacja API modułu Pythona jedi. %py_build %if %{with tests} +PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \ %{__python} -m pytest %endif %endif @@ -108,13 +111,14 @@ Dokumentacja API modułu Pythona jedi. %py3_build %if %{with tests} +PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \ %{__python3} -m pytest %endif %endif %if %{with doc} %{__make} -C docs html \ - SPHINXBUILD=sphinx-build-3 + SPHINXBUILD=sphinx-build-2 %endif %install -- 2.44.0