Revisions of python-zope.interface

Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1159258 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 36)
- update to 6.2:
  * Add preliminary support for Python 3.13 as of 3.13a3.
  * Add support to use the pipe (|) syntax for typing.Union.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1136282 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 35)
- remove python2 specific codepaths
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1134716 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 34)
Automatic submission by obs-autosubmit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1085003 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 33)
- update to 6.0:
  * Build Linux binary wheels for Python 3.11.
  * Drop support for Python 2.7, 3.5, 3.6.
  * Fix test deprecation warning on Python 3.11.
  * Add preliminary support for Python 3.12 as of 3.12a5.
  * Drop:
  * + `zope.interface.implements`
  * + `zope.interface.implementsOnly`
  * + `zope.interface.classProvides`
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1040463 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 31)
- Update to version 5.5.2 
  * Add support for building arm64 wheels on macOS.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 870203 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 26)
- Don't switch off python36 build, half of python-* packages depend on it.
- Update to version 5.2.0
  * Add documentation section ``Persistency and Equality``
  * Create arm64 wheels.
  * Add support for Python 3.9.
- Fix build on tumbleweed
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 793786 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 25)
- Update to 5.1.0:
  * Make @implementer(*iface) and classImplements(cls, *iface) ignore redundant interfaces. If the class already implements an interface through inheritance, it is no longer redeclared specifically for cls. This solves many instances of inconsistent resolution orders, while still allowing the interface to be declared for readability and maintenance purposes. See issue 199.
  * Remove all bare except: statements. Previously, when accessing special attributes such as __provides__, __providedBy__, __class__ and __conform__, this package wrapped such access in a bare except: statement, meaning that many errors could pass silently; typically this would result in a fallback path being taken and sometimes (like with providedBy()) the result would be non-sensical. This is especially true when those attributes are implemented with descriptors. Now, only AttributeError is caught. This makes errors more obvious.
  * In addition, ZODB errors like POSKeyError could now be propagated where previously they would ignored by this package.
  * Require that the second argument (bases) to InterfaceClass is a tuple. This only matters when directly using InterfaceClass to create new interfaces dynamically. Previously, an individual interface was allowed, but did not work correctly. Now it is consistent with type and requires a tuple.
  * Let interfaces define custom __adapt__ methods. This implements the other side of the PEP 246 adaptation protocol: objects being adapted could already implement __conform__ if they know about the interface, and now interfaces can implement __adapt__ if they know about particular objects. There is no performance penalty for interfaces that do not supply custom __adapt__ methods.
  * Make the internal singleton object returned by APIs like implementedBy and directlyProvidedBy for objects that implement or provide no interfaces more immutable. Previously an internal cache could be mutated. See issue 204.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 755107 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 23)
- update to 4.7.1:
  * Use Python 3 syntax in the documentation. See issue 119.
  * Drop support for Python 3.4.
  * Fix queryTaggedValue, getTaggedValue, getTaggedValueTags subclass
    inheritance. See PR 144.
  * Add support for Python 3.8.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 631966 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 20)
- Version update to 4.5.0:
  * Allow registering and unregistering instance methods as listeners. See issue 12 and PR 102.
  * Synchronize and simplify zope/__init__.py. See issue 114
  * Avoid exceptions when the __annotations__ attribute is added to interface definitions with Python 3.x type hints. See issue 98.
  * Fix the possibility of a rare crash in the C extension when deallocating items. See issue 100.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 441358 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 18)
Automatic submission by obs-autosubmit
Displaying revisions 1 - 20 of 36
openSUSE Build Service is sponsored by