From 626880fafe20a016a4c7885ee3ff3f2800a04204 Mon Sep 17 00:00:00 2001 From: David Abramov Date: Wed, 7 May 2025 13:57:30 -0700 Subject: [PATCH 1/3] Update requirements.txt Upgrade Prefect 2.19.5 -> 2.20.17 --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index b5b1cc2f..56d83890 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,11 +7,11 @@ mkdocs-mermaid2-plugin numpy==1.23.2 pillow python-dotenv -prefect==2.19.5 +prefect==2.20.17 pyscicat pyyaml authlib sfapi_client globus-compute-sdk @ git+https://github.com/globus/globus-compute.git@d1731340074be56861ec91d732bdff44f8e2b46e#subdirectory=compute_sdk griffe==0.47 -prometheus_client==0.21.1 \ No newline at end of file +prometheus_client==0.21.1 From db2be34dc058dfb4a9e24923cce217a4c3a3561f Mon Sep 17 00:00:00 2001 From: David Abramov Date: Wed, 7 May 2025 14:12:19 -0700 Subject: [PATCH 2/3] Update acceptable griffe versions in requirements.txt --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 56d83890..063c7722 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,5 +13,5 @@ pyyaml authlib sfapi_client globus-compute-sdk @ git+https://github.com/globus/globus-compute.git@d1731340074be56861ec91d732bdff44f8e2b46e#subdirectory=compute_sdk -griffe==0.47 +griffe>=0.49.0,<2.0.0 prometheus_client==0.21.1 From dcd200d64d090b311ef900841bed18e805636732 Mon Sep 17 00:00:00 2001 From: David Abramov Date: Thu, 8 May 2025 11:40:45 -0700 Subject: [PATCH 3/3] bumping the Prefect image in the Dockerfile to prefecthq/prefect:2.20.17-python3.11, matching the prefect_server. Also upgrading numpy>=1.26.4 and pinning pydantic==2.11 to hopefully avoid build errors during pytest (still cannot reproduce locally) --- Dockerfile | 5 ++--- requirements.txt | 3 ++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 19961315..d409f98d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM prefecthq/prefect:2.14-python3.10 +FROM prefecthq/prefect:2.20.17-python3.11 WORKDIR /app COPY ./requirements.txt /tmp/ @@ -6,5 +6,4 @@ COPY ./requirements.txt /tmp/ RUN pip install -U pip && pip install -r /tmp/requirements.txt COPY . /app/ -RUN pip install -e . - +RUN pip install -e . \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 063c7722..24b8e9e4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,8 +4,9 @@ httpx>=0.22.0 mkdocs mkdocs-material mkdocs-mermaid2-plugin -numpy==1.23.2 +numpy>=1.26.4 pillow +pydantic==2.11 python-dotenv prefect==2.20.17 pyscicat