diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0d649624c..7233985bd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -126,7 +126,7 @@ jobs: - tox-env: py311-coverage-sbck python-version: "3.11" markers: -m 'not slow' - - tox-env: py312-coverage + - tox-env: py312-coverage-numba python-version: "3.12" markers: -m 'not slow' - tox-env: notebooks_doctests diff --git a/pyproject.toml b/pyproject.toml index 03f6db874..855f13943 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,8 +43,7 @@ dependencies = [ "importlib-resources; python_version == '3.8'", "jsonpickle", "lmoments3>=1.0.5", - "numba; python_version <= '3.11'", - "numba>=0.59.0; python_version >= '3.12'", + "numba", "numpy>=1.16", "pandas>=0.23,<2.0; python_version == '3.8'", "pandas>=0.23,<2.2; python_version >= '3.9'", diff --git a/tox.ini b/tox.ini index 3d33cdcfc..1c0692cf5 100644 --- a/tox.ini +++ b/tox.ini @@ -10,7 +10,7 @@ env_list = py39-upstream-doctest py310 py311 - py312 + py312-numba labels = test = py38, py39-upstream-doctest, py310, py311, notebooks_doctests, offline-prefetch requires = @@ -104,9 +104,12 @@ passenv = extras = dev deps = py38: scipy<1.9 + # FIXME: Remove when Python3.8 is dropped + py38: numba<0.59.0 + py38: llvmlite<0.42.0 # FIXME: Remove when numba 0.59.0 is released - py312: numba==0.59.0rc1 - py312: llvmlite==0.42.0rc1 + numba: numba==0.59.0rc1 + numba: llvmlite==0.42.0rc1 coverage: coveralls upstream: -rrequirements_upstream.txt eofs: eofs