From 04069276ad9241abbb181bc68e19080449e5c7be1a80176b13ec23b779d577b9 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Thu, 11 Jul 2024 10:49:36 +0000 Subject: [PATCH] Accepting request 1186837 from home:bnavigator:branches:devel:languages:python:numeric - Bump flake8 to 7.1 and it's pinning pycodestyle to 2.12.0 OBS-URL: https://build.opensuse.org/request/show/1186837 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=62 --- python-python-lsp-server.changes | 5 +++++ python-python-lsp-server.spec | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/python-python-lsp-server.changes b/python-python-lsp-server.changes index c083c51..d2233e5 100644 --- a/python-python-lsp-server.changes +++ b/python-python-lsp-server.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jul 11 10:39:17 UTC 2024 - Ben Greiner + +- Bump flake8 to 7.1 and it's pinning pycodestyle to 2.12.0 + ------------------------------------------------------------------- Mon Apr 1 11:03:05 UTC 2024 - Ben Greiner diff --git a/python-python-lsp-server.spec b/python-python-lsp-server.spec index a6e7bf8..0140a91 100644 --- a/python-python-lsp-server.spec +++ b/python-python-lsp-server.spec @@ -35,7 +35,7 @@ BuildRequires: python-rpm-macros >= 20210628 BuildRequires: %{python_module docstring-to-markdown} BuildRequires: %{python_module PyQt5} BuildRequires: %{python_module autopep8 >= 2.0.4 with %python-autopep8 < 2.1.0} -BuildRequires: %{python_module flake8 >= 7 with %python-flake8 < 8} +BuildRequires: %{python_module flake8 >= 7.1 with %python-flake8 < 8} BuildRequires: %{python_module flaky} BuildRequires: %{python_module importlib_metadata > 4.8.3 if %python-base < 3.10} BuildRequires: %{python_module jedi >= 0.17.2 with %python-jedi < 0.20} @@ -72,12 +72,12 @@ Suggests: python-yapf >= 0.33 Suggests: python-whatthepatch >= 1.0.2 Conflicts: python-whatthepatch >= 2 # SECTION flake8 pins -Suggests: python-flake8 >= 7 +Suggests: python-flake8 >= 7.1 Conflicts: python-flake8 >= 8 Suggests: python-mccabe >= 0.7.0 Conflicts: python-mccabe >= 0.8.0 -Suggests: python-pycodestyle >= 2.11.0 -Conflicts: python-pycodestyle >= 2.12.0 +Suggests: python-pycodestyle >= 2.12.0 +Conflicts: python-pycodestyle >= 2.13.0 Suggests: python-pyflakes >= 3.2.0 Conflicts: python-pyflakes >= 3.3.0 # /SECTION @@ -107,6 +107,7 @@ will be enabled: %autosetup -p1 -n python-lsp-server-%{version} # Remove pytest addopts sed -i '/addopts/d' pyproject.toml +sed -i 's/"pycodestyle>=2.11.0,<2.12.0",/"pycodestyle>=2.12.0,<2.13.0",/' pyproject.toml %build %pyproject_wheel