Compare commits

1 Commits
main ... 1.1

4 changed files with 7 additions and 25 deletions

BIN
pyflakes-3.1.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
pyflakes-3.2.0.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,17 +1,3 @@
-------------------------------------------------------------------
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>
- update to 3.2.0:
* Add support for *T (TypeVarTuple) and **P (ParamSpec) in PEP
695 annotations.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Aug 8 06:20:25 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com> Tue Aug 8 06:20:25 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pyflakes # spec file for package python-pyflakes
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# 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
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-pyflakes Name: python-pyflakes
Version: 3.2.0 Version: 3.1.0
Release: 0 Release: 0
Summary: Passive checker of Python programs Summary: Passive checker of Python programs
License: MIT License: MIT
@@ -26,7 +26,6 @@ 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
@@ -34,7 +33,7 @@ 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(post): update-alternatives
Requires(postun): update-alternatives Requires(postun):update-alternatives
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@@ -55,10 +54,7 @@ modules with side effects. It's also much faster.
%python_clone -a %{buildroot}%{_bindir}/pyflakes %python_clone -a %{buildroot}%{_bindir}/pyflakes
%check %check
# Disable test_errors_syntax test until Python 3.13 has been %pyunittest discover -v
# 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