fix: Allow psycopg2-binary to be optional again (#8065)

This commit is contained in:
Michael Genson authored and GitHub committed 2026-08-11 18:07:40 -05:00
1 parent 136a500881
commit 07aac89902
3 files changed
+16 -6

No files matched your search

+6 -2
View File
@@ -67,7 +67,7 @@ jobs:
uses: actions/cache@v5
with:
path: .venv
key: venv-${{ runner.os }}-${{ hashFiles('**/uv.lock') }}
key: venv-${{ runner.os }}-${{ matrix.Database }}-${{ hashFiles('**/uv.lock') }}
- name: Check venv cache
id: cache-validate
@@ -81,7 +81,11 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install libsasl2-dev libldap2-dev libssl-dev
uv sync --group dev --extra pgsql
if [ "${{ matrix.Database }}" = "postgres" ]; then
uv sync --group dev --extra pgsql
else
uv sync --group dev
fi
if: steps.cached-python-dependencies.outputs.cache-hit != 'true' || steps.cache-validate.outputs.cache-hit-success != 'true'
- name: Formatting (Ruff)