Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove mamba's pin #105

Merged
merged 3 commits into from
Mar 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion ioos_qc/qartod.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
import numpy as np
import pandas as pd

try:
from numba.core.errors import NumbaTypeError
except ImportError:
NumbaTypeError = TypeError

from ioos_qc.utils import (
isnan,
isfixedlength,
Expand Down Expand Up @@ -739,7 +744,7 @@ def window_func(w):
# When pandas>=1.0 and numba are installed, this is about twice as fast
try:
return w.apply(np.ptp, raw=True, engine='numba')
except (ImportError, TypeError):
except (ImportError, TypeError, NumbaTypeError):
return w.apply(np.ptp, raw=True)
check_func = np.ptp
else:
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ erddapy
flake8
isort
nco
numba<0.57
numba
pytest
pytest-flake8>=1.0.4 # https://github.com/tholo/pytest-flake8/pull/59
Loading