From 8d297e1e5b3e4d88424dae564b2df6d191a30e6c Mon Sep 17 00:00:00 2001 From: Rui Hu Date: Thu, 27 Mar 2025 21:09:02 +0800 Subject: [PATCH] fix(General): fix broken pipeline --- .forgejo/workflows/coverage-check.yaml | 2 +- .forgejo/workflows/publish-python.yaml | 4 ++-- pyproject.toml | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/coverage-check.yaml b/.forgejo/workflows/coverage-check.yaml index 2f6c979..fb41943 100644 --- a/.forgejo/workflows/coverage-check.yaml +++ b/.forgejo/workflows/coverage-check.yaml @@ -16,7 +16,7 @@ jobs: # need to setup node and git - run: | apt-get update - apt-get install -y nodejs git curl + apt-get install -y nodejs git curl libsqlite3-0 # check out code and set up python - uses: actions/checkout@v4 - uses: https://github.com/actions/setup-python@v5 diff --git a/.forgejo/workflows/publish-python.yaml b/.forgejo/workflows/publish-python.yaml index 97aaa29..249aaac 100644 --- a/.forgejo/workflows/publish-python.yaml +++ b/.forgejo/workflows/publish-python.yaml @@ -19,7 +19,7 @@ jobs: # need to setup node and git - run: | apt-get update - apt-get install -y nodejs git + apt-get install -y nodejs git libsqlite3-0 # check out code - uses: actions/checkout@v4 - uses: https://github.com/actions/setup-python@v5 @@ -31,7 +31,7 @@ jobs: - run: pytest # replace timestamp building dev version - name: Add timestamp to version - if: github.head_ref != '' && github.head_ref != 'master' + if: github.head_ref != 'master' run: | sed -i -E "s/(version = \"[^\"]+)(-dev)DT\"/\1\2$(date -u +'%Y%m%d%H%M%S')\"/" pyproject.toml cat pyproject.toml diff --git a/pyproject.toml b/pyproject.toml index bf2e092..b8415de 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,6 +19,7 @@ classifiers = [ ] requires-python = ">=3.11" dependencies = [ + "aio-pika~=9.5.5", "aiohttp~=3.11.11", "pika~=1.3.2", "fastapi==0.115.6",