pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-ZopeInterface



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Oct 18 18:12:59 UTC 2020

Modified Files:
        pkgsrc/devel/py-ZopeInterface: Makefile distinfo

Log Message:
py-ZopeInterface: updated to 5.1.2

5.1.2 (2020-10-01)
==================

- Make sure to call each invariant only once when validating invariants.
  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/>`_.

5.1.1 (2020-09-30)
==================

- Fix the method definitions of ``IAdapterRegistry.subscribe``,
  ``subscriptions`` and ``subscribers``. Previously, they all were
  defined to accept a ``name`` keyword argument, but subscribers have
  no 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) could
  notice 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 to
     the 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.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 pkgsrc/devel/py-ZopeInterface/Makefile
cvs rdiff -u -r1.22 -r1.23 pkgsrc/devel/py-ZopeInterface/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-ZopeInterface/Makefile
diff -u pkgsrc/devel/py-ZopeInterface/Makefile:1.33 pkgsrc/devel/py-ZopeInterface/Makefile:1.34
--- pkgsrc/devel/py-ZopeInterface/Makefile:1.33 Mon Aug 31 23:07:00 2020
+++ pkgsrc/devel/py-ZopeInterface/Makefile      Sun Oct 18 18:12:59 2020
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.33 2020/08/31 23:07:00 wiz Exp $
+# $NetBSD: Makefile,v 1.34 2020/10/18 18:12:59 adam Exp $
 
-DISTNAME=      zope.interface-5.1.0
+DISTNAME=      zope.interface-5.1.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/zope.i/ZopeI/}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=z/zope.interface/}

Index: pkgsrc/devel/py-ZopeInterface/distinfo
diff -u pkgsrc/devel/py-ZopeInterface/distinfo:1.22 pkgsrc/devel/py-ZopeInterface/distinfo:1.23
--- pkgsrc/devel/py-ZopeInterface/distinfo:1.22 Mon Jun  8 13:18:06 2020
+++ pkgsrc/devel/py-ZopeInterface/distinfo      Sun Oct 18 18:12:59 2020
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.22 2020/06/08 13:18:06 adam Exp $
+$NetBSD: distinfo,v 1.23 2020/10/18 18:12:59 adam Exp $
 
-SHA1 (zope.interface-5.1.0.tar.gz) = 0b8c7f3a489cc02b303de60f6abf94cf509e7aae
-RMD160 (zope.interface-5.1.0.tar.gz) = 0c437521e303e78eed94c5d721c14b7c962cc142
-SHA512 (zope.interface-5.1.0.tar.gz) = be8319913222ada47a22559e22322ec12dff3adf17f45335d007c5aa3509d84a7d0a7e6c113967b91810b3613344b5c60e002eb740af2bbb454b2807de8dad98
-Size (zope.interface-5.1.0.tar.gz) = 225400 bytes
+SHA1 (zope.interface-5.1.2.tar.gz) = 0f66adff13ac9c378a9cc0812808a045ca380c97
+RMD160 (zope.interface-5.1.2.tar.gz) = 7289bc3d147f02f097a4cc58585aa24b79fd3c6a
+SHA512 (zope.interface-5.1.2.tar.gz) = c0efd82d1b2f3bb6c71d89a74ccbef60955c74012fe2b87c752198c02374b3e5e113679451f2239474dbed0cbebb82b3fdefc3524d00a6f3896a16505847e519
+Size (zope.interface-5.1.2.tar.gz) = 228946 bytes



Home | Main Index | Thread Index | Old Index