From cec1b07cdeb18aef037f9a8cce5242ceb648c3fbfbd56402b6b8caace3f2e3e1 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 26 Sep 2024 11:52:10 +0000 Subject: [PATCH] Accepting request 1203781 from home:bnavigator:branches:devel:languages:python:numeric - Revert restriction to python3. If the aithor of previous "fix" actually had thought about the error to be fixed ... OBS-URL: https://build.opensuse.org/request/show/1203781 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=167 --- python-pylint.changes | 5 +++++ python-pylint.spec | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/python-pylint.changes b/python-pylint.changes index 186a5ba..1f5288d 100644 --- a/python-pylint.changes +++ b/python-pylint.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Sep 26 09:24:16 UTC 2024 - Ben Greiner + +- Revert restriction to python3. + ------------------------------------------------------------------- Wed Sep 25 11:52:49 UTC 2024 - ecsos diff --git a/python-pylint.spec b/python-pylint.spec index aa9246c..8f3981d 100644 --- a/python-pylint.spec +++ b/python-pylint.spec @@ -17,7 +17,6 @@ %bcond_without tests -%global pythons python3 %{?sle15_python_module_pythons} Name: python-pylint Version: 3.3.1 @@ -42,7 +41,9 @@ Requires: (python-mccabe >= 0.6 with python-mccabe < 0.8) %if 0%{?python_version_nodots} < 311 Requires: python-tomli >= 1.1.0 %endif -Requires: python-typing-extensions >= 4.9 +%if 0%{?python_version_nodots} < 310 +Requires: python-typing-extensions >= 3.10 +%endif %if %{with tests} # SECTION pylint deps BuildRequires: %{python_module astroid >= 3.3.4 with %python-astroid < 3.4.0~dev0} @@ -53,7 +54,7 @@ BuildRequires: %{python_module mccabe >= 0.6 with %python-mccabe < 0.8} BuildRequires: %{python_module platformdirs >= 2.2} BuildRequires: %{python_module tomli >= 1.1.0 if %python-base < 3.11} BuildRequires: %{python_module tomlkit >= 0.10.1} -BuildRequires: %{python_module typing-extensions >= 4.9} +BuildRequires: %{python_module typing-extensions >= 3.10 if %python-base < 3.10} # /SECTION # SECTION test deps BuildRequires: %{python_module GitPython > 3} @@ -65,7 +66,7 @@ BuildRequires: %{python_module requests} # /SECTION %endif Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages