diff --git a/pyproject.toml b/pyproject.toml index 13760dd..9a92c46 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,6 +25,44 @@ dependencies = [ 'universal_pathlib>=0.2.0' ] +[project.optional-dependencies] +test = [ + "coverage", + "pytest", + "pytest-cov", + "msgpack", + "lmdb", + "s3fs", + "pytest-asyncio", + "moto[s3]", + "flask-cors", + "flask", + "requests", + "mypy", + "hypothesis" +] + [tool.maturin] module-name = "zarrs_python.zarrs_python_internal" -features = ["pyo3/extension-module"] \ No newline at end of file +features = ["pyo3/extension-module"] + + +[tool.pytest.ini_options] +minversion = "7" +testpaths = ["tests"] +log_cli_level = "INFO" +xfail_strict = true +asyncio_mode = "auto" +doctest_optionflags = [ + "NORMALIZE_WHITESPACE", + "ELLIPSIS", + "IGNORE_EXCEPTION_DETAIL", +] +addopts = [ + "--durations=10", "-ra", "--strict-config", "--strict-markers", +] +filterwarnings = [ + "error:::zarr.*", + "ignore:PY_SSIZE_T_CLEAN will be required.*:DeprecationWarning", + "ignore:The loop argument is deprecated since Python 3.8.*:DeprecationWarning", +] \ No newline at end of file diff --git a/zarrs_python b/zarrs_python index b3dec74..020b46d 160000 --- a/zarrs_python +++ b/zarrs_python @@ -1 +1 @@ -Subproject commit b3dec74ddde75e7d6451ec28827172987882ddb2 +Subproject commit 020b46d7e3aeb101c8d117d2ec39ea2a037dd106