aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2020-09-15 12:02:57 +0300
committerKhem Raj <raj.khem@gmail.com>2020-09-16 09:15:41 -0700
commit7a19eeae41fa5eabc4413448db047064f5d20aaf (patch)
treec9b3acbfc72f9e9d98ef55024acbaad87cb3f372
parent415cf6bdecd46b117807c5612a42e0f720a22009 (diff)
downloadmeta-openembedded-contrib-7a19eeae41fa5eabc4413448db047064f5d20aaf.tar.gz
python3-attrs: Upgrade 20.1.0 -> 20.2.0
Upgrade to release 20.2.0: - Backward-incompatible: attr.define(), attr.frozen(), attr.mutable(), and attr.field() remain provisional. - attr.define() et al now correct detect __eq__ and __ne__. - attr.define() et al's hybrid behavior now also works correctly when arguments are passed. - It's possible to define custom __setattr__ methods on slotted classes again. - In 20.1.0 we introduced the inherited attribute on the attr.Attribute class to differentiate attributes that have been inherited and those that have been defined directly on the class.It has shown to be problematic to involve that attribute when comparing instances of attr.Attribute though, because when sub-classing, attributes from base classes are suddenly not equal to themselves in a super class. Therefore the inherited attribute will now be ignored when hashing and comparing instances of attr.Attribute. - zope.interface is now a "soft dependency" when running the test suite; if zope.interface is not installed when running the test suite, the interface-related tests will be automatically skipped. - The ergonomics of creating frozen classes using @define(frozen=True) and sub-classing frozen classes has been improved: you don't have to set on_setattr=None anymore. #687 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-python/recipes-devtools/python/python3-attrs_20.2.0.bb (renamed from meta-python/recipes-devtools/python/python3-attrs_20.1.0.bb)4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-python/recipes-devtools/python/python3-attrs_20.1.0.bb b/meta-python/recipes-devtools/python/python3-attrs_20.2.0.bb
index 371f1f0422..c2a5b90515 100644
--- a/meta-python/recipes-devtools/python/python3-attrs_20.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-attrs_20.2.0.bb
@@ -3,8 +3,8 @@ HOMEPAGE = "http://www.attrs.org/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=d4ab25949a73fe7d4fdee93bcbdbf8ff"
-SRC_URI[sha256sum] = "0ef97238856430dcf9228e07f316aefc17e8939fc8507e18c6501b761ef1a42a"
-SRC_URI[md5sum] = "ab7533fc91c5db3d5b65e66be907444e"
+SRC_URI[sha256sum] = "26b54ddbbb9ee1d34d5d3668dd37d6cf74990ab23c828c2888dccdceee395594"
+SRC_URI[md5sum] = "7be95e1b35e9385d71a0017a48217efc"
inherit pypi setuptools3