commit python-rope for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-rope for openSUSE:Factory checked in at 2024-01-21 23:10:11 Comparing /work/SRC/openSUSE:Factory/python-rope (Old) and /work/SRC/openSUSE:Factory/.python-rope.new.16006 (New) Package is "python-rope" Sun Jan 21 23:10:11 2024 rev:33 rq:1140277 version:1.12.0 Changes: --- /work/SRC/openSUSE:Factory/python-rope/python-rope.changes 2024-01-03 12:24:10.937710947 +0100 +++ /work/SRC/openSUSE:Factory/.python-rope.new.16006/python-rope.changes 2024-01-21 23:10:34.734366541 +0100 @@ -1,0 +2,13 @@ +Sun Jan 21 11:09:36 UTC 2024 - Dirk Müller + +- 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 + +--- Old: rope-1.11.0.tar.gz New: rope-1.12.0.tar.gz Other differences: -- ++ python-rope.spec ++ --- /var/tmp/diff_new_pack.rZPFPe/_old 2024-01-21 23:10:35.358389287 +0100 +++ /var/tmp/diff_new_pack.rZPFPe/_new 2024-01-21 23:10:35.358389287 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-rope # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-rope -Version:1.11.0 +Version:1.12.0 Release:0 Summary:A python refactoring library License:LGPL-3.0-or-later ++ rope-1.11.0.tar.gz -> rope-1.12.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rope-1.11.0/CHANGELOG.md new/rope-1.12.0/CHANGELOG.md --- old/rope-1.11.0/CHANGELOG.md2023-11-05 16:10:32.0 +0100 +++ new/rope-1.12.0/CHANGELOG.md2024-01-18 05:30:13.0 +0100 @@ -1,5 +1,15 @@ # **Upcoming release** +- ... + +# Release 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 + # Release 1.11.0 - #710, #561 Implement `except*` syntax (@lieryan) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rope-1.11.0/PKG-INFO new/rope-1.12.0/PKG-INFO --- old/rope-1.11.0/PKG-INFO2023-11-05 16:12:09.193045400 +0100 +++ new/rope-1.12.0/PKG-INFO2024-01-18 05:43:22.713984300 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: rope -Version: 1.11.0 +Version: 1.12.0 Summary: a python refactoring library... Author-email: Ali Gholami Rudi Maintainer-email: Lie Ryan diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rope-1.11.0/docs/contributing.rst new/rope-1.12.0/docs/contributing.rst --- old/rope-1.11.0/docs/contributing.rst 2023-11-05 16:08:39.0 +0100 +++ new/rope-1.12.0/docs/contributing.rst 2024-01-18 05:15:50.0 +0100 @@ -95,6 +95,13 @@ Rope uses GitHub_. The repository exists at `python-rope/rope`_. +Setting up for local development + + +#. Clone repository: ``git clone https://github.com/python-rope/rope.git`` +#. Create a virtualenv: ``python -m venv rope-venv`` +#. Activate the virtualenv +#. Install the project into the venv: ``pip install -e '.[doc,dev]'`` Submitting pull requests diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rope-1.11.0/docs/release-process.rst new/rope-1.12.0/docs/release-process.rst --- old/rope-1.11.0/docs/release-process.rst2023-10-15 08:08:40.0 +0200 +++ new/rope-1.12.0/docs/release-process.rst2024-01-18 05:39:22.0 +0100 @@ -12,14 +12,15 @@ 1. Ensure tickets assigned to Milestones are up to date 2. Update ``CHANGELOG.md`` -3. Increment version number in ``pyproject.toml`` -4. `git commit && git push` -5. Tag the release with the tag annotation containing the release information, +3. Close milestone +4. Increment version number in ``pyproject.toml`` +5. `git commit && git push` +6. Tag the release with the t
commit python-rope for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-rope for openSUSE:Factory checked in at 2024-01-03 12:24:06 Comparing /work/SRC/openSUSE:Factory/python-rope (Old) and /work/SRC/openSUSE:Factory/.python-rope.new.28375 (New) Package is "python-rope" Wed Jan 3 12:24:06 2024 rev:32 rq:1135620 version:1.11.0 Changes: --- /work/SRC/openSUSE:Factory/python-rope/python-rope.changes 2023-11-09 21:35:55.098038001 +0100 +++ /work/SRC/openSUSE:Factory/.python-rope.new.28375/python-rope.changes 2024-01-03 12:24:10.937710947 +0100 @@ -1,0 +2,13 @@ +Fri Dec 29 09:51:08 UTC 2023 - Dirk Müller + +- 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) + +--- Old: rope-1.9.0.tar.gz New: rope-1.11.0.tar.gz Other differences: -- ++ python-rope.spec ++ --- /var/tmp/diff_new_pack.eK3Ffc/_old 2024-01-03 12:24:11.997749679 +0100 +++ /var/tmp/diff_new_pack.eK3Ffc/_new 2024-01-03 12:24:11.997749679 +0100 @@ -17,10 +17,8 @@ %{?sle15_python_module_pythons} - -%define upname rope Name: python-rope -Version:1.9.0 +Version:1.11.0 Release:0 Summary:A python refactoring library License:LGPL-3.0-or-later @@ -29,7 +27,6 @@ Source: https://files.pythonhosted.org/packages/source/r/rope/rope-%{version}.tar.gz BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module pip} -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} # SECTION test # Requires full stdlib ++ rope-1.9.0.tar.gz -> rope-1.11.0.tar.gz ++ 1927 lines of diff (skipped)
commit python-rope for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-rope for openSUSE:Factory checked in at 2023-11-09 21:35:42 Comparing /work/SRC/openSUSE:Factory/python-rope (Old) and /work/SRC/openSUSE:Factory/.python-rope.new.17445 (New) Package is "python-rope" Thu Nov 9 21:35:42 2023 rev:31 rq:1124380 version:1.9.0 Changes: --- /work/SRC/openSUSE:Factory/python-rope/python-rope.changes 2023-09-04 22:53:36.703830104 +0200 +++ /work/SRC/openSUSE:Factory/.python-rope.new.17445/python-rope.changes 2023-11-09 21:35:55.098038001 +0100 @@ -1,0 +2,5 @@ +Thu Nov 9 02:20:38 UTC 2023 - Giacomo Comes + +- add sle15_python_module_pythons + +--- Other differences: -- ++ python-rope.spec ++ --- /var/tmp/diff_new_pack.TZFKNY/_old 2023-11-09 21:35:55.674059268 +0100 +++ /var/tmp/diff_new_pack.TZFKNY/_new 2023-11-09 21:35:55.674059268 +0100 @@ -16,6 +16,8 @@ # +%{?sle15_python_module_pythons} + %define upname rope Name: python-rope Version:1.9.0
commit python-rope for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-rope for openSUSE:Factory checked in at 2023-09-04 22:53:09 Comparing /work/SRC/openSUSE:Factory/python-rope (Old) and /work/SRC/openSUSE:Factory/.python-rope.new.1766 (New) Package is "python-rope" Mon Sep 4 22:53:09 2023 rev:30 rq:1108787 version:1.9.0 Changes: --- /work/SRC/openSUSE:Factory/python-rope/python-rope.changes 2023-01-03 18:00:32.421174779 +0100 +++ /work/SRC/openSUSE:Factory/.python-rope.new.1766/python-rope.changes 2023-09-04 22:53:36.703830104 +0200 @@ -1,0 +2,22 @@ +Sun Sep 3 23:28:27 UTC 2023 - Martin Schreiner + +- 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 + +--- Old: rope-1.6.0.tar.gz New: rope-1.9.0.tar.gz Other differences: -- ++ python-rope.spec ++ --- /var/tmp/diff_new_pack.Y9tMPu/_old 2023-09-04 22:53:37.871871391 +0200 +++ /var/tmp/diff_new_pack.Y9tMPu/_new 2023-09-04 22:53:37.875871533 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-rope # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %define upname rope Name: python-rope -Version:1.6.0 +Version:1.9.0 Release:0 Summary:A python refactoring library License:LGPL-3.0-or-later ++ rope-1.6.0.tar.gz -> rope-1.9.0.tar.gz ++ 6257 lines of diff (skipped)
commit python-rope for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-rope for openSUSE:Factory checked in at 2023-01-03 18:00:31 Comparing /work/SRC/openSUSE:Factory/python-rope (Old) and /work/SRC/openSUSE:Factory/.python-rope.new.1563 (New) Package is "python-rope" Tue Jan 3 18:00:31 2023 rev:29 rq:1045852 version:1.6.0 Changes: --- /work/SRC/openSUSE:Factory/python-rope/python-rope.changes 2022-02-21 17:47:36.779612116 +0100 +++ /work/SRC/openSUSE:Factory/.python-rope.new.1563/python-rope.changes 2023-01-03 18:00:32.421174779 +0100 @@ -1,0 +2,108 @@ +Fri Dec 30 10:09:12 UTC 2022 - Ben Greiner + +- 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 + * #569, #572 rename pynames to pynamesdef in pyobjectsdef.ph +(@edreamleo) +- Release 1.5.1 + * #531 Add alternative way to retrieve version number from +pyproject.toml +- Release 1.5.0 + * #492 Feat: Global configuration support (@bagel897) + * #519 Move pytest to pyproject.toml (@gliptak, @bagel897) + * #509 Fix read/write analysis of the left-hand side of an +augmented assignment (@lieryan) + * #522 Implement patchedast parsing of MatchMapping (@lieryan) + * #514 Fix inlining dictionary with inline comment (@lieryan) +- Release 1.4.0 + * #506, #507 Fix issue with parsing function call args list + * #411, #505 Fix extracting generator without parens + * #18, #510 When the function is a builtin function, the call +parameter's name was sometimes incorrectly identified as an +AssignedName. This led to rename refactoring incorrectly +renaming these parameters. +- Release 1.3.0 + * #496, #497 Add MatMul operator to patchedast + * #495 Fix autoimport collection for compiled modules + * #501, #502 Autoimport improvements +- Release 1.2.0 + ## New feature + * #473 Pyproject.toml support (@bageljrkhanofemus) + * #489 Rope now publishes documentations to rope.readthedocs.org +(@bageljrkhanofemus) + * #490 Migrate from setup.py to pyproject.toml +(@bageljrkhanofemus) + ## Improvement + * #479 Add ABC and type hints for TaskHandle and JobSet +(@bageljrkhanofemus) + * #486 Drop Python 2 support (@bageljrkhanofemus, @lieryan) + * #487 Improved value inference of all declaration (@lieryan) + * #424 Add some basic repr to make it easier for debugging +(@lieryan) +- Release 1.1.1 + * #476 Fix rope.contrib.autoimport package missing from release +(@bageljrkhanofemus) +- Release 1.1.0 + ## New feature + * #464 Add new autoimport implementation that uses a sqllite3 +database, cache all available modules quickly, search for names +and produce import statements, sort import statements. +(@bageljrkhanofemus) + ## Bug fixes + * #419 Fix bug while moving decorated function (@dryobates) + * #439 Fix bug while moving decorated class (@dryobates) + * #461 Fix bug while extracting method with list comprehension in +class method (@dryobates) + * #440 Fix bug while inlining function with type hints in +signature (@dryobates) + ## Deprecation + * The pickle-based autoimport implementation is still the +default, but will be deprecated sometime in the future. +- Release 1.0.0 + * Date: 2022-04-08 + ## Syntax support + * #400 Drop Python 2.7 support + ## Bug fixes + * #459 Fix bug while extracting method with augmented assignment +to subscript in try block (@dryobates) +- Release 0.23.0 + ## Syntax support + * #451, $456 Implement structural p
commit python-rope for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-rope for openSUSE:Factory checked in at 2022-02-21 17:46:32 Comparing /work/SRC/openSUSE:Factory/python-rope (Old) and /work/SRC/openSUSE:Factory/.python-rope.new.1958 (New) Package is "python-rope" Mon Feb 21 17:46:32 2022 rev:28 rq:956183 version:0.22.0 Changes: --- /work/SRC/openSUSE:Factory/python-rope/python-rope.changes 2021-10-26 20:15:01.822052170 +0200 +++ /work/SRC/openSUSE:Factory/.python-rope.new.1958/python-rope.changes 2022-02-21 17:47:36.779612116 +0100 @@ -1,0 +2,9 @@ +Sun Feb 20 21:01:54 UTC 2022 - Dirk M??ller + +- 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 + +--- Old: rope-0.21.0.tar.gz New: rope-0.22.0.tar.gz Other differences: -- ++ python-rope.spec ++ --- /var/tmp/diff_new_pack.GEtg9P/_old 2022-02-21 17:47:37.351612287 +0100 +++ /var/tmp/diff_new_pack.GEtg9P/_new 2022-02-21 17:47:37.355612288 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-rope # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %define upname rope %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-rope -Version:0.21.0 +Version:0.22.0 Release:0 Summary:A python refactoring library License:LGPL-3.0-or-later ++ rope-0.21.0.tar.gz -> rope-0.22.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rope-0.21.0/CHANGELOG.md new/rope-0.22.0/CHANGELOG.md --- old/rope-0.21.0/CHANGELOG.md2021-10-18 12:06:02.0 +0200 +++ new/rope-0.22.0/CHANGELOG.md2021-11-22 16:05:08.0 +0100 @@ -1,9 +1,26 @@ # **Upcoming release** -TODO +## Syntax support + +- #443 Implement `yield from` syntax support to patchedast.py + +## Bug fixes + +- #445, #446 Improve empty tuple and handling of parentheses around tuple +- #270, #432 Fix rename import statement with dots and as keyword (@climbus) + +# Release 0.21.1 + +Date: 2021-11-11 + +## Bug fixes + +- #441. Start publishing wheel packages to allow offline installs # Release 0.21.0 +Date: 2021-10-18 + ## Syntax support - #392, #316 Handle `global` keyword when extracting method (@climbus) @@ -28,14 +45,14 @@ ## New feature -- #434 Move read() to FileSystemCommands +- #434 Move read() to FileSystemCommands (@lieryan) ## Misc - #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 +- #399 Add Github Actions to enforce black code style (@lieryan) +- #403 Remove plain 'unittest' only runner (@lieryan) # Release 0.20.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rope-0.21.0/PKG-INFO new/rope-0.22.0/PKG-INFO --- old/rope-0.21.0/PKG-INFO2021-10-18 12:10:41.121533400 +0200 +++ new/rope-0.22.0/PKG-INFO2021-11-22 16:08:12.375390500 +0100 @@ -1,34 +1,11 @@ Metadata-Version: 2.1 Name: rope -Version: 0.21.0 +Version: 0.22.0 Summary: a python refactoring library... Home-page: https://github.com/python-rope/rope Author: Ali Gholami Rudi Author-email: aligr...@users.sourceforge.net License: LGPL-3.0-or-later -Description: - -.. _GitHub python-rope / rope: https://github.com/python-rope/rope - - - = - rope -- the world's most advanced open source Python refactoring library - = - - -Overview - - -`Rope`_ is the world's most advanced open source Python refactoring library -(yes, I totally stole that tagline from Postgres). - -.. _`rope`: https://github.com/python-rope/rope - - -Most Python syntax from Python 2.7 up to Python 3.9 is supported. Please file bugs and contribute -patches if you encounter gaps. - - Platform: UNKNOWN Classifier: Development Status :: 4 - Beta Classifier: Operating System :: OS Independent @@ -51,3 +28,29 @@
commit python-rope for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-rope for openSUSE:Factory checked in at 2021-10-26 20:14:15 Comparing /work/SRC/openSUSE:Factory/python-rope (Old) and /work/SRC/openSUSE:Factory/.python-rope.new.1890 (New) Package is "python-rope" Tue Oct 26 20:14:15 2021 rev:27 rq:927544 version:0.21.0 Changes: --- /work/SRC/openSUSE:Factory/python-rope/python-rope.changes 2021-10-18 22:00:31.414021147 +0200 +++ /work/SRC/openSUSE:Factory/.python-rope.new.1890/python-rope.changes 2021-10-26 20:15:01.822052170 +0200 @@ -1,0 +2,39 @@ +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 + +--- Old: rope-0.20.0.tar.gz New: rope-0.21.0.tar.gz Other differences: -- ++ python-rope.spec ++ --- /var/tmp/diff_new_pack.yhLSR3/_old 2021-10-26 20:15:02.710052639 +0200 +++ /var/tmp/diff_new_pack.yhLSR3/_new 2021-10-26 20:15:02.714052642 +0200 @@ -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 ++ rope-0.20.0.tar.gz -> rope-0.21.0.tar.gz ++ 50566 lines of diff (skipped)
commit python-rope for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-rope for openSUSE:Factory checked in at 2021-10-18 21:58:42 Comparing /work/SRC/openSUSE:Factory/python-rope (Old) and /work/SRC/openSUSE:Factory/.python-rope.new.1890 (New) Package is "python-rope" Mon Oct 18 21:58:42 2021 rev:26 rq:925164 version:0.20.0 Changes: --- /work/SRC/openSUSE:Factory/python-rope/python-rope.changes 2021-10-06 19:49:48.832054549 +0200 +++ /work/SRC/openSUSE:Factory/.python-rope.new.1890/python-rope.changes 2021-10-18 22:00:31.414021147 +0200 @@ -22,0 +23,21 @@ +Tue Oct 5 19:48:56 UTC 2021 - Matej Cepl + +- 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 + +--- @@ -219,0 +241 @@ +Wed Aug 5 16:03:28 CEST 2009 - Other differences: --
commit python-rope for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-rope for openSUSE:Factory checked in at 2021-10-06 19:49:47 Comparing /work/SRC/openSUSE:Factory/python-rope (Old) and /work/SRC/openSUSE:Factory/.python-rope.new.2443 (New) Package is "python-rope" Wed Oct 6 19:49:47 2021 rev:25 rq:923346 version:0.20.0 Changes: --- /work/SRC/openSUSE:Factory/python-rope/python-rope.changes 2021-04-19 21:06:08.084041550 +0200 +++ /work/SRC/openSUSE:Factory/.python-rope.new.2443/python-rope.changes 2021-10-06 19:49:48.832054549 +0200 @@ -1,0 +2,21 @@ +Tue Oct 5 19:48:56 UTC 2021 - Matej Cepl + +- 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 + +--- Old: rope-0.19.0.tar.gz New: rope-0.20.0.tar.gz Other differences: -- ++ python-rope.spec ++ --- /var/tmp/diff_new_pack.bzOiwn/_old 2021-10-06 19:49:49.464054788 +0200 +++ /var/tmp/diff_new_pack.bzOiwn/_new 2021-10-06 19:49:49.468054790 +0200 @@ -19,7 +19,7 @@ %define upname rope %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-rope -Version:0.19.0 +Version:0.20.0 Release:0 Summary:A python refactoring library License:LGPL-3.0-or-later ++ rope-0.19.0.tar.gz -> rope-0.20.0.tar.gz ++ 2169 lines of diff (skipped)
commit python-rope for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-rope for openSUSE:Factory checked in at 2021-04-19 21:05:50 Comparing /work/SRC/openSUSE:Factory/python-rope (Old) and /work/SRC/openSUSE:Factory/.python-rope.new.12324 (New) Package is "python-rope" Mon Apr 19 21:05:50 2021 rev:24 rq:886499 version:0.19.0 Changes: --- /work/SRC/openSUSE:Factory/python-rope/python-rope.changes 2021-04-17 00:01:52.825604976 +0200 +++ /work/SRC/openSUSE:Factory/.python-rope.new.12324/python-rope.changes 2021-04-19 21:06:08.084041550 +0200 @@ -1,0 +2,33 @@ +Sun Apr 18 20:56:15 UTC 2021 - Matej Cepl + +- 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. + +--- Old: rope-0.18.0.tar.gz rope-pr333-py39.patch New: rope-0.19.0.tar.gz Other differences: -- ++ python-rope.spec ++ --- /var/tmp/diff_new_pack.SDAZjv/_old 2021-04-19 21:06:08.580042293 +0200 +++ /var/tmp/diff_new_pack.SDAZjv/_new 2021-04-19 21:06:08.584042299 +0200 @@ -19,15 +19,13 @@ %define upname rope %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-rope -Version:0.18.0 +Version:0.19.0 Release:0 Summary:A python refactoring library License:LGPL-3.0-or-later Group: Development/Languages/Python URL:https://github.com/python-rope/rope Source: https://files.pythonhosted.org/packages/source/r/rope/rope-%{version}.tar.gz -# PATCH-FIX-UPSTREAM rope-pr333-py39.patch gh#python-rope/rope#333 -Patch1: rope-pr333-py39.patch BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes ++ rope-0.18.0.tar.gz -> rope-0.19.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rope-0.18.0/PKG-INFO new/rope-0.19.0/PKG-INFO --- old/rope-0.18.0/PKG-INFO2020-10-07 18:08:40.468835800 +0200 +++ new/rope-0.19.0/PKG-INFO2021-04-18 22:17:27.277263200 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: rope -Version: 0.18.0 +Version: 0.19.0 Summary: a python refactoring library... Home-page: https://github.com/python-rope/rope Author: Ali Gholami Rudi @@ -51,5 +51,6 @@ Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 Classifier: Topic :: Software Development Provides-Extra: dev diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rope-0.18.0/rope/__init__.py new/rope-0.19.0/rope/__init__.py --- old/rope-0.18.0/rope/__init__.py2020-10-07 18:08:26.0 +0200 +++ new/rope-0.19.0/rope/__init__.py2021-04-18 22:17:05.0 +0200 @@ -1,9 +1,9 @@ """rope, a python refactoring library""" INFO = __doc__ -VERSION = '0.18.0' +VERSION = '0.19.0' COPYRIGHT = """\ -Copyright (C) 2019-2020 Matej Cepl +Copyright (C) 2019-2021 Matej Cepl Copyright (C) 2015-2018 Nicholas Smith Copyright (C) 2014-2015 Matej Cepl Copyright (C) 2006-2012 Ali Gholami Rudi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rope-0.18.0/rope/base/codeanalyze.py new/rope-0.19.0/rope/ba
commit python-rope for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-rope for openSUSE:Factory checked in at 2021-04-17 00:01:43 Comparing /work/SRC/openSUSE:Factory/python-rope (Old) and /work/SRC/openSUSE:Factory/.python-rope.new.12324 (New) Package is "python-rope" Sat Apr 17 00:01:43 2021 rev:23 rq:885884 version:0.18.0 Changes: --- /work/SRC/openSUSE:Factory/python-rope/python-rope.changes 2020-10-20 16:20:50.694306259 +0200 +++ /work/SRC/openSUSE:Factory/.python-rope.new.12324/python-rope.changes 2021-04-17 00:01:52.825604976 +0200 @@ -1,0 +2,6 @@ +Wed Mar 31 12:05:06 UTC 2021 - Ben Greiner + +- Add rope-pr333-py39.patch for python39 compatibility + gh#python-rope/rope#333 + +--- New: rope-pr333-py39.patch Other differences: -- ++ python-rope.spec ++ --- /var/tmp/diff_new_pack.EFvTzy/_old 2021-04-17 00:01:53.257605657 +0200 +++ /var/tmp/diff_new_pack.EFvTzy/_new 2021-04-17 00:01:53.257605657 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-rope # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,6 +26,8 @@ Group: Development/Languages/Python URL:https://github.com/python-rope/rope Source: https://files.pythonhosted.org/packages/source/r/rope/rope-%{version}.tar.gz +# PATCH-FIX-UPSTREAM rope-pr333-py39.patch gh#python-rope/rope#333 +Patch1: rope-pr333-py39.patch BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -59,6 +61,7 @@ %license COPYING %doc README.rst %doc docs/ -%{python_sitelib}/ +%{python_sitelib}/rope +%{python_sitelib}/rope-%{version}*-info %changelog ++ rope-pr333-py39.patch ++ >From 5fbce2b97ba49c0900d882043acf3ff46e936d38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= Date: Mon, 15 Mar 2021 22:06:35 +0100 Subject: [PATCH 1/4] Test for Python 3.9 as well --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) >From a63ae26035c5493dc8b7c3bf6a70fc05dba2be98 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sun, 14 Mar 2021 10:17:47 -0400 Subject: [PATCH 2/4] Fix test expectations for Python 3.9 AST changes Fixes the following two tests under Python 3.9: FAILED ropetest/refactor/patchedasttest.py::PatchedASTTest::test_ext_slice_node - AssertionError: Node cannot be found FAILED ropetest/refactor/patchedasttest.py::PatchedASTTest::test_simple_subscript - AssertionError: False is not true : Expected but was The ast module in Python 3.9 has some API changes. Quoting [1]: Simplified AST for subscription. Simple indices will be represented by their value, extended slices will be represented as tuples. Index(value) will return a value itself, ExtSlice(slices) will return Tuple(slices, Load()). (Contributed by Serhiy Storchaka in bpo-34822.) [1] https://docs.python.org/3/whatsnew/3.9.html#changes-in-the-python-api --- ropetest/refactor/patchedasttest.py | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/ropetest/refactor/patchedasttest.py b/ropetest/refactor/patchedasttest.py index 04df3752..74a9d9a6 100644 --- a/ropetest/refactor/patchedasttest.py +++ b/ropetest/refactor/patchedasttest.py @@ -838,8 +838,12 @@ def test_ext_slice_node(self): source = 'x = xs[0,:]\n' ast_frag = patchedast.get_patched_ast(source, True) checker = _ResultChecker(self, ast_frag) -checker.check_region('ExtSlice', 7, len(source) - 2) -checker.check_children('ExtSlice', ['Index', '', ',', '', 'Slice']) +if sys.version_info >= (3, 9): +checker.check_region('Tuple', 7, len(source) - 2) +checker.check_children('Tuple', ['Num', '', ',', '', 'Slice']) +else: +checker.check_region('ExtSlice', 7, len(source) - 2) +checker.check_children('ExtSlice', ['Index', '', ',', '', 'Slice']) def test_simple_module_node(self): source = 'pass\n' @@ -933,9 +937,13 @@ def test_simple_subscript(self): source = 'a[1]\n' ast_frag = patchedast.get_patched_ast(source, True) checker = _ResultChecker(self, ast_frag) -checker.check_children( -'Subscript', ['Name', '', '[', '', 'Index', '', ']']) -checker.check_children('Index', ['Num']) +if sys.version_info >= (3, 9): +checker.check_children( +'Subscript', ['Name', '', '[', '', 'Num', '', ']']) +e