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
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,8 @@ jobs:
python -m pip install --upgrade pip
pip install -c backend/constraints-${{ matrix.lancedb }}.txt \
-r backend/requirements.txt
# httpx is required by TestClient; <0.28 keeps the app= kwarg
# that the starlette version pinned by fastapi 0.104 still uses
pip install pytest "httpx<0.28"
# TestClient needs an HTTP client; current starlette wants httpx2
pip install pytest httpx2

- name: Run API endpoint tests
run: |
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- GitHub Actions pinned to the majors that run on Node 24, before Node 20 leaves the runners (#60).
- FastAPI startup logging moved from the deprecated `on_event` decorator to a lifespan context manager (#77).
- Dataset loading now fetches combined schema and column metadata in parallel with row data, reducing four sequential I/O operations to two concurrent requests (#75).
- FastAPI raised from 0.104.1 to 0.141.1, and the test suite moved from httpx to httpx2. The old FastAPI brought starlette 0.27, which passed an argument that httpx had deprecated, so the test instructions had to hold httpx below 0.28. Test runs are now free of deprecation warnings (#81).

### Fixed
- `docker build` no longer fails with "the destination must be a directory and end with a /". `COPY backend/*.py .` needs a trailing slash when it copies more than one file. The classic builder rejected it, the BuildKit builder did not (#62).
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ The API tests run without Docker. With Python 3.11:

```bash
pip install -c backend/constraints-0.33.0.txt -r backend/requirements.txt
pip install pytest "httpx<0.28"
pip install pytest httpx2
cd backend && python -m pytest tests/ -v
```

Expand Down
2 changes: 1 addition & 1 deletion backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = [{name = "Lance Viewer", email = "noreply@example.com"}]
license = {text = "MIT"}
requires-python = ">=3.11"
dependencies = [
"fastapi==0.104.1",
"fastapi==0.141.1",
"uvicorn[standard]==0.24.0",
"lancedb==0.3.4",
"pyarrow==14.0.1",
Expand Down
2 changes: 1 addition & 1 deletion backend/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
fastapi==0.104.1
fastapi==0.141.1
uvicorn[standard]==0.24.0
python-multipart==0.0.6
numpy
Expand Down