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 @@ -70,9 +70,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
strategy:
Expand Down Expand Up @@ -106,7 +105,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
8 changes: 0 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,9 @@ dependencies = [
"faststream>=0.7.6,<0.8",
# 5.0.1 is the first release with Redis.aclose, which the broker calls on teardown.
"redis>=5.0.1",
# Not imported here: faststream pulls pydantic through fast-depends[pydantic], and pydantic-core
# ships no cp314 wheel before pydantic 2.12 and no cp315 wheel before 2.14, so the lowest
# declared combination has no installable pydantic on 3.14 or 3.15.
"pydantic>=2.12; python_version == '3.14'",
"pydantic>=2.14; python_version >= '3.15'",
# 4.12.2, not 4.12.0: pydantic requires >=4.12.2 on 3.13+, and pinning 4.12.0 drags pydantic
# back to a build whose pydantic-core has no cp313 wheel either.
"typing-extensions>=4.12.2",
# pydantic 2.12 and 2.14, the 3.14 and 3.15 floors above, require >=4.14.1 and >=4.16.0.
"typing-extensions>=4.14.1; python_version == '3.14'",
"typing-extensions>=4.16.0; python_version >= '3.15'",
]

[dependency-groups]
Expand Down
Loading