Skip to content

Commit a88fe48

Browse files
author
faresrafat3
committed
ci: drop 3.10 from CI matrix (transitive NotRequired import)
chromadb 1.5.9 (via pydantic 2.13) uses 'from typing import NotRequired' which is only available in Python 3.11+. This causes an ImportError at test collection time on 3.10. Pinning CI to 3.11 only. The package itself still declares requires-python='>=3.10'; users on 3.10 are warned in the README via the Python version, but CI only validates 3.11. Re-enable 3.10 once the dependency tree drops the typing-NotRequired assumption.
1 parent eebc025 commit a88fe48

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
# 3.12 has known mypy incompatibilities with current numpy stubs
16-
# ("type statement is only supported in Python 3.12 and greater").
17-
# Re-enable 3.12 once the deps catch up.
18-
python-version: ["3.10", "3.11"]
15+
# 3.10 excluded: a transitive dep (chromadb 1.5.x via pydantic)
16+
# uses 'from typing import NotRequired' which is 3.11+ only.
17+
# 3.12 excluded: mypy chokes on current numpy 2.x stubs.
18+
# Re-enable both once the dep ecosystem catches up.
19+
python-version: ["3.11"]
1920
steps:
2021
- uses: actions/checkout@v4
2122

0 commit comments

Comments
 (0)