Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

fix(ci): skip compat test when previous PyPI version has broken deps (#3331)

LearningCircuit459e091357a0
diff --git a/.github/workflows/backwards-compatibility.yml b/.github/workflows/backwards-compatibility.yml
index baa0661977..7e04951cef 100644
--- a/.github/workflows/backwards-compatibility.yml
+++ b/.github/workflows/backwards-compatibility.yml
@@ -161,15 +161,23 @@ jobs:
echo "Previous version: $PREVIOUS, Current: $CURRENT"
- name: Create database with previous version
+ id: create-db
if: steps.prev-version.outputs.skip != 'true'
run: |
# Create isolated venv for previous version
python -m venv prev_venv
source prev_venv/bin/activate
- # Install previous version
+ # Install previous version — may fail if the published package
+ # has broken dependency metadata (e.g. requests version conflict).
pip install --upgrade pip
- pip install "local-deep-research==${{ steps.prev-version.outputs.previous }}"
+ if ! pip install "local-deep-research==${{ steps.prev-version.outputs.previous }}" 2>&1; then
+ echo "::warning::Previous version ${{ steps.prev-version.outputs.previous }} has unresolvable dependencies — skipping compat test"
+ echo "install_failed=true" >> "$GITHUB_OUTPUT"
+ deactivate
+ exit 0
+ fi
+ echo "install_failed=false" >> "$GITHUB_OUTPUT"
# Create test database
mkdir -p test_db
@@ -181,19 +189,23 @@ jobs:
ls -la test_db/
- name: Install current version
- if: steps.prev-version.outputs.skip != 'true'
+ if: steps.prev-version.outputs.skip != 'true' && steps.create-db.outputs.install_failed != 'true'
run: pdm install --dev
- name: Test opening database with current version
- if: steps.prev-version.outputs.skip != 'true'
+ if: steps.prev-version.outputs.skip != 'true' && steps.create-db.outputs.install_failed != 'true'
run: |
# Run the backwards compatibility test with RUN_SLOW_TESTS enabled
RUN_SLOW_TESTS=true pdm run pytest tests/database/test_backwards_compatibility.py -v --tb=short
- name: Report skipped
- if: steps.prev-version.outputs.skip == 'true'
+ if: steps.prev-version.outputs.skip == 'true' || steps.create-db.outputs.install_failed == 'true'
run: |
- echo "::notice::Backwards compatibility test skipped - no previous PyPI version available"
+ if [ "${{ steps.create-db.outputs.install_failed }}" = "true" ]; then
+ echo "::notice::Backwards compatibility test skipped - previous version has unresolvable dependency conflicts"
+ else
+ echo "::notice::Backwards compatibility test skipped - no previous PyPI version available"
+ fi
# Database migration tests - validates Alembic migration infrastructure.
# Skipped on PRs (encryption-constants provides fast PR feedback).