8caf583715
- Correct dist-info directory due to new setuptools.
Steve Kowalik2025-03-24 07:13:18 +00:00
fb015d9ebb
Accepting request 1238985 from devel:languages:python
Ana Guerrero2025-01-21 20:09:44 +00:00
859466602f
- Update to 7.2 * Add preliminary support for Python 3.14a2, this means that `.common.builtins.IByteString and .common.collections.IByteString are no longer available from this Python version onwards as Python 3.14 dropped collections.abc.ByteString`.
Markéta Machová2025-01-20 10:47:30 +00:00
731ea91e1d
- Update to 7.1.1 * Fix segmentation faults in weakrefobject.c on Python 3.12 and 3.13. (#323) - Adjust upstream source name in spec file
Markéta Machová2024-10-30 16:02:56 +00:00
9543ffcc15
- Update to 7.1.0: * Declare support for Python 3.13. * Fix segmentation faults on Python 3.13. (#323) - Drop patch fix-testsuite-segfault.patch, included upstream. - Switch to autosetup macros.
Steve Kowalik2024-10-14 03:38:40 +00:00
471e5f7b60
- Cherry-pick upstream patch to fix testsuite segfault with Python 3.13 * fix-testsuite-segfault.patch
Oliver Kurz2024-09-26 18:20:07 +00:00
122c95924c
Accepting request 1199456 from devel:languages:python
Ana Guerrero2024-09-09 12:43:24 +00:00
71b6ed8362
- update to 7.0.3: * Fix Assertion 'memb->type == T_PYSSIZET' failed. for Python < 3.12. * Fix reference-counting bug in C module initialization (broken in 7.0). * Fix subclassability of ObjectSpecificationDescriptor (broken in 7.0). * Enable heap-based types (PEP 384) for Python >= 3.11. * Adopt multi-phase module initialization (PEP 489). * Drop support for Python 3.7.
Dirk Mueller2024-09-08 13:12:08 +00:00
d242d47e99
Accepting request 1179654 from devel:languages:python
Ana Guerrero2024-06-11 16:27:10 +00:00
2154523d12
- update to 6.4.post2: * Publish missing Windows wheels, second attempt. * Publish missing Windows wheels. * The sdist of version 6.4 was uploaded to PyPI as zope_interface-6.4.tar.gz instead of zope.interface-6.4-py2.tar.gz which cannot be installed by zc.buildout. This release is a re-release of version 6.4 with the correct sdist name. * Adjust for incompatible changes in Python 3.13b1. * Build windows wheels on GHA.
Dirk Mueller2024-06-10 08:29:10 +00:00
1594d98046
Accepting request 1174206 from devel:languages:python
Ana Guerrero2024-05-16 15:13:02 +00:00
1f2a4de699
- update to 6.3: * Add preliminary support for Python 3.13 as of 3.13a6.
Dirk Mueller2024-05-08 10:59:13 +00:00
43523b3682
- 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.
Dirk Mueller2024-03-13 10:01:38 +00:00
0bae8d1777
Accepting request 1134716 from devel:languages:python
Ana Guerrero2023-12-25 18:04:34 +00:00
4a4b3d8155
- update to 6.1: * Add support for Python 3.12. * Fix building of the docs for non-final versions. - Update to version 5.5.2 - Update to version 5.5.1 - Update to version 5.5.0
Dirk Mueller2023-12-16 09:00:59 +00:00
ca41fed7b8
- 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.classProvidesDirk Mueller2023-05-05 08:46:01 +00:00
b4f430de9d
- 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.
Tomáš Chvátal
2020-04-14 09:16:42 +00:00
051916111e
- 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.
Steve Kowalik2019-12-09 05:24:01 +00:00
00cfd8fd3d
- 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.
Tomáš Chvátal
2018-08-28 11:30:45 +00:00
b7432fcf14
- update to 4.3.1: - Support Components subclasses that are not hashable. (https://github.com/zopefoundation/zope.interface/issues/53) - Add the ability to sort the objects returned by `implementedBy. This is compatible with the way interface classes sort so they can be used together in ordered containers like BTrees. (https://github.com/zopefoundation/zope.interface/issues/42) - Make setuptools a hard dependency of setup.py. - Change a linear algorithm (O(n)) in Components.registerUtility and Components.unregisterUtility` into a dictionary lookup (O(1)) for hashable components. This substantially improves the time taken to manipulate utilities in large registries at the cost of some additional memory usage. (https://github.com/zopefoundation/zope.interface/issues/46)
Dirk Mueller2016-11-15 10:12:53 +00:00
28bc49f8ad
- Update to version 3.8.0: * New module zope.interface.registry * No longer Python 2.4 compatible (tested under 2.5, 2.6, 2.7, and 3.2).
Sascha Peilicke
2011-09-23 10:29:28 +00:00
2ee67ecf6a
Accepting request 81114 from devel:languages:python
Lars Vogdt
2011-09-12 21:44:26 +00:00
c54608db23
- Renamed to python-zope.interface (from python-zopeinterface) - Simplyfied spec file - Update to version 3.7.0: * LP #570942: Now correctly compare interfaces from different modules but with the same names. * LP #811792: work around buggy behavior in some subclasses of zope.interface.interface.InterfaceClass, which invoke __hash__ before initializing __module__ and __name__. The workaround returns a fixed constant hash in such cases, and issues a UserWarning. * LP #804832: Under PyPy, zope.interface should not build its C extension. Also, prevent attempting to build it under Jython. * Add a tox.ini for easier xplatform testing. * Fix testing deprecation warnings issued when tested under Py3K. * LP 804951: InterfaceClass instances were unhashable under Python 3.x. * LP #570942: Now correctly compare interfaces from different modules but with the same names.
Sascha Peilicke
2011-09-06 13:53:06 +00:00