diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b668f2f..af7a50a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -32,6 +32,12 @@ jobs: - name: Run tests (skip slow integration tests) run: uv run pytest tests/ -v --tb=short --ignore=tests/test_integration.py + - name: Smoke-test wheel with clean dependency resolution + run: | + uv build --wheel --out-dir dist-smoke + WHEEL=$(find dist-smoke -name '*.whl' -print -quit) + timeout 30s uvx --refresh --from "$WHEEL" paper-intelligence =1.0.0", + "mcp[cli]>=1.0.0,<2", "marker-pdf>=1.0.0", "chromadb>=0.4.0", "llama-index-core>=0.10.0", diff --git a/uv.lock b/uv.lock index dab0840..bbd27d5 100644 --- a/uv.lock +++ b/uv.lock @@ -2907,7 +2907,7 @@ requires-dist = [ { name = "llama-index-embeddings-huggingface", specifier = ">=0.2.0" }, { name = "llama-index-vector-stores-chroma", specifier = ">=0.1.0" }, { name = "marker-pdf", specifier = ">=1.0.0" }, - { name = "mcp", extras = ["cli"], specifier = ">=1.0.0" }, + { name = "mcp", extras = ["cli"], specifier = ">=1.0.0,<2" }, { name = "pydantic", specifier = ">=2.0.0" }, { name = "pytest", marker = "extra == 'dev'", specifier = ">=7.0.0" }, { name = "pytest-asyncio", marker = "extra == 'dev'", specifier = ">=0.21.0" },