From 63a5217831f4654338759575c0141e5988d6b491 Mon Sep 17 00:00:00 2001 From: Douglas Coburn Date: Fri, 7 Nov 2025 04:53:59 -0800 Subject: [PATCH] Add uv to the docker build --- Dockerfile | 6 +++++- pyproject.toml | 2 +- socketsecurity/__init__.py | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 92186f3..6c5bdbb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,9 +6,13 @@ ARG PIP_INDEX_URL=https://pypi.org/simple ARG PIP_EXTRA_INDEX_URL=https://pypi.org/simple RUN apk update \ - && apk add --no-cache git nodejs npm yarn \ + && apk add --no-cache git nodejs npm yarn curl \ && npm install @coana-tech/cli -g +# Install uv +RUN curl -LsSf https://astral.sh/uv/install.sh | sh +ENV PATH="/root/.cargo/bin:${PATH}" + # Install CLI with retries for TestPyPI propagation (10 attempts, 30s each = 5 minutes total) RUN for i in $(seq 1 10); do \ echo "Attempt $i/10: Installing socketsecurity==$CLI_VERSION"; \ diff --git a/pyproject.toml b/pyproject.toml index 511f0ff..cf3abcb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "hatchling.build" [project] name = "socketsecurity" -version = "2.2.22" +version = "2.2.23" requires-python = ">= 3.10" license = {"file" = "LICENSE"} dependencies = [ diff --git a/socketsecurity/__init__.py b/socketsecurity/__init__.py index bec9daa..4a034ca 100644 --- a/socketsecurity/__init__.py +++ b/socketsecurity/__init__.py @@ -1,3 +1,3 @@ __author__ = 'socket.dev' -__version__ = '2.2.22' +__version__ = '2.2.23' USER_AGENT = f'SocketPythonCLI/{__version__}'