17
0

8 Commits

Author SHA256 Message Date
a742dd64a4 Accepting request 1301231 from devel:languages:python
- Convert to libalternatives on SLE-16-based and newer systems

OBS-URL: https://build.opensuse.org/request/show/1301231
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=42
2025-08-25 18:36:19 +00:00
dcd6a0eb64 - Convert to libalternatives on SLE-16-based and newer systems
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=79
2025-08-25 09:48:42 +00:00
947e68b598 Accepting request 1292497 from devel:languages:python
- 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)

OBS-URL: https://build.opensuse.org/request/show/1292497
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=41
2025-07-17 15:16:55 +00:00
e99e0b8f10 - 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=77
2025-07-13 12:37:15 +00:00
735d4d26c9 Accepting request 1269465 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1269465
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=40
2025-05-20 07:30:53 +00:00
32f0797f38 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=75
2025-04-15 07:53:21 +00:00
09ac0e7aaa Accepting request 1191180 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1191180
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=39
2024-08-06 07:07:50 +00:00
44ae35850f Accepting request 1191175 from home:glaubitz:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1191175
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=73
2024-08-02 11:51:41 +00:00
4 changed files with 60 additions and 8 deletions

Binary file not shown.

3
pyflakes-3.4.0.tar.gz Normal file
View File

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

View File

@@ -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>

View File

@@ -1,7 +1,7 @@
#
# 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
# 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}
Name: python-pyflakes
Version: 3.2.0
Version: 3.4.0
Release: 0
Summary: Passive checker of Python programs
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
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# the pkg_resources module is required at runtime
Requires: python-setuptools
Requires(post): update-alternatives
Requires(postun):update-alternatives
BuildArch: noarch
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
%endif
%python_subpackages
%description
@@ -54,7 +65,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
@@ -62,6 +76,9 @@ modules with side effects. It's also much faster.
%postun
%python_uninstall_alternative pyflakes
%pre
%python_libalternatives_reset_alternative pyflakes
%files %{python_files}
%license LICENSE
%doc NEWS.rst README.rst AUTHORS