Skip to content

Commit c1d623f

Browse files
committed
Get free threading tests working
1 parent 23fe3d0 commit c1d623f

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.14.2
1+
3.14.2t

Justfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ test-parallel *ARGS:
2727
uv run pytest -n auto {{ ARGS }}
2828

2929
# Run tests with free-threading safety checks (parallel threads + iterations)
30-
test-freethreaded *ARGS:
31-
uv run pytest --threads=8 --iterations=10 --require-gil-disabled {{ ARGS }}
30+
test-freethreaded:
31+
uv run pytest -p freethreaded -p no:doctest --threads=8 --iterations=10 --require-gil-disabled tests
3232

3333
# Lint code (check for issues)
3434
lint *ARGS:

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ returning `Traversable` objects that represent resource locations suitable for w
2929
- **Flexible Path Formats:** Supports package paths, relative paths with `./` or `../`, and plain paths
3030
- **Cross-Platform:** Traversable ensures consistent resource access across platforms
3131
- **Type Safety:** Comprehensive type hints with IDE autocomplete and type checking support
32+
- **Free Threaded:** Written and tested to be free-threading friendly
3233
- **Asset Validation:** Automatic validation that referenced assets exist (fail-fast with clear errors)
3334
- **Simple API:** Clean functions for both manual and automatic use cases
3435
- **Framework Independence:** Same components work in Flask, Django, FastAPI, Sphinx

0 commit comments

Comments
 (0)