Skip to content

Commit e5b54ec

Browse files
n24q02mclaude
andauthored
fix: align Python version statements with pyproject.toml requires-python (#545)
CONTRIBUTING.md said ``Python 3.13+`` and ``Target: Python 3.13``, while CLAUDE.md said ``Python >= 3.10 (3.10-3.14)``. The actual ``pyproject.toml`` constraint is ``requires-python = ">=3.11"``, so both docs were drifted in opposite directions. Aligned both to ``>=3.11`` (3.11-3.14 supported) so contributors install the right interpreter on the first try. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent e51677b commit e5b54ec

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

CLAUDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# CLAUDE.md - qwen3-embed
22

33
Thu vien embedding va reranking Qwen3 qua ONNX Runtime va GGUF.
4-
Python >= 3.10 (ho tro 3.10-3.14), uv, hatchling. KHONG phai src layout -- package tai `qwen3_embed/`.
4+
Python >= 3.11 (ho tro 3.11-3.14), uv, hatchling. KHONG phai src layout -- package tai `qwen3_embed/`.
55
Fork cua fastembed (Qdrant), chi giu Qwen3 models. License: Apache-2.0.
66

77
## Commands
@@ -84,7 +84,7 @@ PSR v10 (workflow_dispatch) -> PyPI. Khong co Docker (la library, khong phai ser
8484
## Luu y
8585

8686
- KHONG phai src layout: package truc tiep tai `qwen3_embed/`, khong phai `src/qwen3_embed/`.
87-
- `requires-python = ">=3.10"` -- ho tro rong hon cac project khac (3.10-3.14).
87+
- `requires-python = ">=3.11"` -- ho tro rong hon cac project khac (3.11-3.14).
8888
- Optional dependency: `pip install qwen3-embed[gguf]` cho llama-cpp-python.
8989
- GPU auto-detect: ONNX (onnxruntime-gpu/directml), GGUF (llama-cpp-python CUDA build).
9090
- Last-token pooling (khong phai mean pooling) + MRL support (truncate 32-1024 dims).

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Thank you for your interest in contributing! This guide will help you get starte
44

55
## Prerequisites
66

7-
- [Python](https://www.python.org/) 3.13+
7+
- [Python](https://www.python.org/) 3.11+ (per `pyproject.toml`; tested through 3.14)
88
- [uv](https://docs.astral.sh/uv/)
99
- [mise](https://mise.jdx.dev/) (recommended)
1010

@@ -57,7 +57,7 @@ tests/
5757
- **Formatter**: [Ruff](https://docs.astral.sh/ruff/) (4-space indent, double quotes, 99 line width)
5858
- **Linting**: Ruff rules (E, F, I, UP, B, SIM)
5959
- **Type checker**: [ty](https://docs.astral.sh/ty/)
60-
- **Target**: Python 3.13
60+
- **Target**: Python 3.11+ (matches `requires-python` in `pyproject.toml`)
6161

6262
## Testing
6363

0 commit comments

Comments
 (0)