15
0
forked from pool/python-rope
Commit Graph

56 Commits

Author SHA256 Message Date
874f3642d1 Accepting request 956183 from devel:languages:python
- 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/request/show/956183
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rope?expand=0&rev=28
2022-02-21 16:46:32 +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
f8deacd8a5 Accepting request 927544 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/927544
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rope?expand=0&rev=27
2021-10-26 18:14:15 +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
5b07e73d0a OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=50 2021-10-26 13:43:04 +00:00
1f4c1ed193 Accepting request 925164 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/925164
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rope?expand=0&rev=26
2021-10-18 19:58:42 +00:00
ba1dc6b3fd Accepting request 923346 from devel:languages:python
- 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
2021-10-06 17:49:47 +00:00
0c5db721aa Fix typo
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=49
2021-10-05 19:56:28 +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
aeb1bcbf58 Accepting request 886499 from devel:languages:python
- 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
2021-04-19 19:05:50 +00:00
0575bfbe42 Fix changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=46
2021-04-18 20:57:26 +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
076f8a1135 Accepting request 885884 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/885884
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rope?expand=0&rev=23
2021-04-16 22:01:43 +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
1622da7752 Accepting request 842555 from devel:languages:python
- 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/request/show/842555
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rope?expand=0&rev=22
2020-10-20 14:10:29 +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
b3debf3eb8 Accepting request 800812 from devel:languages:python
- 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
2020-05-07 12:54:55 +00:00
e080f55f2c Fix changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=39
2020-05-06 17:07:57 +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
8ae4adfb60 Accepting request 783265 from devel:languages:python
py38 fix

OBS-URL: https://build.opensuse.org/request/show/783265
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rope?expand=0&rev=20
2020-03-10 10:55:09 +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
f7a9e301af Accepting request 781837 from devel:languages:python
- update to 0.16.0
 * new minor relase with bugfixes.

OBS-URL: https://build.opensuse.org/request/show/781837
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rope?expand=0&rev=19
2020-03-05 22:24:03 +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
e2a71c4257 Accepting request 764326 from devel:languages:python
- Add isAlive_failed_test.patch as a fix for gh#python-rope/rope#283

OBS-URL: https://build.opensuse.org/request/show/764326
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rope?expand=0&rev=18
2020-01-14 20:12:08 +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
24abcf920d Accepting request 760393 from devel:languages:python
- Run the pytest call only once

OBS-URL: https://build.opensuse.org/request/show/760393
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rope?expand=0&rev=17
2020-01-02 13:44:15 +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
85fd5e4cf7 Accepting request 687823 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/687823
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rope?expand=0&rev=16
2019-03-26 21:32:26 +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
Stephan Kulow
e0dba6a9fc Accepting request 682417 from devel:languages:python
- Fix expansion of test removal

OBS-URL: https://build.opensuse.org/request/show/682417
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rope?expand=0&rev=15
2019-03-10 08:33:50 +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
5463e07ca2 Accepting request 673302 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/673302
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rope?expand=0&rev=14
2019-02-13 09:01:09 +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
Stephan Kulow
e1ab6e1ff9 Accepting request 666513 from devel:languages:python
- Workaround gh#python-rope/rope#247 (some tests fail on Python 3.7)

OBS-URL: https://build.opensuse.org/request/show/666513
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rope?expand=0&rev=13
2019-02-04 13:24:08 +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
219b46ac2a Accepting request 632148 from devel:languages:python
- Fix buildrequires to not require devel
- Run tests without conditional

OBS-URL: https://build.opensuse.org/request/show/632148
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rope?expand=0&rev=12
2018-08-31 08:46:26 +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
d17b6ed574 Accepting request 628350 from devel:languages:python
- 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/request/show/628350
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rope?expand=0&rev=11
2018-08-17 22:00:47 +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
6aaf4c54d6 Accepting request 519182 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/519182
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rope?expand=0&rev=10
2017-08-29 09:46:17 +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
59691e0919 Accepting request 513727 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/513727
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rope?expand=0&rev=9
2017-08-16 14:11:32 +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
Stephan Kulow
25b850f431 Accepting request 316568 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/316568
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rope?expand=0&rev=8
2015-08-05 04:49:45 +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
1ce3fb3577 Accepting request 287325 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/287325
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rope?expand=0&rev=7
2015-02-24 12:02:31 +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
Stephan Kulow
c645dd270f Accepting request 123788 from devel:languages:python
- Update to version 0.9.4:
  + Upstream provides no changelog

OBS-URL: https://build.opensuse.org/request/show/123788
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rope?expand=0&rev=2
2012-06-07 13:39:44 +00:00