From f41b0669277467ba587e47142080be256a9a8016 Mon Sep 17 00:00:00 2001 From: Forrest Collman Date: Wed, 25 Nov 2026 22:31:26 -0800 Subject: [PATCH 1/2] Bump dynamicannotationdb to 5.15.1 Picks up the fix for reference-table creation failing with NoReferencedTableError when the worker had not yet used the target table (DynamicAnnotationDB#56). Co-Authored-By: Claude Sonnet 5.5 --- pyproject.toml | 2 +- requirements.in | 2 +- uv.lock | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 51774c3..9b094ad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,7 @@ dependencies = [ "Flask<2.0", "MarkupSafe<2.1", "emannotationschemas>=5.26.3", - "dynamicannotationdb>=5.15.0", + "dynamicannotationdb>=5.15.1", "caveclient>=4.20.2", "multiwrapper", "jsonschema<4.0", diff --git a/requirements.in b/requirements.in index 6e731c3..0053f2f 100644 --- a/requirements.in +++ b/requirements.in @@ -1,6 +1,6 @@ Flask<2.0 emannotationschemas>=5.26.3 -dynamicannotationdb>=5.15.0 +dynamicannotationdb>=5.15.1 caveclient>=4.20.2 multiwrapper jsonschema<4.0 diff --git a/uv.lock b/uv.lock index 9b726ed..951c80c 100644 --- a/uv.lock +++ b/uv.lock @@ -66,7 +66,7 @@ dev = [ requires-dist = [ { name = "cachetools" }, { name = "caveclient", specifier = ">=4.20.2" }, - { name = "dynamicannotationdb", specifier = ">=5.15.0" }, + { name = "dynamicannotationdb", specifier = ">=5.15.1" }, { name = "emannotationschemas", specifier = ">=5.26.3" }, { name = "flask", specifier = "<2.0" }, { name = "flask-accepts" }, @@ -248,7 +248,7 @@ wheels = [ [[package]] name = "dynamicannotationdb" -version = "5.15.0" +version = "5.15.1" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "alembic" }, @@ -261,7 +261,7 @@ dependencies = [ { name = "shapely" }, { name = "sqlalchemy" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/1b/29/35f06b4d7786127c24d9777645516609613c39f8eb719ae227cf10ac450d/dynamicannotationdb-5.15.0.tar.gz", hash = "sha256:31aebc7d820d0a184551cef833fd79830ccfd890a4d8301b7a3de0112db8f222", size = 32395, upload-time = "2026-04-28T18:25:38.357Z" } +sdist = { url = "https://files.pythonhosted.org/packages/26/5d/b740c79aaa3ca70e421660e6d1ea4f2a36f2cbf1fe0199f52e30587e60ae/dynamicannotationdb-5.15.1.tar.gz", hash = "sha256:5e41bdc0a9f8057c83c242a02d9e730bcc6a9115b11b85fe782dd67ca989d303", size = 32779, upload-time = "2026-11-26T06:29:52.453Z" } [[package]] name = "emannotationschemas" From 8fd2f30a521665fb6ac8a6e1684f0d8380f18440 Mon Sep 17 00:00:00 2001 From: Forrest Collman Date: Thu, 26 Nov 2026 08:06:14 -0800 Subject: [PATCH 2/2] CI: install Python 3.9 with uv and test against PostGIS 18 The ubuntu-latest runner is now Ubuntu 26.04, for which actions/setup-python has no Python 3.9 build, so the job failed before running any test. Python 3.9 is what the production image runs (tiangolo/uwsgi-nginx-flask:python3.9), so keep it and let uv install it. Move the postgres service from postgis/postgis:13-master to postgis/postgis:18-3.6. Co-Authored-By: Claude Fable 5.2 --- .github/workflows/annotationengine.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/annotationengine.yml b/.github/workflows/annotationengine.yml index 8fd1ef0..9752eab 100644 --- a/.github/workflows/annotationengine.yml +++ b/.github/workflows/annotationengine.yml @@ -24,7 +24,7 @@ jobs: services: postgres: - image: postgis/postgis:13-master + image: postgis/postgis:18-3.6 env: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres @@ -34,15 +34,15 @@ jobs: options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 steps: - uses: actions/checkout@v4 - - name: Set up Python 3.9 - uses: actions/setup-python@v5 - with: - python-version: 3.9 - name: Install uv uses: astral-sh/setup-uv@v4 with: version: "latest" enable-cache: true + # Python 3.9 is what the Dockerfile's base image runs. actions/setup-python has no + # 3.9 build for the Ubuntu 26.04 runner, so uv installs it. + - name: Set up Python 3.9 + run: uv python install 3.9 - name: Validate lockfile run: | uv lock --check