diff --git a/pyproject.toml b/pyproject.toml index 3d1d0d47..c21e0736 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,9 +43,11 @@ test = [ "beartype<0.16.0", "huggingface_hub", "torch", - "numpy", + # transformers 4.46.1/2 fail with RuntimeError: + # - numpy.core is deprecated and has been renamed to numpy._core + "numpy==2.1.1", "scipy", - "transformers", + "transformers==4.45.2", "datasets", "pillow", "asv", @@ -80,6 +82,7 @@ filterwarnings = [ "error", "ignore::pydantic.warnings.PydanticDeprecatedSince20", "ignore::UserWarning", + "ignore::DeprecationWarning", ] addopts = [ "--import-mode=importlib"