From b619b0d6c5791220019d624e54c178bf981513fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= <16805946+edgarrmondragon@users.noreply.github.com> Date: Wed, 21 Aug 2024 13:01:57 -0600 Subject: [PATCH] chore: Add comment on Numpy constraints (#2617) --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 5e4780650..09e2a4ae7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -75,6 +75,10 @@ sphinx-reredirects = {version = ">=0.1.5", python = ">=3.9", optional = true} fs-s3fs = {version = ">=1.1.1", optional = true} # Parquet file dependencies installed as optional 'parquet' extras +# We add Python constraints to force Poetry to add the latest supported Numpy version +# for all Python versions to 'poetry.lock'. If we don't do this, Poetry will add only +# the version of Numpy that is compatible with the earliest Python version supported +# by this project, but that may not be compatible with the latest Python version. numpy = [ { version = ">=1.22,<1.25", python = "==3.8", optional = true }, { version = ">=1.22,<2.1", python = "==3.9", optional = true },