Thanks for writing this module. 🚀
We recently installed darts/prophet for another use (NOT for haversine) and that created a side-effect affecting this module which was working before. The related code is at https://github.com/mapado/haversine/blob/main/haversine/haversine.py#L172-L178
We don't want to use haversine with numba. Is there a way to disable this?
numba.core.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend)
non-precise type pyobject
During: typing of argument at /opt/breww-venv/lib/python3.13/site-packages/haversine/haversine.py (116)
File "../opt/breww-venv/lib/python3.13/site-packages/haversine/haversine.py", line 116:
def _haversine_kernel(lat1, lng1, lat2, lng2):
^
During: Pass nopython_type_inference
This error may have been caused by the following argument(s):
- argument 0: Cannot determine Numba type of <class 'decimal.Decimal'>
- argument 1: Cannot determine Numba type of <class 'decimal.Decimal'>
- argument 2: Cannot determine Numba type of <class 'decimal.Decimal'>
- argument 3: Cannot determine Numba type of <class 'decimal.Decimal'>