diff --git a/.ci/docker/requirements.txt b/.ci/docker/requirements.txt index 157647e887..9d960a5e27 100644 --- a/.ci/docker/requirements.txt +++ b/.ci/docker/requirements.txt @@ -21,6 +21,12 @@ pytorch_sphinx_theme2==0.4.9 # Tutorial dependencies tqdm==4.66.1 numpy==1.26.4 +# Pin pyarrow: 26.0.0 requires NumPy >= 2.0 at import, while numba and spacy keep +# numpy below 2. Its wheels declare no numpy requirement, so pip does not catch it. +pyarrow<26 +# Pin pandas: 3.0 makes Series.values read-only (copy-on-write), which breaks Ax 0.4.x +# ("assignment destination is read-only" in its winsorize transform). +pandas<3 pydantic>=2.10 # Pin fastapi: 0.139.2 made router route building thread-safe by adding an # _effective_routes_lock (threading.Lock) to APIRouter, which ray[serve]'s