pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-rope py-rope: updated to 0.21.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/695734743eb0
branches:  trunk
changeset: 768851:695734743eb0
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Nov 02 06:17:16 2021 +0000

description:
py-rope: updated to 0.21.0

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

diffstat:

 devel/py-rope/Makefile |  4 ++--
 devel/py-rope/distinfo |  8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (25 lines):

diff -r 4861a5368208 -r 695734743eb0 devel/py-rope/Makefile
--- a/devel/py-rope/Makefile    Tue Nov 02 06:13:46 2021 +0000
+++ b/devel/py-rope/Makefile    Tue Nov 02 06:17:16 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.23 2021/09/19 10:50:42 adam Exp $
+# $NetBSD: Makefile,v 1.24 2021/11/02 06:17:16 adam Exp $
 
-DISTNAME=      rope-0.20.1
+DISTNAME=      rope-0.21.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=r/rope/}
diff -r 4861a5368208 -r 695734743eb0 devel/py-rope/distinfo
--- a/devel/py-rope/distinfo    Tue Nov 02 06:13:46 2021 +0000
+++ b/devel/py-rope/distinfo    Tue Nov 02 06:17:16 2021 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.15 2021/10/26 10:19:02 nia Exp $
+$NetBSD: distinfo,v 1.16 2021/11/02 06:17:16 adam Exp $
 
-BLAKE2s (rope-0.20.1.tar.gz) = 53b3308bcde5354648f8dba4f102cfae5df8125c078b050e469173ba5787a651
-SHA512 (rope-0.20.1.tar.gz) = 328016e711a7d684fa316b3eb8ebc233bcdf579d2545d038dedc703be82e6d5b4a8af8a9fba96569c84b9cab4450a139013ec25ae16a082c699920ea9096ce7f
-Size (rope-0.20.1.tar.gz) = 257811 bytes
+BLAKE2s (rope-0.21.0.tar.gz) = f6a07992e0cb7ea29e6202a0d9b41e980455fc4c4e81646f757c527750737462
+SHA512 (rope-0.21.0.tar.gz) = b1b882087b235849b04beeb85c253eecdcc06e0d75ba54975db9c4e60e68178f7acb87a58a9a24dc942994cfbfc3662e05000d00965278697b0db412411b4c44
+Size (rope-0.21.0.tar.gz) = 256456 bytes



Home | Main Index | Thread Index | Old Index