From d4017d992f44fa6526ca682e7ab2e37265d1323b1d5aea00dcba57adcc68f1ae Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 26 Oct 2021 13:46:33 +0000 Subject: [PATCH] - Update to 0.21.0: - #392, #316 Handle `global` keyword when extracting method (@climbus) - context manager: - #387, #433 Implement extract refactoring for code containing `async with` (@lieryan) - #398, #104 Fix parsing of nested `with` statement/context manager (@climbus) - list/set/dict/generator comprehension scope issues: - #422 Added scopes for comprehension expressions as part of #293 (@climbus) - #426, #429 Added support for checking scopes by offset as part of #293 (@climbus) - #293, #430 Fix renaming global var affects list comprehension (@climbus) - #395, #315 Reuse of variable in comprehensions confuses method extraction (@climbus) - #436 Fix error `TypeError: 'PyDefinedObject' object is not subscriptable` (@lieryan) - f-string: - #303, #420 Fix inlining into f-string containing quote characters (@lieryan) - inline assignment/walrus operator: - #423 Fix `AttributeError: '_ExpressionVisitor' object has no attribute 'defineds'` (@lieryan) - #391, #376 Fix improper replacement when extracting attribute access expression with `similar=True` (@climbus) - #396 Fix improper replacement when extracting index access expression with `similar=True` (@lieryan) - #434 Move read() to FileSystemCommands OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=51 --- python-rope.changes | 39 +++++++++++++++++++++++++++++++++++++++ python-rope.spec | 2 +- rope-0.20.0.tar.gz | 3 --- rope-0.21.0.tar.gz | 3 +++ 4 files changed, 43 insertions(+), 4 deletions(-) delete mode 100644 rope-0.20.0.tar.gz create mode 100644 rope-0.21.0.tar.gz diff --git a/python-rope.changes b/python-rope.changes index 16d4f21..febb795 100644 --- a/python-rope.changes +++ b/python-rope.changes @@ -1,3 +1,42 @@ +------------------------------------------------------------------- +Tue Oct 26 13:44:20 UTC 2021 - Matej Cepl + +- Update to 0.21.0: + - #392, #316 Handle `global` keyword when extracting method + (@climbus) + - context manager: + - #387, #433 Implement extract refactoring for code + containing `async with` (@lieryan) + - #398, #104 Fix parsing of nested `with` statement/context + manager (@climbus) + - list/set/dict/generator comprehension scope issues: + - #422 Added scopes for comprehension expressions as part of + #293 (@climbus) + - #426, #429 Added support for checking scopes by offset as + part of #293 (@climbus) + - #293, #430 Fix renaming global var affects list + comprehension (@climbus) + - #395, #315 Reuse of variable in comprehensions confuses + method extraction (@climbus) + - #436 Fix error `TypeError: 'PyDefinedObject' object is not + subscriptable` (@lieryan) + - f-string: + - #303, #420 Fix inlining into f-string containing quote + characters (@lieryan) + - inline assignment/walrus operator: + - #423 Fix `AttributeError: '_ExpressionVisitor' object has + no attribute 'defineds'` (@lieryan) + - #391, #376 Fix improper replacement when extracting attribute + access expression with `similar=True` (@climbus) + - #396 Fix improper replacement when extracting index access + expression with `similar=True` (@lieryan) + - #434 Move read() to FileSystemCommands + - #410 Setup all-contributors bot (@lieryan) + - #404 Blacken source code, rope now follows black code style + (@climbus) + - #399 Add Github Actions to enforce black code style + - #403 Remove plain 'unittest' only runner + ------------------------------------------------------------------- Tue Oct 5 19:48:56 UTC 2021 - Matej Cepl diff --git a/python-rope.spec b/python-rope.spec index 5ccb0fe..1a93371 100644 --- a/python-rope.spec +++ b/python-rope.spec @@ -19,7 +19,7 @@ %define upname rope %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-rope -Version: 0.20.0 +Version: 0.21.0 Release: 0 Summary: A python refactoring library License: LGPL-3.0-or-later diff --git a/rope-0.20.0.tar.gz b/rope-0.20.0.tar.gz deleted file mode 100644 index 501d646..0000000 --- a/rope-0.20.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:82cf7d2ffa5ccaee5a1ceeafcc31973e133df1237401aa226d61385e3f89b511 -size 257356 diff --git a/rope-0.21.0.tar.gz b/rope-0.21.0.tar.gz new file mode 100644 index 0000000..112f7c5 --- /dev/null +++ b/rope-0.21.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:366789e069a267296889b2ee7631f9278173b5e7d468f2ea08abe26069a52aef +size 256456