1
0
forked from pool/python-flake8

Accepting request 1137099 from devel:languages:python

- 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

  * Ignore unfixed warning.
- remove remove_mock_dependency.patch

OBS-URL: https://build.opensuse.org/request/show/1137099
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=44
This commit is contained in:
Dominique Leuenberger 2024-01-06 16:29:14 +00:00 committed by Git OBS Bridge
commit 63e93a1c41
4 changed files with 17 additions and 9 deletions

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

Binary file not shown.

3
flake8-7.0.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9b649d29d4bc2562e2d814ffdc63b90828e3f43b50bc146021901b4446bae7fb
size 138456

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
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>

View File

@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-flake8
Version: 6.1.0
Version: 7.0.0
Release: 0
Summary: Modular source code checker: pep8, pyflakes and co
License: MIT
@ -35,14 +35,14 @@ BuildRequires: python-rpm-macros
# SECTION test requirements
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 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}
# /SECTION
BuildArch: noarch
# 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-pycodestyle >= 2.11.0 with python-pycodestyle < 2.12.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(postun):update-alternatives
%python_subpackages