Skip to content

Commit 5bf993c

Browse files
committed
note about 3.10
1 parent a306663 commit 5bf993c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

finegrain/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Finegrain API - Python client
22

3-
This is a client for the [Finegrain](https://finegrain.ai) API. It requires Python 3.12+ and is designed for asynchronous code using asyncio. It depends on httpx and [httpx_sse](https://github.com/florimondmanca/httpx-sse).
3+
This is a client for the [Finegrain](https://finegrain.ai) API. It requires Python 3.12+ (but we have a branch supporting 3.10, see below) and is designed for asynchronous code using asyncio. It depends on httpx and [httpx_sse](https://github.com/florimondmanca/httpx-sse).
44

55
## Setup
66

@@ -50,3 +50,7 @@ FG_TESTS_OUTPUT_DIR="$odir" \
5050
uv run pytest -v \
5151
-s -o log_cli=true -o log_level=INFO
5252
```
53+
54+
## Python 3.10
55+
56+
This package leverages features from Python 3.11 (e.g. asyncio [Task Groups](https://docs.python.org/3/library/asyncio-task.html#task-groups)) and 3.12 (e.g. the [Type Parameter syntax](https://peps.python.org/pep-0695/)). For users stuck with 3.10 (e.g. on Hugging Face's ZeroGPU spaces) we provide [a branch](https://github.com/finegrain-ai/finegrain-python/tree/py310) you can use. This branch is not intended to me merged back into main.

0 commit comments

Comments
 (0)