* #710, #561 Implement `except*` syntax
* #711 allow building documentation without having rope module
installed
* #719 Allows the in-memory db to be shared across threads
* #720 create one sqlite3.Connection per thread using a thread
local
* #715 change AutoImport's `get_modules` to be case sensitive
* #708, #709 Add support for Python 3.12 (@lieryan)
- 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=59
- Update to 1.9.0:
- Changes from 1.9.0:
* Implement nonlocal keyword
* Automatically purge autoimport.db when there is schema change
- Changes from 1.8.0:
* Install pre-commit hooks on rope repository
* Remove unused init() methods
* Reformat using black 23.1.0
* Fix/supress all mypy complaints
* Remove a do-nothing statement in soi._handle_first_parameter
* Fix autoimport not scanning packages recursively
- Changes from 1.7.0:
* Implement MoveGlobal using string as destination module names
* Fix parsing of octal literal
* Fix fstrings with mismatched parens
* Fix renaming kwargs when refactoring from imports
* Remove init from import statement when using sqlite autoimport
* Update readme to reflect 1.0 has been released
OBS-URL: https://build.opensuse.org/request/show/1108766
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=55
- Update to 1.6.0
## New features & Enhancements
* #559, #560 Improve handling of whitespace in import and
from-import statements (@lieryan)
* #566, #567, #597 Fix variables in kwonlyargs and posonlyargs
not being correctly passed to extracted methods (@lieryan)
## Unit Test
* #589, #596 Fix issue with sample_project() creating directories
where it shouldn't when running tests (@lieryan)
* #547 Add config file for linters
* #593 Remove only_for decorator for all python versions less
than 3.7 (@edreamleo)
## Tech Debt
### Code quality
* #546 Remove unused vars in test (@lieryan, @edreamleo)
* #551, #552 Numerous flake8 linter complaints (@edreamleo)
* #558 Fix typos (@kianmeng)
* #583, #584 More consistent import style (@edreamleo)
### Python 2-related tech debt
* #533 Refactoring to Remove usage of unicode type (@lieryan)
* #549, #553 Remove rope.base.utils.pycompat (@dreamleo)
* #555 Fix some python2-isms (@lieryan)
### Rope's AST Wrapper
* #536, #578 walk does not return a value (@edreamleo)
* #537, #538 Remove special case code from walk (@edreamleo)
* #581 Remove functions in rope.base.ast that has functionally
identical implementation in stdlib's ast (@lieryan, @edreamleo)
* #582 Refactoring rope.base.ast and remove rope.base.astutils
(@lieryan, @edreamleo)
### pynames and pyobjects
OBS-URL: https://build.opensuse.org/request/show/1045827
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=53
- 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
- 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
- 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