Sync from SUSE:SLFO:Main python-pyflakes revision ae9182602748b9b5d8a3a18cb072104b
This commit is contained in:
BIN
pyflakes-3.1.0.tar.gz
(Stored with Git LFS)
BIN
pyflakes-3.1.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
pyflakes-3.2.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
pyflakes-3.2.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pyflakes
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 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.1.0
|
||||
Version: 3.2.0
|
||||
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