- Update to version 4.0.5:

- Drop support for EOL Python 2.7 and 3.4
  - Add python_requires to help pip
  - Upgrade Python syntax with pyupgrade --py3-plus
  - Require pytest 5+ to remove hasattr('from_parent') check
  - Fix typo: setup.cfg or pytest.ini
  - implement collect
  - switch to cooperative ctors and correct node trees to future
    proof
  - Remove FlakesItem.collect
  - Remove add_marker backward compat check
  - Remove tokenize.open backward compat
  - Prepare for upcoming pytest 7.0 deprecations

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-flakes?expand=0&rev=11
This commit is contained in:
Matej Cepl 2022-01-10 21:29:02 +00:00 committed by Git OBS Bridge
parent 7920a68d49
commit 5304c72646
4 changed files with 22 additions and 5 deletions

View File

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

View File

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

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Mon Jan 10 21:23:01 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Update to version 4.0.5:
- Drop support for EOL Python 2.7 and 3.4
- Add python_requires to help pip
- Upgrade Python syntax with pyupgrade --py3-plus
- Require pytest 5+ to remove hasattr('from_parent') check
- Fix typo: setup.cfg or pytest.ini
- implement collect
- switch to cooperative ctors and correct node trees to future
proof
- Remove FlakesItem.collect
- Remove add_marker backward compat check
- Remove tokenize.open backward compat
- Prepare for upcoming pytest 7.0 deprecations
-------------------------------------------------------------------
Thu Aug 13 08:50:18 UTC 2020 - Benjamin Greiner <code@bnavigator.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pytest-flakes
#
# Copyright (c) 2020 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,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-flakes
Version: 4.0.1
Version: 4.0.5
Release: 0
Summary: Pytest plugin to check source code with pyflakes
License: MIT