Commit Graph

76 Commits

Author SHA256 Message Date
Dominique Leuenberger
d89d35b47b Accepting request 1137081 from devel:languages:python
- update to 3.2.0:
  * Add support for *T (TypeVarTuple) and **P (ParamSpec) in PEP
    695 annotations.

OBS-URL: https://build.opensuse.org/request/show/1137081
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=38
2024-01-06 16:29:08 +00:00
663b6eb20b - update to 3.2.0:
* Add support for *T (TypeVarTuple) and **P (ParamSpec) in PEP
    695 annotations.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=71
2024-01-05 15:27:45 +00:00
Dominique Leuenberger
d9e8e49441 Accepting request 1102806 from devel:languages:python
- Update to 3.1.0:
  * Drop support for EOL python 3.6 / 3.7
  * Remove ``ContinueInFinally`` check (only relevant in python < 3.8)
  * Fix forward annotations inside a nested scope
  * Produce an error when a definition shadows an unused variable
  * Fix accessed global annotation being redefined in a local scope
  * Allow redefinition of functions across ``match`` arms
  * Fix potential ``None`` for ``lineno`` during tokenization errors
  * Add support for PEP 695 and python 3.12
- Switch to pyproject macros.
- Drop patch py3114.patch, included now.

OBS-URL: https://build.opensuse.org/request/show/1102806
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=37
2023-08-14 20:35:01 +00:00
Steve Kowalik
06f945d7ec - Update to 3.1.0:
* Drop support for EOL python 3.6 / 3.7
  * Remove ``ContinueInFinally`` check (only relevant in python < 3.8)
  * Fix forward annotations inside a nested scope
  * Produce an error when a definition shadows an unused variable
  * Fix accessed global annotation being redefined in a local scope
  * Allow redefinition of functions across ``match`` arms
  * Fix potential ``None`` for ``lineno`` during tokenization errors
  * Add support for PEP 695 and python 3.12
- Switch to pyproject macros.
- Drop patch py3114.patch, included now.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=69
2023-08-08 06:21:28 +00:00
Dominique Leuenberger
f6af1b08fb Accepting request 1098327 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1098327
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=36
2023-07-12 15:27:55 +00:00
447798f6ad Accepting request 1098186 from home:mcalabkova:branches:devel:languages:python
- add upstream py3114.patch

OBS-URL: https://build.opensuse.org/request/show/1098186
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=67
2023-07-12 08:24:22 +00:00
Dominique Leuenberger
dc7d19a251 Accepting request 1085605 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1085605
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=35
2023-05-09 11:08:49 +00:00
John Vandenberg
3a01415712 Accepting request 1085603 from home:ojkastl_buildservice:Branch_devel_languages_python
add sle15_python_module_pythons

