forked from pool/python-flake8
- Add ignore-selectable-groups-warning.patch:
* Ignore unfixed warning. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=75
This commit is contained in:
parent
25b6b7566d
commit
005b78d133
21
ignore-selectable-groups-warning.patch
Normal file
21
ignore-selectable-groups-warning.patch
Normal file
@ -0,0 +1,21 @@
|
||||
From d34581b83f75e12e2c021577aa2523eea8a9b590 Mon Sep 17 00:00:00 2001
|
||||
From: Anthony Sottile <asottile@umich.edu>
|
||||
Date: Sun, 15 Aug 2021 18:47:16 -0400
|
||||
Subject: [PATCH] test using python3.10
|
||||
|
||||
---
|
||||
.github/workflows/main.yml | 3 +++
|
||||
pytest.ini | 4 +++-
|
||||
tests/integration/test_main.py | 8 ++++++--
|
||||
tests/unit/test_plugin_type_manager.py | 21 +++++++--------------
|
||||
4 files changed, 19 insertions(+), 17 deletions(-)
|
||||
|
||||
Index: flake8-3.9.2/pytest.ini
|
||||
===================================================================
|
||||
--- flake8-3.9.2.orig/pytest.ini
|
||||
+++ flake8-3.9.2/pytest.ini
|
||||
@@ -8,3 +8,4 @@ filterwarnings =
|
||||
# python3 raises this when importing setuptools
|
||||
ignore:the imp module is deprecated in favour of importlib.*:PendingDeprecationWarning
|
||||
ignore:the imp module is deprecated in favour of importlib.*:DeprecationWarning
|
||||
+ ignore:SelectableGroups:DeprecationWarning
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 24 09:06:44 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Add ignore-selectable-groups-warning.patch:
|
||||
* Ignore unfixed warning.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 6 12:34:59 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -26,6 +26,7 @@ License: MIT
|
||||
URL: https://gitlab.com/pycqa/flake8
|
||||
Source: https://files.pythonhosted.org/packages/source/f/flake8/flake8-%{version}.tar.gz
|
||||
Patch0: fix-mock-patch-with-python3.4.patch
|
||||
Patch1: ignore-selectable-groups-warning.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
|
Loading…
Reference in New Issue
Block a user