[Checkins] [zopefoundation/zope.app.i18n] 0b97d4: Fix DeprecationWarning about IRegistered/IUnregist...

Marius Gedminas noreply at github.com
Wed Jul 10 14:50:37 CEST 2019


  Branch: refs/heads/fix-deprecation
  Home:   https://github.com/zopefoundation/zope.app.i18n
  Commit: 0b97d476d0c306fb9cb22bab3b543c086157b34c
      https://github.com/zopefoundation/zope.app.i18n/commit/0b97d476d0c306fb9cb22bab3b543c086157b34c
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2019-07-10 (Wed, 10 Jul 2019)

  Changed paths:
    M CHANGES.rst
    M setup.py
    M src/zope/app/i18n/configure.zcml

  Log Message:
  -----------
  Fix DeprecationWarning about IRegistered/IUnregistered

This would show up as

    /path/to/site-packages/zope/configuration/config.py:240: DeprecationWarning: IRegistered is deprecated. Import from zope.interface.interfaces
      obj = getattr(mod, oname)
    /path/to/site-packages/zope/configuration/config.py:240: DeprecationWarning: IUnregistered is deprecated. Import from zope.interface.interfaces
      obj = getattr(mod, oname)

making it a bit difficult to discover where the source of the warnings
is.


  Commit: 91ad209bb00ee3445ef8576f2b5c283f0fb3826d
      https://github.com/zopefoundation/zope.app.i18n/commit/91ad209bb00ee3445ef8576f2b5c283f0fb3826d
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2019-07-10 (Wed, 10 Jul 2019)

  Changed paths:
    M src/zope/app/i18n/translationdomain.py

  Log Message:
  -----------
  The Registered/Unregistered events were also moved


Compare: https://github.com/zopefoundation/zope.app.i18n/compare/1511d77bdaaa...91ad209bb00e


More information about the checkins mailing list