Skip to content

regression in weakref due to cachecontrol

itkdb relies on a modified portion of cachecontrol due to the production database API not following industry standards for REST APIs. As such, the controller needs to be updated to reflect the existence of weakrefs as shown here: https://github.com/psf/cachecontrol/blob/master/cachecontrol/controller.py#L324-L469 and introduced in https://github.com/psf/cachecontrol/pull/344 which comes up in cachecontrol==0.14.2 which was released last week.

This will impact all users relying on itkdb and needs to be fixed urgently. A temporary fix for others relying on itkdb for right now is to pin cachecontrol from above, but not a permanent fix.