From 709e18e1492301b8ce66fa0b315044dec82f3aff78ead44789013d4c58169d0d Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 15 Dec 2022 21:10:22 +0000 Subject: [PATCH] - update to 0.18.2 (bsc#1206225): * Add ``zoneinfo`` to list of standard library modules * Fix registering of options with Flake8 >= 6.0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-deprecated?expand=0&rev=5 --- flake8-deprecated-1.3.tar.gz | 3 --- flake8-deprecated-2.0.1.tar.gz | 3 +++ python-flake8-deprecated.changes | 13 +++++++++++++ python-flake8-deprecated.spec | 11 ++++++----- 4 files changed, 22 insertions(+), 8 deletions(-) delete mode 100644 flake8-deprecated-1.3.tar.gz create mode 100644 flake8-deprecated-2.0.1.tar.gz diff --git a/flake8-deprecated-1.3.tar.gz b/flake8-deprecated-1.3.tar.gz deleted file mode 100644 index 5c8713e..0000000 --- a/flake8-deprecated-1.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9fa5a0c5c81fb3b34c53a0e4f16cd3f0a3395078cfd4988011cbab5fb0afa7f7 -size 12386 diff --git a/flake8-deprecated-2.0.1.tar.gz b/flake8-deprecated-2.0.1.tar.gz new file mode 100644 index 0000000..ac08a82 --- /dev/null +++ b/flake8-deprecated-2.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c7659a530aa76c3ad8be0c1e8331ed56d882ef8bfba074501a545bb3352b0c23 +size 13437 diff --git a/python-flake8-deprecated.changes b/python-flake8-deprecated.changes index bd68d48..9521e95 100644 --- a/python-flake8-deprecated.changes +++ b/python-flake8-deprecated.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Dec 15 21:07:44 UTC 2022 - Dirk Müller + +- update to 2.0.1: + * Handle subscripts in method calls, thanks to @The-Compiler for the + report. [gforcada] + * Test the code in all python versions supported on GitHub actions. + [gforcada] + * Pin dependencies, to ensure reproducible builds. [gforcada] + * Drop python 2.7 and only support 3.7+. [gforcada] + * Ensure all deprecation aliases work. [gforcada] + * Check decorators as well. [gforcada] + ------------------------------------------------------------------- Wed May 19 07:00:15 UTC 2021 - pgajdos@suse.com diff --git a/python-flake8-deprecated.spec b/python-flake8-deprecated.spec index bdf7c8b..464ae5e 100644 --- a/python-flake8-deprecated.spec +++ b/python-flake8-deprecated.spec @@ -1,7 +1,7 @@ # # spec file for package python-flake8-deprecated # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,20 +18,21 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-flake8-deprecated -Version: 1.3 +Version: 2.0.1 Release: 0 Summary: Flake8 deprecations plugin License: GPL-2.0-only Group: Development/Languages/Python URL: https://github.com/gforcada/flake8-deprecated Source: https://files.pythonhosted.org/packages/source/f/flake8-deprecated/flake8-deprecated-%{version}.tar.gz +BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-flake8 >= 3.0.0 +Requires: python-flake8 >= 5.0.4 BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module flake8 >= 3.0.0} +BuildRequires: %{python_module flake8 >= 5.0.4} BuildRequires: %{python_module pytest} # /SECTION %python_subpackages @@ -54,7 +55,7 @@ they should be replaced with. %pytest run_tests.py %files %{python_files} -%license LICENSE LICENSE.rst +%license LICENSE %doc CHANGES.rst README.rst %{python_sitelib}/*