Age | Commit message (Collapse) | Author | Files | Lines |
|
Release 0.23.0
Syntax support
- Implement structural pattern matching (PEP634)
- Improve the heuristic for joining lines when extracting one line
expression
Bug fixes
- Preserve newline format when writing files
- Fix extract info collection for list comprehension with multiple targets
Documentation
- Fix typo
|
|
They now have a tool dependency on py-setuptools instead of a DEPENDS
|
|
Release 0.22.0
Syntax support
Implement yield from syntax support to patchedast.py
Bug fixes
Improve empty tuple and handling of parentheses around tuple
Fix rename import statement with dots and as keyword
|
|
0.21.1
Bug fixes
- Start publishing wheel packages to allow offline installs
|
|
Release 0.21.0
Syntax support
- Handle `global` keyword when extracting method
- context manager:
- Implement extract refactoring for code containing `async with`
- Fix parsing of nested `with` statement/context manager
- list/set/dict/generator comprehension scope issues:
- Added scopes for comprehension expressions
- Added support for checking scopes by offset
- Fix renaming global var affects list comprehension
- Reuse of variable in comprehensions confuses method extraction
- Fix error `TypeError: 'PyDefinedObject' object is not subscriptable`
- f-string:
- Fix inlining into f-string containing quote characters
- inline assignment/walrus operator:
- Fix `AttributeError: '_ExpressionVisitor' object has no attribute 'defineds'`
Bug fixes
- Fix improper replacement when extracting attribute access expression with `similar=True`
- Fix improper replacement when extracting index access expression with `similar=True`
New feature
- Move read() to FileSystemCommands
Misc
- Setup all-contributors bot
- Blacken source code, rope now follows black code style
- Add Github Actions to enforce black code style
- Remove plain 'unittest' only runner
|
|
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
Could not be committed due to merge conflict:
devel/py-traitlets/distinfo
The following distfiles were unfetchable (note: some may be only fetched
conditionally):
./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
|
|
|
|
Release 0.20.1
Bug fixes
- Fix caller of `_namedexpr_last()` throwing exception due to returning unexpected list
instead of boolean
Release 0.20.0
New feature
- Added the ability to extract method to @staticmethod/@classmethod (@climbus)
- Changed Organize import to keep variables listed in `__all__`
- Change default .ropeproject/config.py to ignore code in folders named
.venv and venv (@0x1e02)
Syntax support
- Add extract method refactoring of code containing `exec` (@ceridwen)
- Add extract method refactoring of code containing `async def`, `async for`, and `await`
- Support extract method of expressions containing inline assignment (walrus operator)
Bug fixes
- Fix list of variables that are returned and/or turned into argument when extracting method in a loop
|
|
0.19.0
- 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
|
|
Release 0.18.0:
- Fix `Worder.get_primary_at` for names that start like
keywords.
- Add guess_def_lineno() to get actual function/class
definition line number
- Fix SimilarFinder/_ASTMatcher to consider 1/0 and True/False
to be unequal
- Compatibility with Python 3.8
- Add pytest.ini to collect all tests
|
|
New release 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
Two more assertEquals happened.
|
|
0.16.0:
Version bump (no changes, just to fix botched release of 0.15.0)
0.15.0:
New minor relase with bugfixes.
|
|
Version 0.14.0, relicensed under LGPLv3+
|
|
0.12.0:
Unknown changes
|
|
0.11.0:
Unknown changes
|
|
|
|
|
|
|
|
Update to 0.10.4 to fix issue with package in pypi
|
|
|
|
|
|
|
|
|
|
|
|
Issues found with existing distfiles:
distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
distfiles/fortran-utils-1.1.tar.gz
distfiles/ivykis-0.39.tar.gz
distfiles/enum-1.11.tar.gz
distfiles/pvs-3.2-libraries.tgz
distfiles/pvs-3.2-linux.tgz
distfiles/pvs-3.2-solaris.tgz
distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.
Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden). All existing
SHA1 digests retained for now as an audit trail.
|
|
until proven otherwise.
|
|
either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of x.y.z
or
PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-foo, py-bar
respectively, please use the same style for other packages,
and check during updates.
Use versioned_dependencies.mk where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.
Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.
Whitespace cleanups and other nits corrected, where necessary.
|
|
|
|
Remove devel/py-ctypes (only needed by and supporting python24).
Remove PYTHON_VERSIONS_ACCEPTED and PYTHON_VERSIONS_INCOMPATIBLE
lines that just mirror defaults now.
Miscellaneous cleanup while editing all these files.
|
|
works with python-2.7.
|
|
(seen in bulk build)
|
|
Helge Muehlmeier per pkgsrc-wip
|