[Checkins] [zopefoundation/zope.app.i18n] 15c0fe: Fix DeprecationWarning about IRegistered/IUnregist...
Marius Gedminas
noreply at github.com
Wed Jul 10 16:09:53 CEST 2019
Branch: refs/heads/master
Home: https://github.com/zopefoundation/zope.app.i18n
Commit: 15c0feda80677653b3987fd7b7310873a3d7180d
https://github.com/zopefoundation/zope.app.i18n/commit/15c0feda80677653b3987fd7b7310873a3d7180d
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: 5fcb4add2e5940658fa412b1002760f15b188d39
https://github.com/zopefoundation/zope.app.i18n/commit/5fcb4add2e5940658fa412b1002760f15b188d39
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
Commit: ca49e81c60632a8fcc59906bc12460883c01313d
https://github.com/zopefoundation/zope.app.i18n/commit/ca49e81c60632a8fcc59906bc12460883c01313d
Author: Marius Gedminas <marius at gedmin.as>
Date: 2019-07-10 (Wed, 10 Jul 2019)
Changed paths:
M src/zope/app/i18n/tests/test_translationdomain.py
Log Message:
-----------
IComponentLookup also moved to zope.interface
Commit: bba52eb219c74c621a4708a91e8023e4e0ab1181
https://github.com/zopefoundation/zope.app.i18n/commit/bba52eb219c74c621a4708a91e8023e4e0ab1181
Author: Marius Gedminas <marius at gedmin.as>
Date: 2019-07-10 (Wed, 10 Jul 2019)
Changed paths:
M src/zope/app/i18n/tests/test_filters.py
Log Message:
-----------
Avoid deprecated assertEquals
Commit: e924fa8930320f00a6b57a51295dc2d893e92032
https://github.com/zopefoundation/zope.app.i18n/commit/e924fa8930320f00a6b57a51295dc2d893e92032
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
M src/zope/app/i18n/tests/test_filters.py
M src/zope/app/i18n/tests/test_translationdomain.py
M src/zope/app/i18n/translationdomain.py
Log Message:
-----------
Merge pull request #5 from zopefoundation/fix-deprecation
Fix DeprecationWarning about IRegistered/IUnregistered
Compare: https://github.com/zopefoundation/zope.app.i18n/compare/637e88550030...e924fa893032
More information about the checkins
mailing list