Skip to content

Commit ca5f4bd

Browse files
authored
fix: declare cachetools as a runtime dependency (#199)
1 parent 9661c0c commit ca5f4bd

3 files changed

Lines changed: 25 additions & 0 deletions

File tree

‎.github/workflows/test-script.yaml‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,29 @@ on:
1111
# Removed hardcoded test API key - use secrets instead if needed
1212

1313
jobs:
14+
packaging-smoke:
15+
name: Clean wheel install smoke test
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v7
20+
21+
- name: Set up Python 3.10
22+
uses: actions/setup-python@v6
23+
with:
24+
python-version: '3.10'
25+
26+
- name: Build wheel and smoke-test a fresh install
27+
run: |
28+
set -euo pipefail
29+
python -m pip install --upgrade pip build
30+
python -m build --wheel
31+
python -m venv /tmp/structkit-smoke
32+
/tmp/structkit-smoke/bin/pip install --upgrade pip
33+
/tmp/structkit-smoke/bin/pip install dist/*.whl
34+
/tmp/structkit-smoke/bin/structkit --help
35+
/tmp/structkit-smoke/bin/structkit generate --help
36+
1437
build:
1538

1639
runs-on: ubuntu-latest

‎pyproject.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ dependencies = [
5353
"PyGithub>=1.58.0",
5454
"shtab>=1.6.0",
5555
"colorlog>=6.7.0",
56+
"cachetools>=5.0",
5657
"pydantic-ai-slim[openai,google,anthropic]>=0.1.0",
5758
"fastmcp>=2.0.0",
5859
]

‎requirements.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ jinja2>=3.1.0
77
PyGithub>=1.58.0
88
shtab>=1.6.0
99
colorlog>=6.7.0
10+
cachetools>=5.0
1011
pydantic-ai-slim[openai,google,anthropic]>=0.1.0
1112
fastmcp>=2.0.0
1213

0 commit comments

Comments
 (0)