Skip to content

Commit

Permalink
try testing with numba jit disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
DirkEilander committed Oct 6, 2023
1 parent e3de517 commit 5c12ede
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ dependencies = [
"scipy", # scientific utilities
"tomli", # parsing toml files
"tomli-w", # writing toml files
"xarray<=2023.9.0", # ndim data - temporary max to wait for xugrid bugfix release
"xarray", # ndim data - temporary max to wait for xugrid bugfix release
"universal_pathlib", # provides path compatability between different filesystems
"xmltodict", # xml parser also used to read VRT
"zarr", # zarr
Expand Down Expand Up @@ -73,6 +73,7 @@ dev = [
test = [
"pytest>=2.7.3", # testing framework
"pytest-cov", # test coverage
"pytest-env", # set env vars in tests
"pytest-mock", # mocking
"pytest-timeout", # darn hanging tests
"xugrid",
Expand Down Expand Up @@ -138,6 +139,7 @@ exclude = ["docs", "examples", "envs", "tests", "binder", ".github"]
[tool.pytest.ini_options]
addopts = "--ff --timeout=120 "
testpaths = ["tests"]
env = ["NUMBA_DISABLE_JIT=1"]

filterwarnings = [
"ignore:distutils Version classes are deprecated:DeprecationWarning",
Expand Down
4 changes: 2 additions & 2 deletions tests/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -768,8 +768,8 @@ def test_setup_mesh(tmpdir, griduda):


# allow for longer timeout to compile xugrid methods
@pytest.mark.timeout(300)
@pytest.mark.usefixtures("_compile_xugrid_regrid")
# @pytest.mark.timeout(300)
# @pytest.mark.usefixtures("_compile_xugrid_regrid")
def test_meshmodel_setup(griduda, world):
MeshModel = MODELS.load("mesh_model")
dc_param_fn = join(DATADIR, "parameters_data.yml")
Expand Down

0 comments on commit 5c12ede

Please sign in to comment.