chore: avoid installing multiple times dependencies (#429)

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
Michele Dolfi
2025-11-21 15:42:42 +01:00
committed by GitHub
parent e437e830c9
commit 772fcec4ae
3 changed files with 242 additions and 242 deletions

View File

@@ -160,13 +160,10 @@ jobs:
pip install uv
uv venv --allow-existing
source .venv/bin/activate
uv sync --all-extras --no-extra flash-attn
uv sync --only-dev
# Run pytest tests
echo "Running tests..."
# Test import
python -c 'from docling_serve.app import create_app; create_app()'
# Run pytest and check result directly
if ! pytest -sv -k "test_convert_url" tests/test_1-url-async.py \
--disable-warnings; then

View File

@@ -69,6 +69,9 @@ flash-attn = [
[dependency-groups]
dev = [
"asgi-lifespan~=2.0",
"httpx",
"pydantic",
"pydantic-settings",
"mypy~=1.11",
"pre-commit-uv~=4.1",
"pypdf>=6.0.0",

476
uv.lock generated

File diff suppressed because one or more lines are too long