15
0

Accepting request 1043222 from devel:languages:python

- 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]

OBS-URL: https://build.opensuse.org/request/show/1043222
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-deprecated?expand=0&rev=3
This commit is contained in:
2022-12-16 16:51:44 +00:00
committed by Git OBS Bridge
4 changed files with 22 additions and 8 deletions

View File

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

View File

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

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Thu Dec 15 21:07:44 UTC 2022 - Dirk Müller <dmueller@suse.com>
- 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

View File

@@ -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}/*