-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update dependency zope.interface to v5.5.2 #23
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/zope.interface-5.x
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49cc714
to
6c8cd54
Compare
6c8cd54
to
7d817af
Compare
7d817af
to
88f2aab
Compare
88f2aab
to
f7a4cef
Compare
f7a4cef
to
40a3949
Compare
17d2697
to
1f5ebe0
Compare
1f5ebe0
to
d8335f3
Compare
5a4ebfd
to
d68e8d2
Compare
e236482
to
b872a8d
Compare
b872a8d
to
b5b19c3
Compare
b5b19c3
to
797a2f0
Compare
797a2f0
to
51e8745
Compare
51e8745
to
2c67e12
Compare
2c67e12
to
90f615c
Compare
de8464a
to
96a796b
Compare
44eead0
to
88abc80
Compare
88abc80
to
ccdf6a0
Compare
d6f181d
to
c946d18
Compare
c946d18
to
f7f974a
Compare
f7f974a
to
f83529b
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==5.0.1
->==5.5.2
Release Notes
zopefoundation/zope.interface (zope.interface)
v5.5.2
Compare Source
==================
v5.5.1
Compare Source
==================
v5.5.0
Compare Source
==================
Add support for Python 3.10 and 3.11 (as of 3.11.0rc2).
Add missing Trove classifier showing support for Python 3.9.
Add some more entries to
zope.interface.interfaces.__all__
.Disable unsafe math optimizations in C code. See
pull request 262 <https://github.com/zopefoundation/zope.interface/pull/262>
_.v5.4.0
Compare Source
==================
Make the C implementation of the
__providedBy__
descriptor stopignoring all errors raised when accessing the instance's
__provides__
. Now it behaves like the Python version and onlycatches
AttributeError
. The previous behaviour could lead tocrashing the interpreter in cases of recursion and errors. See
issue 239 <https://github.com/zopefoundation/zope.interface/issues>
_.Update the
repr()
andstr()
of various objects to be shorterand more informative. In many cases, the
repr()
is now somethingthat can be evaluated to produce an equal object. For example, what
was previously printed as
<implementedBy builtins.list>
is nowshown as
classImplements(list, IMutableSequence, IIterable)
. Seeissue 236 <https://github.com/zopefoundation/zope.interface/issues/236>
_.Make
Declaration.__add__
(as inimplementedBy(Cls) + ISomething
) try harder to preserve a consistent resolution orderwhen the two arguments share overlapping pieces of the interface
inheritance hierarchy. Previously, the right hand side was always
put at the end of the resolution order, which could easily produce
invalid orders. See
issue 193 <https://github.com/zopefoundation/zope.interface/issues/193>
_.v5.3.0
Compare Source
==================
v5.2.0
Compare Source
==================
Add documentation section
Persistency and Equality
(
#​218 <https://github.com/zopefoundation/zope.interface/issues/218>
_).Create arm64 wheels.
Add support for Python 3.9.
v5.1.2
Compare Source
==================
Previously, invariants could be called multiple times because when an
invariant is defined in an interface, it's found by in all interfaces
inheriting from that interface. See
pull request 215 <https://github.com/zopefoundation/zope.interface/pull/215/>
_.v5.1.1
Compare Source
==================
Fix the method definitions of
IAdapterRegistry.subscribe
,subscriptions
andsubscribers
. Previously, they all weredefined to accept a
name
keyword argument, but subscribers haveno names and the implementation of that interface did not accept
that argument. See
issue 208 <https://github.com/zopefoundation/zope.interface/issues/208>
_.Fix a potential reference leak in the C optimizations. Previously,
applications that dynamically created unique
Specification
objects (e.g., used
@implementer
on dynamic classes) couldnotice a growth of small objects over time leading to increased
garbage collection times. See
issue 216 <https://github.com/zopefoundation/zope.interface/issues/216>
_... caution::
This leak could prevent interfaces used as the bases of
other interfaces from being garbage collected. Those interfaces
will now be collected.
One way in which this would manifest was that
weakref.ref
objects (and things built upon them, like
Weak[Key|Value]Dictionary
) would continue to have access tothe original object even if there were no other visible
references to Python and the original object should have been
collected. This could be especially problematic for the
WeakKeyDictionary
when combined with dynamic or local(created in the scope of a function) interfaces, since interfaces
are hashed based just on their name and module name. See the
linked issue for an example of a resulting
KeyError
.Note that such potential errors are not new, they are just once
again a possibility.
v5.1.0
Compare Source
==================
Make
@implementer(*iface)
andclassImplements(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 <https://github.com/zopefoundation/zope.interface/issues/199>
_.Remove all bare
except:
statements. Previously, when accessingspecial attributes such as
__provides__
,__providedBy__
,__class__
and__conform__
, this package wrapped such accessin a bare
except:
statement, meaning that many errors could passsilently; typically this would result in a fallback path being taken
and sometimes (like with
providedBy()
) the result would benon-sensical. This is especially true when those attributes are
implemented with descriptors. Now, only
AttributeError
iscaught. This makes errors more obvious.
Obviously, this means that some exceptions will be propagated
differently than before. In particular,
RuntimeError
raised byAcquisition in the case of circular containment will now be
propagated. Previously, when adapting such a broken object, a
TypeError
would be the common result, but now it will be a moreinformative
RuntimeError
.In addition, ZODB errors like
POSKeyError
could now bepropagated where previously they would ignored by this package.
See
issue 200 <https://github.com/zopefoundation/zope.interface/issues/200>
_.Require that the second argument (bases) to
InterfaceClass
isa tuple. This only matters when directly using
InterfaceClass
tocreate 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 implementsthe other side of the :pep:
246
adaptation protocol: objects beingadapted could already implement
__conform__
if they know aboutthe interface, and now interfaces can implement
__adapt__
ifthey know about particular objects. There is no performance penalty
for interfaces that do not supply custom
__adapt__
methods.This includes the ability to add new methods, or override existing
interface methods using the new
@interfacemethod
decorator.See
issue 3 <https://github.com/zopefoundation/zope.interface/issues/3>
_.Make the internal singleton object returned by APIs like
implementedBy
anddirectlyProvidedBy
for objects thatimplement or provide no interfaces more immutable. Previously an
internal cache could be mutated. See
issue 204 <https://github.com/zopefoundation/zope.interface/issues/204>
_.v5.0.2
Compare Source
==================
subclasses of
object
) still includeInterface
itself intheir
__iro___
and__sro___
. This fixes adapter registrylookups for such objects when the adapter is registered for
Interface
. Seeissue 197 <https://github.com/zopefoundation/zope.interface/issues/197>
_.Configuration
📅 Schedule: Branch creation - "every 2 weeks on Monday before 7am" in timezone Europe/Berlin, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.