PaulHowarth/Blog/2011-09-22

Thursday 22nd September 2011

Local Packages

  • Updated perl-Number-Compare, to 0.03 adding perl(Carp) as an explicit build requirement now that it's dual-lived, and reverting workaround for the OSX tarball unpacking on version 0.02:

    • Generate a new tarball on linux; doing the make dist on OSX generated a tarball that upset dumb tars:

    • tar: Ignoring unknown extended header keyword `SCHILY.dev'

    • tar: Ignoring unknown extended header keyword `SCHILY.ino'

    • tar: Ignoring unknown extended header keyword `SCHILY.nlink'

  • Updated python-zope-interface to 3.8.0, which drops support for python 2.4, so F-4, F-5, F-6 and RHEL-5 remain on version 3.7.0:

    • New module zope.interface.registry; this is code moved from zope.component.registry that implements a basic non-peristent component registry as zope.interface.registry.Components, and was moved from zope.component to make porting systems (such as Pyramid) that rely only on a basic component registry to Python 3 possible without needing to port the entirety of the zope.component package (backwards compatibility import shims have been left behind in zope.component, so this change will not break any existing code)

    • New tests_require dependency: zope.event to test events sent by the Components implementation; the zope.interface package does not have a hard dependency on zope.event, but if zope.event is importable, it will send component registration events when methods of an instance of zope.interface.registry.Components are called

    • New interfaces added to support the zope.interface.registry.Components addition: ComponentLookupError, Invalid, IObjectEvent, ObjectEvent, IComponentLookup, IRegistration, IUtilityRegistration, IAdapterRegistration, ISubscriptionAdapterRegistration, IHandlerRegistration, IRegistrationEvent, RegistrationEvent, IRegistered, Registered, IUnregistered, Unregistered, IComponentRegistry and IComponents

    • No longer Python 2.4 compatible (tested under 2.5, 2.6, 2.7 and 3.2)


Recent