diff --git a/.dockerignore b/.dockerignore index 8f630506..5f571455 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,4 +1,3 @@ -.git .venv .uv_cache .ruff_cache diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 835cba95..49a98676 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,6 +48,11 @@ jobs: with: enable-cache: true cache-dependency-glob: "uv.lock" + - name: Install Temporal CLI + run: | + curl -sSf https://temporal.download/cli.sh | sh + echo "$HOME/.temporalio/bin" >> $GITHUB_PATH + shell: bash - name: Install dependencies run: | diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index cde51b49..9b79783a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -122,6 +122,9 @@ jobs: sudo rm -rf "$AGENT_TOOLSDIRECTORY" - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + with: + fetch-depth: 0 + fetch-tags: true - name: Set up QEMU uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0 diff --git a/Dockerfile b/Dockerfile index 89cea237..c83c7eb8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,8 +6,10 @@ COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/ # Install build dependencies # hadolint ignore=DL3008 -RUN apt-get update && apt-get install -y --no-install-recommends git && \ - rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get install -y --no-install-recommends \ + git \ + build-essential \ + && rm -rf /var/lib/apt/lists/* WORKDIR /app @@ -18,7 +20,8 @@ ENV UV_CACHE_DIR=/root/.cache/uv COPY pyproject.toml uv.lock ./ COPY shims/ ./shims/ # .dockerignore handles excluding .git if it exists, but we copy it if needed for hatch-vcs -COPY .git/ ./.git/ +# Use a wildcard to make the copy optional if .git doesn't exist in some contexts +COPY .gi[t] ./.git/ # Install dependencies into a local .venv # Use --extra to conditionally install heavy ML dependencies (inference group) diff --git a/pyproject.toml b/pyproject.toml index 9d1e9eca..29be8f92 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name = "coreason_runtime" dynamic = ["version"] description = "The official zero-trust, high-throughput kinetic execution engine for the coreason-manifest ontology." readme = "README.md" -requires-python = "==3.14.*" +requires-python = ">=3.14" authors = [{ name = "Gowtham A Rao", email = "gowtham.rao@coreason.ai" }] dependencies = [ "aiohttp>=3.13.4", @@ -139,9 +139,9 @@ required-environments = [ coreason = "coreason_runtime.cli:app" [project.urls] -Homepage = "https://github.com/CoReason-AI/coreason_runtime" -Repository = "https://github.com/CoReason-AI/coreason_runtime" -Documentation = "https://github.com/CoReason-AI/coreason_runtime" +Homepage = "https://github.com/CoReason-AI/coreason-runtime" +Repository = "https://github.com/CoReason-AI/coreason-runtime" +Documentation = "https://github.com/CoReason-AI/coreason-runtime" [tool.ruff] line-length = 120