OBS-URL: https://build.opensuse.org/request/show/1085603
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=65
2023-05-09 05:30:16 +00:00
Dominique Leuenberger
4b897db523 Accepting request 1043220 from devel:languages:python
- update to 3.0.1 (bsc#1206225):
  * Detect undefined name in variable defined by an annotated assignment
  * Add a new error for names which are annotated but unused
  * Remove handling of python 2.x ``# type:`` comments.  Use annotations
    instead

OBS-URL: https://build.opensuse.org/request/show/1043220
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=34
2022-12-16 16:51:42 +00:00
92f25dbcb7 - update to 3.0.1 (bsc#1206225):
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=63
2022-12-15 21:02:36 +00:00
be8b1f92e1 - update to 3.0.1:
* Detect undefined name in variable defined by an annotated assignment
  * Add a new error for names which are annotated but unused
  * Remove handling of python 2.x ``# type:`` comments.  Use annotations
    instead

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=62
2022-12-15 20:53:12 +00:00
Dominique Leuenberger
61db2743c7 https://bugzilla.opensuse.org/show_bug.cgi?id=1206225
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=33
2022-12-15 19:16:29 +00:00
OBS User buildservice-autocommit
d451b21fe4 Updating link to change in openSUSE:Factory/python-pyflakes revision 33
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=7a6099ddb51467c127fcbf41e3379d79
2022-12-15 19:16:29 +00:00
Dominique Leuenberger
e79820f2bd Accepting request 1043004 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1043004
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=32
2022-12-15 18:25:26 +00:00
John Vandenberg
a90bc59c7d Accepting request 1042742 from home:yarunachalam:branches:devel:languages:python
- Update to 3.0.1
  * Fix crash on augmented assign to ``print`` builtin
  
- Update to 3.0.0 
  -  Detect undefined name in variable defined by an annotated assignment
  - Add a new error for names which are annotated but unused
  - Remove handling of python 2.x ``# type:`` comments.  Use annotations instead

OBS-URL: https://build.opensuse.org/request/show/1042742
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=60
2022-12-14 22:35:10 +00:00
Dominique Leuenberger
9dbe34adf4 https://bugzilla.opensuse.org/show_bug.cgi?id=1206225
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=31
2022-12-08 13:14:42 +00:00
OBS User buildservice-autocommit
e446720e5a Updating link to change in openSUSE:Factory/python-pyflakes revision 31
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=e3096e09649e74ba2ae7e2840491fcdb
2022-12-08 13:14:42 +00:00
Dominique Leuenberger
c0cbc2ce69 Accepting request 1040776 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1040776
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=30
2022-12-07 16:35:05 +00:00
98b559df12 Accepting request 1040663 from home:yarunachalam:branches:devel:languages:python
- Update to version 3.0.1 (2022-11-24)
  * Fix crash on augmented assign to print builtin
- Update to version 3.0.0 (2022-11-23)
  * Detect undefined name in variable defined by an annotated assignment
  * Add a new error for names which are annotated but unused
  * Remove handling of python 2.x # type: comments. Use annotations instead

OBS-URL: https://build.opensuse.org/request/show/1040663
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=58
2022-12-06 17:58:54 +00:00
Dominique Leuenberger
afbb6a079e Accepting request 997690 from devel:languages:python
- update to 2.5.0:
  * mDrop support for EOL python 2.7 / 3.4 / 3.5
  * mIgnore ``__all__`` when not directly assigned
  * mHandle ``TypeAlias`` annotations as aliases (PEP 613)
  * mAssignment expressions (``:=``) target outer scope in comprehensions
  * mAdd support for new python 3.11 syntax
  * mUnify output so it is always ``filename:lineno:col:  message``
  * mProperly report ``SyntaxError`` from stdin in python < 3.9
  * mFix offsets of ``SyntaxError``s in pypy

OBS-URL: https://build.opensuse.org/request/show/997690
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=29
2022-08-23 12:25:37 +00:00
39ae7c955c - update to 2.5.0:
* mDrop support for EOL python 2.7 / 3.4 / 3.5
  * mIgnore ``__all__`` when not directly assigned
  * mHandle ``TypeAlias`` annotations as aliases (PEP 613)
  * mAssignment expressions (``:=``) target outer scope in comprehensions
  * mAdd support for new python 3.11 syntax
  * mUnify output so it is always ``filename:lineno:col:  message``
  * mProperly report ``SyntaxError`` from stdin in python < 3.9
  * mFix offsets of ``SyntaxError``s in pypy

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=56
2022-08-18 08:27:26 +00:00
Dominique Leuenberger
d5f561efbc Accepting request 929017 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/929017
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=28
2021-11-06 17:13:21 +00:00
John Vandenberg
c89c1fc744 Accepting request 928976 from home:pgajdos:python
- version update to 2.4.0
 - Remove unused tracing code (``traceTree``)
 - Add support for ``match`` statement
 - Detect ``typing`` module attributes when imported with ``import ... as ...``
- %check: use %pyunittest rpm macro

OBS-URL: https://build.opensuse.org/request/show/928976
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=55
2021-11-03 12:35:45 +00:00
Dominique Leuenberger
0af4018731 Accepting request 891883 from devel:languages:python
- update to 2.3.1:
  - Fix regression in 2.3.0: type annotations no longer redefine imports

OBS-URL: https://build.opensuse.org/request/show/891883
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=27
2021-05-12 17:31:19 +00:00
da4ff236f4 - update to 2.3.1:
- Fix regression in 2.3.0: type annotations no longer redefine imports

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=53
2021-05-09 14:46:00 +00:00
Dominique Leuenberger
691a74bc02 Accepting request 879832 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/879832
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=26
2021-03-21 22:19:16 +00:00
b8a80d80ad Accepting request 879526 from home:jayvdb:flake8
- Update to v2.3.0

OBS-URL: https://build.opensuse.org/request/show/879526
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=51
2021-03-18 08:07:23 +00:00
Yuchen Lin
37961babf6 Accepting request 805797 from devel:languages:python
- specfile:
  * update copyright year
- update to version 2.2.0:
  * Include column information in error messages
  * Fix @overload detection with other decorators and in non-global
    scopes
  * Fix return-type annotation being a class member
  * Fix assignment to _ in doctests with existing _ name
  * Namespace attributes which are attached to ast nodes with
    _pyflakes_ to avoid conflicts with other libraries (notably
    bandit)
  * Add check for f-strings without placeholders
  * Add check for unused/extra/invalid 'string literal'.format(...)
  * Add check for unused/extra/invalid 'string literal % ...
  * Improve python shebang detection
  * Allow type ignore to be followed by a code # type:
    ignore[attr-defined]
  * Add support for assignment expressions (PEP 572)
  * Support @overload detection from typing_extensions as well
  * Fix @overload detection for async functions
  * Allow continue inside finally in python 3.8+
  * Fix handling of annotations in positional-only arguments
  * Make pyflakes more resistant to future syntax additions
  * Fix false positives in partially quoted type annotations
  * Warn about is comparison to tuples
  * Fix Checker usage with async function subtrees
  * Add check for if of non-empty tuple
  * Switch from optparse to argparse
  * Fix false positives in partially quoted type annotations in
    unusual contexts
  * Be more cautious when identifying Literal type expressions

OBS-URL: https://build.opensuse.org/request/show/805797
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=25
2020-05-28 07:06:35 +00:00
Tomáš Chvátal
467d977ac1 Accepting request 797223 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/797223
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=49
2020-04-24 17:31:32 +00:00
Dominique Leuenberger
52ff4bb486 Accepting request 680749 from devel:languages:python
- update to version 2.1.1:
  * Fix reported line number for type comment errors
  * Fix typing.overload check to only check imported names

OBS-URL: https://build.opensuse.org/request/show/680749
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=24
2019-03-04 08:11:46 +00:00
John Vandenberg
bde93f71b3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=47 2019-03-02 08:30:38 +00:00
John Vandenberg
f300f64b25 Accepting request 680679 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/680679
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=46
2019-03-02 08:30:04 +00:00
Stephan Kulow
3da1171952 Accepting request 668843 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/668843
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=23
2019-02-02 20:45:12 +00:00
Tomáš Chvátal
5039b2115b Accepting request 668823 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/668823
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=44
2019-01-26 21:40:28 +00:00
Dominique Leuenberger
8398dadfa9 Accepting request 629206 from devel:languages:python
- update to version 2.0.0:
  * Drop support for EOL Python <2.7 and 3.2-3.3
  * Check for unused exception binding in `except:` block
  * Handle string literal type annotations
  * Ignore redefinitions of `_`, unless originally defined by import
  * Support `__class__` without `self` in Python 3
  * Issue an error for `raise NotImplemented(...)`

OBS-URL: https://build.opensuse.org/request/show/629206
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=22
2018-08-27 10:54:07 +00:00
Tomáš Chvátal
9a84ee3138 Accepting request 626871 from home:Simmphonie:python
- update to version 2.0.0:
  * Drop support for EOL Python <2.7 and 3.2-3.3
  * Check for unused exception binding in `except:` block
  * Handle string literal type annotations
  * Ignore redefinitions of `_`, unless originally defined by import
  * Support `__class__` without `self` in Python 3
  * Issue an error for `raise NotImplemented(...)`

OBS-URL: https://build.opensuse.org/request/show/626871
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=42
2018-08-01 10:09:05 +00:00
Dominique Leuenberger
3c572d2ff8 Accepting request 566730 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/566730
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=21
2018-01-19 10:48:36 +00:00
Tomáš Chvátal
d90aa52d0a Accepting request 566516 from home:TheBlackCat:branches:devel:languages:python
- Implement tests
- Fix source and URL

OBS-URL: https://build.opensuse.org/request/show/566516
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=40
2018-01-17 15:34:35 +00:00
Dominique Leuenberger
abae54c887 Accepting request 528595 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/528595
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=20
2017-11-04 09:23:27 +00:00
e9d9f1ca44 Accepting request 528575 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/528575
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=38
2017-09-25 09:00:19 +00:00
Dominique Leuenberger
5b74666c46 Accepting request 483391 from devel:languages:python
- uninstall alternatives in %postun

- update for singlespec

- update to version 1.5.0:
  * Enable support for PEP 526 annotated assignments
    
- update to version 1.4.0:
  * Change formatting of ImportStarMessage to be consistent with
    other errors
  * Support PEP 498 "f-strings"
- update to version 1.3.0:
  * Fix PyPy2 Windows IntegrationTests
  * Check for duplicate dictionary keys
  * Fix TestMain tests on Windows
  * Fix "continue" and "break" checks ignoring py3.5's "async for" loop
- update to version 1.2.3:
  * Fix TypeError when processing relative imports
  
- update to version 1.2.2:
  * Avoid traceback when exception is del-ed in except
- update to version 1.2.1:
  * Fix false RedefinedWhileUnesed for submodule imports
- update to version 1.2.0:
  * Warn against reusing exception names after the except: block on
    Python 3
  * Improve the error messages for imports
- update to version 1.1.0:
  * main() can now accept arguments
  * the matrix-multiplication operator (@) is now supported

OBS-URL: https://build.opensuse.org/request/show/483391
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=19
2017-04-19 16:05:23 +00:00
Jan Matejek
6db7a8e756 - uninstall alternatives in %postun
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=36
2017-03-29 14:19:23 +00:00
Jan Matejek
f71e99cde1 Accepting request 482211 from devel:languages:python:singlespec
singlespec

OBS-URL: https://build.opensuse.org/request/show/482211
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=35
2017-03-23 13:16:41 +00:00
Thomas Bechtold
4d33659fbc Accepting request 457354 from home:kwk:branches:devel:languages:python
- update to version 1.5.0:
  * Enable support for PEP 526 annotated assignments
    
- update to version 1.4.0:
  * Change formatting of ImportStarMessage to be consistent with
    other errors
  * Support PEP 498 "f-strings"
- update to version 1.3.0:
  * Fix PyPy2 Windows IntegrationTests
  * Check for duplicate dictionary keys
  * Fix TestMain tests on Windows
  * Fix "continue" and "break" checks ignoring py3.5's "async for" loop
- update to version 1.2.3:
  * Fix TypeError when processing relative imports
  
- update to version 1.2.2:
  * Avoid traceback when exception is del-ed in except
- update to version 1.2.1:
  * Fix false RedefinedWhileUnesed for submodule imports
- update to version 1.2.0:
  * Warn against reusing exception names after the except: block on
    Python 3
  * Improve the error messages for imports
- update to version 1.1.0:
  * main() can now accept arguments
  * the matrix-multiplication operator (@) is now supported
  * imports from __future__ are checked for validity
  * fixes to doctest scope testing
  * asserts against a tuple (which are always true) now emits a warning
  * "import *" not at the module level on python3 emits a warning

OBS-URL: https://build.opensuse.org/request/show/457354
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=34
2017-02-16 14:12:11 +00:00
Dominique Leuenberger
b6bc3deec6 Accepting request 419444 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/419444
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=18
2016-08-22 11:58:55 +00:00
Todd R
2eaee26d95 Accepting request 419442 from home:TheBlackCat:branches:devel:languages:python
Fix update-alternatives implementation.

OBS-URL: https://build.opensuse.org/request/show/419442
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=32
2016-08-15 15:35:39 +00:00
Dominique Leuenberger
5d4b42815b Accepting request 353366 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/353366
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=17
2016-01-20 08:53:34 +00:00
Todd R
04df7f74a0 Accepting request 353365 from home:TheBlackCat:branches:devel:languages:python
update to version 1.0.0

OBS-URL: https://build.opensuse.org/request/show/353365
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=30
2016-01-13 10:07:11 +00:00
Dominique Leuenberger
00f3eb1419 Accepting request 343765 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/343765
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=16
2015-11-15 11:46:22 +00:00
Thomas Bechtold
e52951b823 Accepting request 343727 from home:cboltz:branches:devel:languages:python
- add dependency on python-setuptools (the pkg_resources module is needed
  at runtime)


Without python-setuptools, I got

# pyflakes
Traceback (most recent call last):
  File "/usr/bin/pyflakes", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources

OBS-URL: https://build.opensuse.org/request/show/343727
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=28
2015-11-11 09:30:52 +00:00