[Cubicweb] Deprecation reports for Person and AddressBook

Fletcher, John P j.p.fletcher at aston.ac.uk
Sat Dec 4 10:44:21 CET 2010


I have loaded the cubes 'person' and 'addressbook' and get deprecation messages both on 'add_cube' and on startup.

CubicWeb version: 3.10.5
Cube book version: 0.6.0
Cube file version: 1.10.0
Cube blog version: 1.9.0
Cube link version: 1.5.0
Cube card version: 0.3.0
Cube person version: 1.7.0
Cube addressbook version: 1.6.0

There are a lot of them.  Here is a sample.

/usr/lib/python2.6/dist-packages/cubicweb/cwconfig.py:490: DeprecationWarning: [3.8] cube person: __recommend__ is deprecated, use __recommends_cubes__ dict
  % (cube, oldkey, key), DeprecationWarning)
/usr/lib/python2.6/dist-packages/cubicweb/cwconfig.py:501: DeprecationWarning: [3.8] cube person should define __recommends_cubes__ as a dict
  DeprecationWarning)
/usr/share/cubicweb/cubes/person/hooks.py:6: DeprecationWarning: [3.9] implements selector is deprecated, use either is_instance or adaptable
  __select__ = implements('Person')
/usr/lib/pymodules/python2.6/logilab/common/configuration.py:480: DeprecationWarning: [0.50] "inputlevel" in option dictionary for gmap-key is deprecated, use "level"
  ' use "level"' % opt, DeprecationWarning)
/usr/share/cubicweb/cubes/addressbook/hooks.py:18: DeprecationWarning: [3.9] implements selector is deprecated, use either is_instance or adaptable
  __select__ = implements('PostalAddress')
/usr/share/cubicweb/cubes/addressbook/views.py:23: DeprecationWarning: [3.9] implements selector is deprecated, use either is_instance or adaptable
Is there an update which sorts this out?

John



More information about the Cubicweb mailing list