numpy is currently used by a single method in BugZoo to sample items from a weighted list. numpy is an incredibly heavy dependency that requires a considerable amount of disk space and time to install, as well as a complete C buildchain. Rather than using numpy, BugZoo should roll its own function for sampling items from a weighted item (located in bugzoo.util).
This functionality has been implemented in Darjeeling's localization module -- the only place where it's being used -- so it should be fine to remove it in v2.2.
numpy
is currently used by a single method in BugZoo to sample items from a weighted list.numpy
is an incredibly heavy dependency that requires a considerable amount of disk space and time to install, as well as a complete C buildchain. Rather than usingnumpy
, BugZoo should roll its own function for sampling items from a weighted item (located inbugzoo.util
).