14
0
forked from pool/python-rope

34 Commits

Author SHA256 Message Date
159a81ba6f - Skip failing tests with Python 3.13 (gh#python/cpython#126811)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=63
2024-11-13 22:27:56 +00:00
a85b3243a2 - update to 1.12.0:
* #733 skip directories with perm error when building
    autoimport index (@MrBago)
  * #722, #723 Remove site-packages from packages search tree
    (@tkrabel)
  * #738 Implement os.PathLike on Resource (@lieryan)
  * #739, #736 Ensure autoimport requests uses indexes (@lieryan)
  * #734, #735 raise exception when extracting the start of a
    block without the end

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=61
2024-01-21 11:09:48 +00:00
5911b14f23 - update to 1.11.0:
* #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
2023-12-29 09:53:29 +00:00
75f4963df2 Accepting request 1124314 from home:gcomes.obs
- add sle15_python_module_pythons

OBS-URL: https://build.opensuse.org/request/show/1124314
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=57
2023-11-09 09:29:38 +00:00
ede9a880b6 Accepting request 1108766 from home:mschreiner:branches:devel:languages:python
- 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
2023-09-04 07:45:29 +00:00
55c51fa55f Accepting request 1045827 from home:bnavigator:branches:devel:languages:python:numeric
- 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
2022-12-30 20:19:29 +00:00
d70f745739 - update to 0.22.0:
* #443 Implement `yield from` syntax support to patchedast.py
  * #445, #446 Improve empty tuple and handling of parentheses
  around tuple
  * #270, #432 Fix rename import statement with dots and as keyword

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=52
2022-02-20 21:04:12 +00:00
d4017d992f - 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
2021-10-26 13:46:33 +00:00
8884e9cb4a - Update to 0.20.0:
- 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
2021-10-05 19:55:31 +00:00
5f89dceca3 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=45
2021-04-18 20:57:00 +00:00
6ef6c42cd1 Accepting request 885758 from home:bnavigator:branches:devel:languages:python
- Add rope-pr333-py39.patch for python39 compatibility
  gh#python-rope/rope#333

OBS-URL: https://build.opensuse.org/request/show/885758
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=43
2021-04-16 08:34:04 +00:00
7610bbfa19 - Update to 0.18.0:
- 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
2020-10-19 11:33:17 +00:00
939922bdfe Don't skip tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=38
2020-05-05 16:34:28 +00:00
bfd35b01f7 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=37
2020-05-05 16:31:46 +00:00
dcbe97ef6d - Add assertEquals.patch, obsolete_escape_strings.patch, and
Python38-compatibility.patch to deal with various deprecated
  warnings.
- Switch off three tests to make the test suite pass under Python
  3.8.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=35
2020-03-09 09:55:16 +00:00
47f90583fe - update to 0.16.0
* new minor relase with bugfixes.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=33
2020-03-05 12:23:12 +00:00
b2c0504955 - Add isAlive_failed_test.patch as a fix for gh#python-rope/rope#283
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=31
2020-01-14 14:30:43 +00:00
Tomáš Chvátal
f9d66b9479 - Run the pytest call only once
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=29
2020-01-02 10:24:08 +00:00
013ce68e0c Use %pytest macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=28
2019-12-18 15:34:17 +00:00
e74b2e8ec4 Accepting request 687822 from home:mcepl:branches:devel:languages:python
- Upgrade to 0.14.0:
  - relicensing to LGPLv3+
  - bugfixes

OBS-URL: https://build.opensuse.org/request/show/687822
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=26
2019-03-22 23:23:02 +00:00
Tomáš Chvátal
bca0f63d2d - Fix expansion of test removal
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=24
2019-03-07 11:16:55 +00:00
d046fb1648 Accepting request 673301 from home:mcepl:branches:devel:languages:python
- Upgrade to 0.12.0:
    * gh#python-rope/rope#218: support for all of the new
      async-related nodes.
    * gh#python-rope/rope#259: fix installation issues on Windows

OBS-URL: https://build.opensuse.org/request/show/673301
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=22
2019-02-11 11:27:49 +00:00
377d7e60f6 Workaround gh#python-rope/rope#247 (some tests fail on Python 3.7)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=20
2019-01-16 16:42:51 +00:00
Tomáš Chvátal
a89e9175db - Fix buildrequires to not require devel
- Run tests without conditional

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=18
2018-08-29 11:53:17 +00:00
7f273c8f79 update to 0.11.0
+ Upstream provides no changelog
Remove patch CVE-2014-3539-disable-doa.patch (included upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=16
2018-08-09 07:56:32 +00:00
Todd R
5424c3b657 Accepting request 519181 from home:TheBlackCat:branches:devel:languages:python
- update to 0.10.7
  + Upstream provides no changelog
- Add tag for CVE-2014-3539-disable-doa.patch

OBS-URL: https://build.opensuse.org/request/show/519181
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=14
2017-08-28 16:31:23 +00:00
Todd R
f8468fbeeb Accepting request 511881 from home:sebix:branches:devel:languages:python
- convert to singlespec
- update to 0.10.5

OBS-URL: https://build.opensuse.org/request/show/511881
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=12
2017-08-01 15:52:31 +00:00
Todd R
ef42b88e93 Accepting request 316561 from home:TheBlackCat:branches:devel:languages:python
Fix building on SLES 11

OBS-URL: https://build.opensuse.org/request/show/316561
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=10
2015-07-14 07:45:22 +00:00
Jan Matejek
3a9ae18b4c Accepting request 287324 from home:matejcik:branches:devel:languages:python
bnc#916890

OBS-URL: https://build.opensuse.org/request/show/287324
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=8
2015-02-23 13:41:39 +00:00
Sascha Peilicke
17dc61a9d9 - Update to version 0.9.4:
+ Upstream provides no changelog

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=6
2012-06-06 11:08:29 +00:00
Sascha Peilicke
081bc646e6 - Spec file cleanup
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=4
2012-01-31 10:37:34 +00:00
Sascha Peilicke
961b017b37 Accepting request 95444 from home:TheBlackCat:branches:devel:languages:python
Cleaned up spec file formatting

OBS-URL: https://build.opensuse.org/request/show/95444
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=3
2011-12-06 09:36:50 +00:00
Sascha Peilicke
15c9b009af Accepting request 59118 from home:saschpe:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/59118
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=2
2011-01-26 17:14:13 +00:00
Stephan Kulow
c798518681 Copy from home:frispete:branches:devel:languages:python/python-rope via accept of submit request 17397
Request was accepted with message:

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=1
2009-08-27 13:23:09 +00:00