From 78a6f8509609fbc483ae041f812edcf053280864c299a0edc036d4eb1ed71010 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 28 Apr 2023 08:05:19 +0000 Subject: [PATCH] - add sle15_python_module_pythons (jsc#PED-68) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-bugbear?expand=0&rev=25 --- flake8-bugbear-23.2.13.tar.gz | 3 --- flake8-bugbear-23.3.23.tar.gz | 3 +++ python-flake8-bugbear.changes | 14 ++++++++++++++ python-flake8-bugbear.spec | 8 ++++---- 4 files changed, 21 insertions(+), 7 deletions(-) delete mode 100644 flake8-bugbear-23.2.13.tar.gz create mode 100644 flake8-bugbear-23.3.23.tar.gz diff --git a/flake8-bugbear-23.2.13.tar.gz b/flake8-bugbear-23.2.13.tar.gz deleted file mode 100644 index cf53566..0000000 --- a/flake8-bugbear-23.2.13.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:39259814a83f33c8409417ee12dd4050c9c0bb4c8707c12fc18ae62b2f3ddee1 -size 52898 diff --git a/flake8-bugbear-23.3.23.tar.gz b/flake8-bugbear-23.3.23.tar.gz new file mode 100644 index 0000000..1e1dd4e --- /dev/null +++ b/flake8-bugbear-23.3.23.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ea565bdb87b96b56dc499edd6cc3ba7f695373d902a5f56c989b74fad7c7719d +size 54020 diff --git a/python-flake8-bugbear.changes b/python-flake8-bugbear.changes index 0bac8f8..129e228 100644 --- a/python-flake8-bugbear.changes +++ b/python-flake8-bugbear.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Fri Apr 28 08:01:57 UTC 2023 - Dirk Müller + +- update to 23.3.23: + * flake8-bugbear is now >= 3.8.1 project like flake8>=6.0.0 + * This has allowed some more modern AST usage cleanup and less + CI running etc. + * B030: Fix crash on certain unusual except handlers (e.g. + ``except a[0].b:``) + * B950: now ignores 'noqa' and 'type: ignore' comments. + * B005: Do not flag when using the ``strip()`` method on an + imported module. + * B030: Allow calls and starred expressions in except handlers. + ------------------------------------------------------------------- Wed Feb 15 19:44:55 UTC 2023 - Dirk Müller diff --git a/python-flake8-bugbear.spec b/python-flake8-bugbear.spec index d08a1c4..8ea7c7f 100644 --- a/python-flake8-bugbear.spec +++ b/python-flake8-bugbear.spec @@ -19,7 +19,7 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-flake8-bugbear -Version: 23.2.13 +Version: 23.3.23 Release: 0 Summary: A plugin for flake8 finding likely bugs and design problems in your program License: MIT @@ -27,8 +27,8 @@ Group: Development/Languages/Python URL: https://github.com/PyCQA/flake8-bugbear Source: https://files.pythonhosted.org/packages/source/f/flake8-bugbear/flake8-bugbear-%{version}.tar.gz BuildRequires: %{python_module attrs >= 19.2.0} -BuildRequires: %{python_module base >= 3.6} -BuildRequires: %{python_module flake8 >= 3.0.0} +BuildRequires: %{python_module base >= 3.8} +BuildRequires: %{python_module flake8 >= 6.0.0} BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module hypothesmith} BuildRequires: %{python_module pytest} @@ -36,7 +36,7 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-attrs >= 19.2.0 -Requires: python-flake8 >= 3.0.0 +Requires: python-flake8 >= 6.0.0 BuildArch: noarch %python_subpackages