Skip to content

Commit 93cff55

Browse files
committed
fix: upgrade typer to >=0.13.0, drop click pin and force-reinstall hack
1 parent afa7baa commit 93cff55

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

docker/Dockerfile.source

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,6 @@ RUN pip install --no-cache-dir --upgrade pip \
5656
&& pip install --no-cache-dir /tmp/*.whl \
5757
&& rm /tmp/*.whl
5858

59-
# click 8.3.x broke typer 0.12.5's secondary-flag generation for bool options.
60-
# Force-reinstall as a separate layer so GHA layer cache can never mask the pin.
61-
RUN pip install --no-cache-dir --force-reinstall "click==8.1.7"
62-
6359
# Trim build-only system packages
6460
RUN apt-get purge -y --auto-remove build-essential && rm -rf /var/lib/apt/lists/*
6561

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,7 @@ dependencies = [
247247
"sentry-sdk ==2.18.0",
248248
"sqlalchemy[mypy] ==2.0.36",
249249
"sqlalchemy-utils ==0.41.2",
250-
"click ==8.1.7",
251-
"typer ==0.12.5",
250+
"typer>=0.13.0",
252251
"uvicorn[standard]==0.32.0",
253252
"WTForms==3.2.1",
254253
"zxcvbn-rs-py==0.1.1",

0 commit comments

Comments
 (0)