summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Back to development: 6.1HEADmasterMichael Howitz2023-04-132-1/+7
|
* Preparing release 6.1a26.1a2Michael Howitz2023-04-132-3/+3
|
* Fix building of the docs for non-final versions.Michael Howitz2023-04-132-3/+3
|
* Back to development: 6.1Michael Howitz2023-04-062-1/+7
|
* Preparing release 6.1a16.1a1Michael Howitz2023-04-062-3/+3
|
* Enable ppc64le wheels (#269)Marvin Gießing2023-04-052-2/+10
| | | Co-authored-by: Michael Howitz <mh@gocept.com>
* Back to development: 6.1Michael Howitz2023-03-172-1/+7
|
* Preparing release 6.06.0Michael Howitz2023-03-172-2/+2
|
* Add preliminary support for Python 3.12a5. (#268)Michael Howitz2023-03-067-10/+36
|
* - update to latest meta/configJens Vagelpohl2023-01-033-8/+11
|
* Drop support for Python 2.7, 3.5, 3.6. (#266)Michael Howitz2022-12-2848-1848/+692
| | | Co-authored-by: Jens Vagelpohl <jens@plyp.com>
* Merge pull request #265 from cjwatson/return-None-from-test-case5.xColin Watson2022-12-112-4/+9
|\ | | | | Fix test deprecation warning on Python 3.11
| * Fix test deprecation warning on Python 3.11Colin Watson2022-12-102-4/+9
|/ | | | | | | | | | | Python 3.11 warns: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method Test_c3_ro.test_complex_diamond of <zope.interface.tests.test_ro.Test_c3_ro testMethod=test_complex_diamond>>) Rearrange slightly to avoid this.
* - vb [ci skip]Jens Vagelpohl2022-11-172-1/+5
|
* - prepare release 5.5.25.5.2Jens Vagelpohl2022-11-173-3/+4
|
* - Add support for building arm64 wheels on macOS.Jens Vagelpohl2022-11-134-40/+84
|
* - vb [ci skip]Jens Vagelpohl2022-11-032-1/+5
|
* - prepare release 5.5.15.5.1Jens Vagelpohl2022-11-037-27/+7
|
* - update to the latest meta/config and declare Python 3.11 supportJens Vagelpohl2022-11-025-14/+15
|
* Back to development: 5.5.1Michael Howitz2022-10-102-1/+7
|
* Preparing release 5.5.05.5.0Michael Howitz2022-10-102-2/+2
|
* Update to current meta/config.Michael Howitz2022-09-163-7/+8
|
* Update changelogMarius Gedminas2022-09-121-0/+3
|
* Merge pull request #262 from zopefoundation/config-with-c-codeMarius Gedminas2022-09-104-10/+39
|\ | | | | Update to the latest c-code template
| * Update to the latest c-code templateMarius Gedminas2022-09-094-10/+39
|/ | | | | | | | | | | Add a regression test for CFLAGS not having -Ofast, which is known to break things. See https://github.com/zopefoundation/meta/pull/155 for reference. This reverts commit dc2e4b9841185889bdf8b77ee5c28f5b7295578a, which itself was reverting commit 22a761cc9e6fcfa840582d55a15abda31a9dd2e1, which was accidentally pushed to git master and is otherwise identical to this commit.
* Revert "Update to the latest c-code template"Marius Gedminas2022-09-094-39/+10
| | | | | | This reverts commit 22a761cc9e6fcfa840582d55a15abda31a9dd2e1. This was not supposed to have been pushed directly to master :/
* Update to the latest c-code templateMarius Gedminas2022-09-094-10/+39
| | | | | | Add a regression test for CFLAGS not having -Ofast, which is known to break things. See https://github.com/zopefoundation/meta/pull/155 for reference.
* Update to Python 3.11.0b4.Michael Howitz2022-08-035-13/+61
|
* Fix PyPy2 run on GHA.Michael Howitz2022-07-0710-18/+63
|
* Fix tests for PyPy3.Michael Howitz2022-03-291-1/+2
| | | | | | | | | | | | | | | On PyPy3 the following `registered_classes` for `IMutableMapping` are found: ``` {<class 'dict'>, <class 'pkg_resources._vendor.pyparsing.ParseResults'>, <class 'setuptools._vendor.pyparsing.ParseResults'>, <class 'collections.UserDict'>} ``` So collecting the tests fails because of a duplicate name which is prevented by this commit.
* Add support for Python 3.11. (#253)Michael Howitz2022-01-286-9/+23
| | | | | * Add support for Python 3.11. * Do not use the binary version of coverage as it has a Python 3.11 wheel on PyPI which is not ABI compatible with the current alpha release and caused segfaults. * Do not push wheels of Python future releases to PyPI.
* Fix typos (#251)Kian-Meng Ang2022-01-2512-17/+18
| | | Co-authored-by: Michael Howitz <mh@gocept.com>
* Add support for Python 3.10 (#250)Michael Howitz2022-01-2414-101/+123
| | | | | * Fix tests on Python 3.10. * "Fix" a test broken just on windows + allow to use posargs for tox test runs. * Checking array.array non-strictly did not help on Windows. – So ignore it completely.
* Merge pull request #248 from cjwatson/more-interfaces-allColin Watson2021-09-062-0/+7
|\ | | | | Add some more entries to zope.interface.interfaces.__all__
| * Add some more entries to zope.interface.interfaces.__all__Colin Watson2021-09-022-0/+7
|/ | | | | | | | | `ComponentLookupError`, `Invalid`, `Registered`, and `Unregistered` are all documented (https://zopeinterface.readthedocs.io/en/latest/api/components.html), so it seems odd not to list them in `__all__`. `ObjectEvent` isn't documented there, but it seems reasonable to export it as a base class for similar events.
* Merge pull request #244 from zopefoundation/use-pypi-tokenMarius Gedminas2021-06-162-4/+10
|\ | | | | Use a token for twine uploads from Appveyor
| * Use a token for twine uploads from AppveyorMarius Gedminas2021-06-162-4/+10
|/ | | | | (I cheated and edited both files manually instead of editing .meta.toml and re-running the config tool.)
* Configure with meta/config. (#243)Michael Howitz2021-06-0214-184/+387
| | | | * Add support for Python 3.9. * Improve coverage.
* Fix the documentation so it can be tested with ↵Michael Howitz2021-05-054-7/+11
| | | | | `ZOPE_INTERFACE_STRICT_IRO=1`. (#242) Closes #241.
* Back to development: 5.4.1Jason Madden2021-04-152-1/+7
|
* Preparing release 5.4.05.4.0Jason Madden2021-04-152-2/+2
|
* Merge pull request #240 from zopefoundation/issue239Jason Madden2021-04-154-10/+78
|\ | | | | Make C's __providedBy__ stop ignoring all errors and catch only AttributeError
| * Finish sentence in docstring. [skip ci]Jason Madden2021-04-151-1/+2
| |
| * Make C's __providedBy__ stop ignoring all errors and catch only AttributeError.issue239Jason Madden2021-04-134-10/+77
| | | | | | | | | | | | | | Fixes #239 There was a similar bug in the Python side where it would ignore a __provides__ of None, unlike the C implementation. I documented this in the code but not the CHANGES.rst because I can't imagine anyone relying on that.
* | Merge pull request #238 from zopefoundation/issue193Jason Madden2021-04-154-24/+101
|\ \ | |/ |/| Make Declaration.__add__ try harder to produce consistent resolution orders
| * Make Declaration.__add__ try harder to produce consistent resolution orders.issue193Jason Madden2021-04-014-24/+101
|/ | | | | | By moving things from the RHS to the front of the list if they already extend something from the LHS. Fixes #193
* Merge pull request #237 from zopefoundation/issue236Jason Madden2021-03-299-97/+444
|\ | | | | Update repr() and str() of some common objects.
| * Update repr() and str() of some common objects.issue236Jason Madden2021-03-259-97/+444
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only InterfaceClass got a str, so it now has a distinction. Other objects only got updated reprs. Note: This may potentially break some doctests. In many cases, the ``repr()`` is now something that can be evaluated to produce an equal object. For example, what was previously printed as ``<implementedBy builtins.list>`` is now shown as ``classImplements(list, IMutableSequence, IIterable)``. Fixes #236 Here's a before with ZOPE_INTERFACE_LOG_CHANGED_IRO=1 in BTrees: ``` Object <implementedBy builtins.list> has different legacy and C3 MROs: Legacy RO (len=11) C3 RO (len=11; inconsistent=no) ================================================================================================================================================== <implementedBy builtins.list> <implementedBy builtins.list> <ABCInterfaceClass zope.interface.common.collections.IMutableSequence> <ABCInterfaceClass zope.interface.common.collections.IMutableSequence> <ABCInterfaceClass zope.interface.common.collections.ISequence> <ABCInterfaceClass zope.interface.common.collections.ISequence> <ABCInterfaceClass zope.interface.common.collections.IReversible> <ABCInterfaceClass zope.interface.common.collections.IReversible> <ABCInterfaceClass zope.interface.common.collections.ICollection> <ABCInterfaceClass zope.interface.common.collections.ICollection> <ABCInterfaceClass zope.interface.common.collections.ISized> <ABCInterfaceClass zope.interface.common.collections.ISized> + <ABCInterfaceClass zope.interface.common.collections.IIterable> <ABCInterfaceClass zope.interface.common.collections.IContainer> <ABCInterfaceClass zope.interface.common.collections.IContainer> - <ABCInterfaceClass zope.interface.common.collections.IIterable> <ABCInterfaceClass zope.interface.common.ABCInterface> <ABCInterfaceClass zope.interface.common.ABCInterface> + <implementedBy builtins.object> <InterfaceClass zope.interface.Interface> <InterfaceClass zope.interface.Interface> - <implementedBy builtins.object> Object <ABCInterfaceClass zope.interface.common.mapping.IFullMapping> has different legacy and C3 MROs: Legacy RO (len=18) C3 RO (len=18; inconsistent=no) ================================================================================================================================================ <ABCInterfaceClass zope.interface.common.mapping.IFullMapping> <ABCInterfaceClass zope.interface.common.mapping.IFullMapping> <ABCInterfaceClass zope.interface.common.collections.IMutableMapping> <ABCInterfaceClass zope.interface.common.collections.IMutableMapping> <ABCInterfaceClass zope.interface.common.collections.IMapping> <ABCInterfaceClass zope.interface.common.collections.IMapping> <ABCInterfaceClass zope.interface.common.collections.ICollection> <ABCInterfaceClass zope.interface.common.collections.ICollection> - <ABCInterfaceClass zope.interface.common.collections.IIterable> <InterfaceClass zope.interface.common.mapping.IExtendedReadMapping> <InterfaceClass zope.interface.common.mapping.IExtendedReadMapping> <InterfaceClass zope.interface.common.mapping.IIterableMapping> <InterfaceClass zope.interface.common.mapping.IIterableMapping> <InterfaceClass zope.interface.common.mapping.IExtendedWriteMapping> <InterfaceClass zope.interface.common.mapping.IExtendedWriteMapping> <InterfaceClass zope.interface.common.mapping.IClonableMapping> <InterfaceClass zope.interface.common.mapping.IClonableMapping> <InterfaceClass zope.interface.common.mapping.IMapping> <InterfaceClass zope.interface.common.mapping.IMapping> <InterfaceClass zope.interface.common.mapping.IWriteMapping> <InterfaceClass zope.interface.common.mapping.IWriteMapping> <InterfaceClass zope.interface.common.mapping.IEnumerableMapping> <InterfaceClass zope.interface.common.mapping.IEnumerableMapping> <ABCInterfaceClass zope.interface.common.collections.ISized> <ABCInterfaceClass zope.interface.common.collections.ISized> + <ABCInterfaceClass zope.interface.common.collections.IIterable> <InterfaceClass zope.interface.common.mapping.IReadMapping> <InterfaceClass zope.interface.common.mapping.IReadMapping> <ABCInterfaceClass zope.interface.common.collections.IContainer> <ABCInterfaceClass zope.interface.common.collections.IContainer> <ABCInterfaceClass zope.interface.common.ABCInterface> <ABCInterfaceClass zope.interface.common.ABCInterface> <InterfaceClass zope.interface.common.mapping.IItemMapping> <InterfaceClass zope.interface.common.mapping.IItemMapping> <InterfaceClass zope.interface.Interface> <InterfaceClass zope.interface.Interface> Object <InterfaceClass BTrees.Interfaces.ISet> has different legacy and C3 MROs: Legacy RO (len=7) C3 RO (len=7; inconsistent=no) ==================================================================================================== <InterfaceClass BTrees.Interfaces.ISet> <InterfaceClass BTrees.Interfaces.ISet> <InterfaceClass BTrees.Interfaces.IKeySequence> <InterfaceClass BTrees.Interfaces.IKeySequence> - <InterfaceClass BTrees.Interfaces.ISized> <InterfaceClass BTrees.Interfaces.ISetMutable> <InterfaceClass BTrees.Interfaces.ISetMutable> <InterfaceClass BTrees.Interfaces.IKeyed> <InterfaceClass BTrees.Interfaces.IKeyed> <InterfaceClass BTrees.Interfaces.ICollection> <InterfaceClass BTrees.Interfaces.ICollection> + <InterfaceClass BTrees.Interfaces.ISized> <InterfaceClass zope.interface.Interface> <InterfaceClass zope.interface.Interface> ``` And here's after: ``` Object classImplements(list, IMutableSequence, IIterable) has different legacy and C3 MROs: Legacy RO (len=11) C3 RO (len=11; inconsistent=no) ========================================================================================================== classImplements(list, IMutableSequence, IIterable) classImplements(list, IMutableSequence, IIterable) zope.interface.common.collections.IMutableSequence zope.interface.common.collections.IMutableSequence zope.interface.common.collections.ISequence zope.interface.common.collections.ISequence zope.interface.common.collections.IReversible zope.interface.common.collections.IReversible zope.interface.common.collections.ICollection zope.interface.common.collections.ICollection zope.interface.common.collections.ISized zope.interface.common.collections.ISized + zope.interface.common.collections.IIterable zope.interface.common.collections.IContainer zope.interface.common.collections.IContainer - zope.interface.common.collections.IIterable zope.interface.common.ABCInterface zope.interface.common.ABCInterface + classImplements(object) zope.interface.Interface zope.interface.Interface - classImplements(object) Object <ABCInterfaceClass zope.interface.common.mapping.IFullMapping> has different legacy and C3 MROs: Legacy RO (len=18) C3 RO (len=18; inconsistent=no) ============================================================================================================ zope.interface.common.mapping.IFullMapping zope.interface.common.mapping.IFullMapping zope.interface.common.collections.IMutableMapping zope.interface.common.collections.IMutableMapping zope.interface.common.collections.IMapping zope.interface.common.collections.IMapping zope.interface.common.collections.ICollection zope.interface.common.collections.ICollection - zope.interface.common.collections.IIterable zope.interface.common.mapping.IExtendedReadMapping zope.interface.common.mapping.IExtendedReadMapping zope.interface.common.mapping.IIterableMapping zope.interface.common.mapping.IIterableMapping zope.interface.common.mapping.IExtendedWriteMapping zope.interface.common.mapping.IExtendedWriteMapping zope.interface.common.mapping.IClonableMapping zope.interface.common.mapping.IClonableMapping zope.interface.common.mapping.IMapping zope.interface.common.mapping.IMapping zope.interface.common.mapping.IWriteMapping zope.interface.common.mapping.IWriteMapping zope.interface.common.mapping.IEnumerableMapping zope.interface.common.mapping.IEnumerableMapping zope.interface.common.collections.ISized zope.interface.common.collections.ISized + zope.interface.common.collections.IIterable zope.interface.common.mapping.IReadMapping zope.interface.common.mapping.IReadMapping zope.interface.common.collections.IContainer zope.interface.common.collections.IContainer zope.interface.common.ABCInterface zope.interface.common.ABCInterface zope.interface.common.mapping.IItemMapping zope.interface.common.mapping.IItemMapping zope.interface.Interface zope.interface.Interface Object <InterfaceClass BTrees.Interfaces.ISet> has different legacy and C3 MROs: Legacy RO (len=7) C3 RO (len=7; inconsistent=no) ================================================================== BTrees.Interfaces.ISet BTrees.Interfaces.ISet BTrees.Interfaces.IKeySequence BTrees.Interfaces.IKeySequence - BTrees.Interfaces.ISized BTrees.Interfaces.ISetMutable BTrees.Interfaces.ISetMutable BTrees.Interfaces.IKeyed BTrees.Interfaces.IKeyed BTrees.Interfaces.ICollection BTrees.Interfaces.ICollection + BTrees.Interfaces.ISized zope.interface.Interface zope.interface.Interface ```
* - prepare release 5.3.05.3.0Jens Vagelpohl2021-03-212-4/+4
|
* - ignore virtualenv artifactsJens Vagelpohl2021-03-211-0/+4
|