Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,8 @@ jobs:

floors:
# Every other job resolves newest, so the declared floors are a claim nothing installs.
# This one resolves the bottom of each range, on every matrix entry: wheel coverage is
# per interpreter, so two interpreters resolving the same versions can still disagree
# on whether those versions install.
# This one installs them exactly on the floor Python, and the lowest versions with a wheel
# on every other entry (CI10).
if: github.event_name != 'schedule'
runs-on: ubuntu-latest
env:
Expand Down Expand Up @@ -108,7 +107,10 @@ jobs:
- run: uv python pin ${{ matrix.python-version }}
- run: uv venv
# Pinned with builds allowed, so a floor with no wheel fails the wheel-only install below.
- run: uv pip compile pyproject.toml --all-extras --no-deps --resolution lowest-direct -o floors.txt
- if: matrix.python-version == '3.11'
run: uv pip compile pyproject.toml --all-extras --no-deps --resolution lowest-direct -o floors.txt
- if: matrix.python-version != '3.11'
run: uv pip compile pyproject.toml --all-extras --resolution lowest-direct --no-build -o floors.txt
- run: uv pip install -r pyproject.toml --all-extras --group dev --constraints floors.txt --no-build
- run: uv run --no-sync pytest
env:
Expand Down
9 changes: 1 addition & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,7 @@ dependencies = [
# 2.0.20, not 2.0.18: advanced-alchemy requires it, so nothing here can exercise 2.0.18.
"sqlalchemy[asyncio]>=2.0.20; python_version < '3.13'",
"sqlalchemy[asyncio]>=2.0.31; python_version >= '3.13'",
# asyncpg declares requires-python >=3.8 throughout but ships no cp312 wheel before 0.29, no
# cp313 wheel before 0.30, no cp314 wheel before 0.31 and no cp315 wheel before 0.32, so a
# resolver picks an sdist that cannot build rather than conflicting.
"asyncpg>=0.28; python_version < '3.12'",
"asyncpg>=0.29; python_version == '3.12'",
"asyncpg>=0.30; python_version == '3.13'",
"asyncpg>=0.31; python_version == '3.14'",
"asyncpg>=0.32; python_version >= '3.15'",
"asyncpg>=0.28",
]

[project.urls]
Expand Down
Loading