pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-attrs



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Mar 26 14:33:22 UTC 2026

Modified Files:
        pkgsrc/devel/py-attrs: Makefile distinfo

Log Message:
py-attrs: update to 26.1.0.

## [26.1.0]

### Backwards-incompatible Changes

- Field aliases are now resolved *before* calling `field_transformer`, so transformers receive fully populated `Attribute` objects with usable `alias` values instead of `None`.
  The new `Attribute.alias_is_default` flag indicates whether the alias was auto-generated
  [#1509]

### Changes

- Fix type annotations for `attrs.validators.optional()`, so it no longer rejects tuples with more than one validator.
  [#1496]
- The `attrs.validators.disabled()` contextmanager can now be nested.
  [#1513]
- Frozen classes can set `on_setattr=attrs.setters.NO_OP` in addition to `None`.
  [#1515]
- It's now possible to pass *attrs* **instances** in addition to *attrs* **classes** to `attrs.fields()`.
  [#1529]


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 pkgsrc/devel/py-attrs/Makefile
cvs rdiff -u -r1.23 -r1.24 pkgsrc/devel/py-attrs/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-attrs/Makefile
diff -u pkgsrc/devel/py-attrs/Makefile:1.33 pkgsrc/devel/py-attrs/Makefile:1.34
--- pkgsrc/devel/py-attrs/Makefile:1.33 Sun Oct 12 17:11:01 2025
+++ pkgsrc/devel/py-attrs/Makefile      Thu Mar 26 14:33:22 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.33 2025/10/12 17:11:01 wiz Exp $
+# $NetBSD: Makefile,v 1.34 2026/03/26 14:33:22 wiz Exp $
 
-DISTNAME=      attrs-25.4.0
+DISTNAME=      attrs-26.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/attrs/}

Index: pkgsrc/devel/py-attrs/distinfo
diff -u pkgsrc/devel/py-attrs/distinfo:1.23 pkgsrc/devel/py-attrs/distinfo:1.24
--- pkgsrc/devel/py-attrs/distinfo:1.23 Sun Oct 12 17:11:01 2025
+++ pkgsrc/devel/py-attrs/distinfo      Thu Mar 26 14:33:22 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.23 2025/10/12 17:11:01 wiz Exp $
+$NetBSD: distinfo,v 1.24 2026/03/26 14:33:22 wiz Exp $
 
-BLAKE2s (attrs-25.4.0.tar.gz) = cfef3c51647e5333b29fb586823dd6fd0498a14e3c484b295b87d6a4bef7095b
-SHA512 (attrs-25.4.0.tar.gz) = 945ea1766adf7e8c8cc8b8f8c63c3dca652553522cede6a09d479f9919a41d43539819da2fe6fdc0e0b42822e353c7cb04b79fb9cecfd54bde5e301574a82341
-Size (attrs-25.4.0.tar.gz) = 934251 bytes
+BLAKE2s (attrs-26.1.0.tar.gz) = 7a0ae72f765af94d66290f5e23901272af76a88cbf1f6b9fe62260e0231e5267
+SHA512 (attrs-26.1.0.tar.gz) = f9ae9f3a3d313c5f111870d14308fdbb3e2d75a077e76a3b8304d6b9688902c256d7d5b097eaa41e674c29db08c5034e635ee564252096c62f64b6b817f145ae
+Size (attrs-26.1.0.tar.gz) = 952055 bytes



Home | Main Index | Thread Index | Old Index