- Update to 0.20.0:
- Under the new management: @lieryan kindly decided to take
over the maintaining of the package.
- #377 Added the ability to extract method to
@staticmethod/@classmethod (@climbus)
- #374 Changed Organize import to keep variables listed in
`__all__`
- Change default .ropeproject/config.py to ignore code in
folders named .venv and venv (@0x1e02)
- #372 Add extract method refactoring of code containing `exec`
(@ceridwen)
- #389 Add extract method refactoring of code containing `async
def`, `async for`, and `await`
- #365, #386 Support extract method of expressions containing
inline assignment (walrus operator)
- #380 Fix list of variables that are returned and/or turned
into argument when extracting method in a loop
OBS-URL: https://build.opensuse.org/request/show/923346
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rope?expand=0&rev=25
- Under the new management: @lieryan kindly decided to take
over the maintaining the package.
- #377 Added the ability to extract method to
@staticmethod/@classmethod (@climbus)
- #374 Changed Organize import to keep variables listed in
`__all__`
- Change default .ropeproject/config.py to ignore code in
folders named .venv and venv (@0x1e02)
- #372 Add extract method refactoring of code containing `exec`
(@ceridwen)
- #389 Add extract method refactoring of code containing `async
def`, `async for`, and `await`
- #365, #386 Support extract method of expressions containing
inline assignment (walrus operator)
- #380 Fix list of variables that are returned and/or turned
into argument when extracting method in a loop
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=48
- Update to 0.19.0:
- fixes#337
- Fix AttributeError lineno
- Python 3.9 ast changes
- create_generate with goal_resource param
- Fix relative import offset calculation
- Fix missinge lineno attribute for AssignedName ast node
- Added _NamedExpr into `patchedast.py`
- Add support for the walrus operator.
- fix test case name for `test_ann_assign_node_without_target`
- Returned _AnnAssign and checked for support assignment without value
- fixed version restriction in tests for NamedExpr
- Removed AnnAssign, added NeamedExpr, testa are made
- Added _AnnAsign into `patchedast.py`
- Extract augmented assignment
- Fix handling of dict rename in Python 2.x
- Improve handling of generalized dict unpacking during dict rename
- Add expected failure test for comprehension variable scopes
- Implement basic scoping and rename for set and dict comprehension
- Visit subexpressions of comprehensions to collect names for scopes
- Implement rename of inline assignment expression
- Implement basic scoping and renaming of list and generator
comprehension loop variables
- Implement f-string extract refactoring
- Refactor consume_joined_string and also fix missing
ast.JoinedStr/FormattedValue in older python
- Fix some f-string corner cases
- Implement PEP-448 generalized dict-unpacking
- Removed upstreamed rope-pr333-py39.patch.
OBS-URL: https://build.opensuse.org/request/show/886499
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rope?expand=0&rev=24
- fixes#337
- Fix AttributeError lineno
- Python 3.9 ast changes
- create_generate with goal_resource param
- Fix relative import offset calculation
- Fix missinge lineno attribute for AssignedName ast node
- Added _NamedExpr into `patchedast.py`
- Add support for the walrus operator.
- fix test case name for `test_ann_assign_node_without_target`
- Returned _AnnAssign and checked for support assignment without value
- fixed version restriction in tests for NamedExpr
- Removed AnnAssign, added NeamedExpr, testa are made
- Added _AnnAsign into `patchedast.py`
- Extract augmented assignment
- Fix handling of dict rename in Python 2.x
- Improve handling of generalized dict unpacking during dict rename
- Add expected failure test for comprehension variable scopes
- Implement basic scoping and rename for set and dict comprehension
- Visit subexpressions of comprehensions to collect names for scopes
- Implement rename of inline assignment expression
- Implement basic scoping and renaming of list and generator
comprehension loop variables
- Implement f-string extract refactoring
- Refactor consume_joined_string and also fix missing
ast.JoinedStr/FormattedValue in older python
- Fix some f-string corner cases
- Implement PEP-448 generalized dict-unpacking
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=45
- Fix `Worder.get_primary_at` for names that start like
keywords. <Rob Kelly>
- Add guess_def_lineno() to get actual function/class
definition line number <Lie Ryan>
- Fix SimilarFinder/_ASTMatcher to consider 1/0 and True/False
to be unequal <Lie Ryan>
- Compatibility with Python 3.8
- Add pytest.ini to collect all tests <Lie Ryan>
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=41
- Update to 0.17.0:
- Make tests compatible with Python 3.8
- Use context manager for open()
- Don’t use UserDict (!!!) and collections.MutableMapping.
- assertEquals has been deprecated for long time (-> assertEqual)
- Remove weird escpaing of 's' character, which is the syntax
error these days.
- Add testing for Python 3.8 as well
- Fix pattern for matching short strings
- Work with deprecated types and using aliased ones.
- Don't use underscored _ast, but use ast instead
- Direct import from collections is getting deprecated.
- Use .is_alive method instead of a deprecated .isAlive
in threading.Thread
- Fix simple typo: sitaution -> situation (#287)
- Two more assertEquals happened.
- Remove all patches, which were now included in the upstream
tarball:
- Python38-compatibility.patch
- assertEquals.patch
- isAlive_failed_test.patch
- obsolete_escape_strings.patch
OBS-URL: https://build.opensuse.org/request/show/800812
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rope?expand=0&rev=21
- Make tests compatible with Python 3.8
- Use context manager for open()
- Don’t use UserDict (!!!) and collections.MutableMapping.
- assertEquals has been deprecated for long time (-> assertEqual)
- Remove weird escpaing of 's' character, which is the syntax
error these days.
- Add testing for Python 3.8 as well
- Fix pattern for matching short strings
- Work with deprecated types and using aliased ones.
- Don't use underscored _ast, but use ast instead
- Direct import from collections is getting deprecated.
- Use .is_alive method instead of a deprecated .isAlive
in threading.Thread
- Fix simple typo: sitaution -> situation (#287)
- Two more assertEquals happened.
- Remove all patches, which were now included in the upstream
tarball.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=37