forked from pool/python-pyflakes
Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 46a277430b | |||
| d8be765ca9 | |||
| bff39975c2 | |||
| a4fab8cc34 |
BIN
pyflakes-3.2.0.tar.gz
LFS
BIN
pyflakes-3.2.0.tar.gz
LFS
Binary file not shown.
BIN
pyflakes-3.3.2.tar.gz
LFS
Normal file
BIN
pyflakes-3.3.2.tar.gz
LFS
Normal file
Binary file not shown.
@@ -1,3 +1,23 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 15 07:53:16 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 3.3.2:
|
||||
* Fix crash with global / nonlocal in class bodies (regressed
|
||||
in 3.3.0)
|
||||
* Allow assignment expressions to redefine annotations
|
||||
(regressed in 3.3.0)
|
||||
* Add __debuggerskip__ as a special local
|
||||
* Allow assignment expressions to redefine outer names
|
||||
* Drop support for EOL python 3.8
|
||||
* Add new error for unused global / nonlocal names
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 2 11:40:14 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Add python-pytest to BuildRequires
|
||||
- Use %pytest instead of %pyunitest to be able to skip tests
|
||||
- Temporarily disable test_errors_syntax test on Python 3.13
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 5 15:26:55 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pyflakes
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 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-pyflakes
|
||||
Version: 3.2.0
|
||||
Version: 3.3.2
|
||||
Release: 0
|
||||
Summary: Passive checker of Python programs
|
||||
License: MIT
|
||||
@@ -26,6 +26,7 @@ URL: https://github.com/PyCQA/pyflakes
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pyflakes/pyflakes-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
@@ -33,7 +34,7 @@ BuildRequires: python-rpm-macros
|
||||
# the pkg_resources module is required at runtime
|
||||
Requires: python-setuptools
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -54,7 +55,10 @@ modules with side effects. It's also much faster.
|
||||
%python_clone -a %{buildroot}%{_bindir}/pyflakes
|
||||
|
||||
%check
|
||||
%pyunittest discover -v
|
||||
# Disable test_errors_syntax test until Python 3.13 has been
|
||||
# released, see: https://github.com/PyCQA/pyflakes/issues/811
|
||||
python313_args=("-k" "not test_errors_syntax")
|
||||
%pytest "${$python_args[@]}"
|
||||
|
||||
%post
|
||||
%python_install_alternative pyflakes
|
||||
|
||||
Reference in New Issue
Block a user