forked from pool/python-pyflakes
Compare commits
8 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| bd15da9ef8 | |||
| 92569ebb04 | |||
| 8342dc1cb5 | |||
| 52b0483b3a | |||
| 46a277430b | |||
| d8be765ca9 | |||
| bff39975c2 | |||
| a4fab8cc34 |
BIN
pyflakes-3.2.0.tar.gz
LFS
BIN
pyflakes-3.2.0.tar.gz
LFS
Binary file not shown.
3
pyflakes-3.4.0.tar.gz
Normal file
3
pyflakes-3.4.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b24f96fafb7d2ab0ec5075b7350b3d2d2218eab42003821c06344973d3ea2f58
|
||||||
|
size 64669
|
||||||
@@ -1,3 +1,38 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 25 09:48:17 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives on SLE-16-based and newer systems
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jul 13 12:37:04 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 3.4.0:
|
||||||
|
* Add support for python 3.14
|
||||||
|
* Add "t-string is missing placeholders" error
|
||||||
|
* Fix annotation erroneously causing a name to be defined with
|
||||||
|
from __future__ import annotations
|
||||||
|
* Add support for always-deferred annotations (PEP 749)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Fri Jan 5 15:26:55 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pyflakes
|
# spec file for package python-pyflakes
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,9 +16,14 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
%bcond_without libalternatives
|
||||||
|
%else
|
||||||
|
%bcond_with libalternatives
|
||||||
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pyflakes
|
Name: python-pyflakes
|
||||||
Version: 3.2.0
|
Version: 3.4.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Passive checker of Python programs
|
Summary: Passive checker of Python programs
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -26,15 +31,21 @@ URL: https://github.com/PyCQA/pyflakes
|
|||||||
Source: https://files.pythonhosted.org/packages/source/p/pyflakes/pyflakes-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pyflakes/pyflakes-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module base >= 3.8}
|
BuildRequires: %{python_module base >= 3.8}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
# the pkg_resources module is required at runtime
|
# the pkg_resources module is required at runtime
|
||||||
Requires: python-setuptools
|
Requires: python-setuptools
|
||||||
Requires(post): update-alternatives
|
|
||||||
Requires(postun):update-alternatives
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%if %{with libalternatives}
|
||||||
|
BuildRequires: alts
|
||||||
|
Requires: alts
|
||||||
|
%else
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -54,7 +65,10 @@ modules with side effects. It's also much faster.
|
|||||||
%python_clone -a %{buildroot}%{_bindir}/pyflakes
|
%python_clone -a %{buildroot}%{_bindir}/pyflakes
|
||||||
|
|
||||||
%check
|
%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
|
%post
|
||||||
%python_install_alternative pyflakes
|
%python_install_alternative pyflakes
|
||||||
@@ -62,6 +76,9 @@ modules with side effects. It's also much faster.
|
|||||||
%postun
|
%postun
|
||||||
%python_uninstall_alternative pyflakes
|
%python_uninstall_alternative pyflakes
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%python_libalternatives_reset_alternative pyflakes
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc NEWS.rst README.rst AUTHORS
|
%doc NEWS.rst README.rst AUTHORS
|
||||||
|
|||||||
Reference in New Issue
Block a user