Skip to content

Commit c126ea5

Browse files
committed
try to restrict numba version so github tests do not fail
1 parent e91dea6 commit c126ea5

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/testing.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,4 @@ jobs:
3333
- name: Install swig
3434
run: uv pip install --system swig
3535
- name: Run tests
36-
run: hatch test
37-
- name: Upload coverage reports to Codecov
38-
uses: codecov/codecov-action@v4.5.0
39-
with:
40-
token: ${{ secrets.CODECOV_TOKEN }}
41-
slug: dholzmueller/pytabkit
36+
run: hatch test # removed codecov upload in v1.7.3

docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ lightgbm>=4.1
88
matplotlib>=3.0
99
msgpack>=1.0
1010
myst_parser>=3.0
11+
numba>=0.59.0
1112
numpy>=1.25
1213
openml>=0.14
1314
openpyxl>=3.0

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ models = [
7474
# but apparently it can also cause a bug in ray due to its monkey-patching of msgpack functions# in theory we shouldn't be using if for numpy arrays at the moment, not sure why the need for this occurred
7575
# maybe it occurred because we tried to save hyperparameters that were numpy scalars instead of python scalars
7676
# "msgpack_numpy>=0.4",
77+
78+
# this is needed because probmetrics uses unpinned numba,
79+
# but for some reason the github actions CI wants to install 0.53.1
80+
# which is incompatible with Python 3.11 and 3.12.
81+
# 0.59.0 is the lowest version that is compatible with 3.12
82+
"numba>=0.59.0",
7783
]
7884
autogluon = [
7985
"autogluon.tabular[all]>=1.0",

0 commit comments

Comments
 (0)