codetools.contexts.data_context.DataContext is one of the common reasons why other packages/applications use codetools. At the moment, needing a DataContext forces the user to install apptools because of the dependency of PersistableMixin on apptools.sweet_pickle.
|
data_context = sweet_pickle.load(file_object) |
|
sweet_pickle.dump(self, file_object, 1) |
To remove the strong dependency on apptools, should PersistableMixin simply fall back to using the pickle library in the standard library if apptools is not installed?
codetools.contexts.data_context.DataContextis one of the common reasons why other packages/applications usecodetools. At the moment, needing aDataContextforces the user to installapptoolsbecause of the dependency ofPersistableMixinonapptools.sweet_pickle.codetools/codetools/contexts/data_context.py
Line 194 in 38b01bb
codetools/codetools/contexts/data_context.py
Line 227 in 38b01bb
To remove the strong dependency on
apptools, shouldPersistableMixinsimply fall back to using the pickle library in the standard library ifapptoolsis not installed?