Skip to content

Commit 1012b1b

Browse files
committed
PYTHON-4450 Remove hatch on 3.13t
1 parent a41f8ae commit 1012b1b

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/test-python.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,13 @@ jobs:
7272
- name: Install dependencies
7373
run: |
7474
pip install -U pip
75-
if [[ "${{ matrix.python-version }}" == "3.13" || "${{ matrix.python-version }}" == "3.13t" ]]; then
75+
if [[ "${{ matrix.python-version }}" == "3.13" ]]; then
7676
pip install --pre cffi setuptools
7777
pip install --no-build-isolation hatch
78+
elif [[ "${{ matrix.python-version }}" == "3.13t" ]]; then
79+
# Hatch can't be installed on 3.13t, use pytest directly.
80+
pip install .
81+
pip install -r requirements/test.txt
7882
else
7983
pip install hatch
8084
fi
@@ -84,7 +88,11 @@ jobs:
8488
mongodb-version: 6.0
8589
- name: Run tests
8690
run: |
87-
hatch run test:test
91+
if [[ "${{ matrix.python-version }}" == "3.13t" ]]; then
92+
pytest -v --durations=5 --maxfail=10
93+
else
94+
hatch run test:test
95+
fi
8896
8997
doctest:
9098
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)