fix: install recipe-scrapers directly without setup-python action
Some checks failed
Basil CI/CD Pipeline / API Tests (pull_request) Failing after 15s
Basil CI/CD Pipeline / Shared Package Tests (pull_request) Successful in 1m4s
Basil CI/CD Pipeline / Code Linting (pull_request) Successful in 1m9s
Basil CI/CD Pipeline / Web Tests (pull_request) Successful in 1m17s
Basil CI/CD Pipeline / Security Scanning (pull_request) Successful in 1m24s
Basil CI/CD Pipeline / Build All Packages (pull_request) Has been skipped
Basil CI/CD Pipeline / E2E Tests (pull_request) Has been skipped
Basil CI/CD Pipeline / Build & Push Docker Images (pull_request) Has been skipped
Basil CI/CD Pipeline / Trigger Deployment (pull_request) Has been skipped

The setup-python action requires pre-built binaries not available in Gitea
runners. Since node:20-bookworm already includes Python 3.11, install
recipe-scrapers directly using pip with --break-system-packages flag.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Paul R Kartchner
2026-01-16 22:43:01 -07:00
parent ba1ab277df
commit fd196e3493

View File

@@ -66,18 +66,14 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install Python dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install recipe-scrapers
- name: Verify Python dependencies
- name: Setup Python dependencies
run: |
# node:20-bookworm already has Python 3.11 installed
# Just install pip if needed and then recipe-scrapers
python3 --version
python3 -m ensurepip --default-pip 2>/dev/null || echo "pip already installed"
python3 -m pip install --upgrade pip --break-system-packages
python3 -m pip install recipe-scrapers --break-system-packages
python3 -c "import recipe_scrapers; print('✓ recipe-scrapers installed successfully')"
- name: Install dependencies