Diffcalc exposes both mock and test at the top level, both of which could cause issues when trying to use diffcalc within a large codebase.
In particular this has caused an issue in GDA where doing import mock from other Jython files uses the diffcalc version rather than the mock package we have installed in site-packages.
For the mock package can we just list it as a dependency in the setup.py and remove it from the codebase entirely?
Diffcalc exposes both
mockandtestat the top level, both of which could cause issues when trying to use diffcalc within a large codebase.In particular this has caused an issue in GDA where doing
import mockfrom other Jython files uses thediffcalcversion rather than themockpackage we have installed insite-packages.For the
mockpackage can we just list it as a dependency in thesetup.pyand remove it from the codebase entirely?