fix: improve cancellation handling in middleware and mixins for Python 3.12+

This commit is contained in:
X-iZhang
2026-02-22 16:20:55 +00:00
parent a2048e4127
commit 7dedf2b426
5 changed files with 20 additions and 7 deletions
+3 -1
View File
@@ -8,6 +8,7 @@ on:
jobs:
pytest:
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
python-version: ["3.11", "3.12"]
@@ -21,5 +22,6 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install -e ".[dev]"
python -m pip install pytest-timeout
- name: Run pytest
run: pytest -v
run: pytest -v --timeout=30