Sync from SUSE:SLFO:Main python-flake8 revision 9133794d1a9f609669091a26b6bcf717

This commit is contained in:
Adrian Schröter 2024-12-13 11:26:33 +01:00
parent 1986f1b05c
commit b9b719d441
4 changed files with 33 additions and 12 deletions

BIN
flake8-6.1.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
flake8-7.1.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Wed Aug 21 17:52:22 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 7.1.1:
* Properly preserve escaped `{` and `}` in fstrings in logical
lines in 3.12+.
-------------------------------------------------------------------
Mon Jun 17 06:31:31 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 7.1.0:
* require pycodestyle 2.12.0
-------------------------------------------------------------------
Fri Jan 5 15:25:36 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 7.0.0:
* Remove ``--include-in-doctest`` and ``--exclude-from-doctest``
options.
* Pyflakes has been updated to >= 3.2.0, < 3.3.0
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Aug 8 06:18:12 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com> Tue Aug 8 06:18:12 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
@ -97,7 +118,7 @@ Tue Nov 9 08:06:25 UTC 2021 - Martin Liška <mliska@suse.cz>
Fri Sep 24 09:06:44 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com> Fri Sep 24 09:06:44 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
- Add ignore-selectable-groups-warning.patch: - Add ignore-selectable-groups-warning.patch:
* Ignore unfixed warning. * Ignore unfixed warning.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jun 6 12:34:59 UTC 2021 - Dirk Müller <dmueller@suse.com> Sun Jun 6 12:34:59 UTC 2021 - Dirk Müller <dmueller@suse.com>
@ -229,7 +250,7 @@ Thu May 14 08:48:44 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
* optparse-style action='callback' setting for options is deprecated, * optparse-style action='callback' setting for options is deprecated,
use argparse action classes instead. This will be removed in a future use argparse action classes instead. This will be removed in a future
version (See also GitLab!341) version (See also GitLab!341)
- remove remove_mock_dependency.patch - remove remove_mock_dependency.patch
- remove pyflakes-version.patch - remove pyflakes-version.patch
------------------------------------------------------------------- -------------------------------------------------------------------

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-flake8 # spec file for package python-flake8
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-flake8 Name: python-flake8
Version: 6.1.0 Version: 7.1.1
Release: 0 Release: 0
Summary: Modular source code checker: pep8, pyflakes and co Summary: Modular source code checker: pep8, pyflakes and co
License: MIT License: MIT
@ -34,17 +34,17 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module mccabe >= 0.7.0 with %python-mccabe < 0.8.0} BuildRequires: %{python_module mccabe >= 0.7.0 with %python-mccabe < 0.8.0}
BuildRequires: %{python_module pycodestyle >= 2.11.0 with %python-pycodestyle < 2.12.0} BuildRequires: %{python_module pycodestyle >= 2.12.0 with %python-pycodestyle < 2.13.0}
BuildRequires: %{python_module pyflakes >= 3.1.0 with %python-pyflakes < 3.2.0} BuildRequires: %{python_module pyflakes >= 3.2.0 with %python-pyflakes < 3.3.0}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
# /SECTION # /SECTION
BuildArch: noarch BuildArch: noarch
# https://flake8.pycqa.org/en/latest/faq.html#why-does-flake8-use-ranges-for-its-dependencies # https://flake8.pycqa.org/en/latest/faq.html#why-does-flake8-use-ranges-for-its-dependencies
Requires: (python-mccabe >= 0.7.0 with python-mccabe < 0.8.0) Requires: (python-mccabe >= 0.7.0 with python-mccabe < 0.8.0)
Requires: (python-pycodestyle >= 2.11.0 with python-pycodestyle < 2.12.0) Requires: (python-pycodestyle >= 2.12.0 with python-pycodestyle < 2.13.0)
Requires: (python-pyflakes >= 3.1.0 with python-pyflakes < 3.2.0) Requires: (python-pyflakes >= 3.2.0 with python-pyflakes < 3.3.0)
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun):update-alternatives Requires(postun): update-alternatives
%python_subpackages %python_subpackages
%description %description