Docs: clarify supported Python versions and fix Windows dependency setup #399
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Title
Fix Windows backend installation issues by updating dependency constraints and clarifying supported Python versions
📝 Description
This PR fixes backend setup failures on Windows caused by incompatible dependency versions and unclear Python support.
🔧 What was change
Updated backend dependency constraints in requirements.txt to avoid versions that are not available on Windows.
Clarified backend Python support in README.md:
Explicitly document supported Python versions (3.9 – 3.11, recommended 3.10).
Clearly mention that Python 3.12+ and 3.13 are not supported due to native dependency issues (sentencepiece, spacy, pke, etc.)
Aligned installation instructions to reduce common setup errors for new contributors on Windows.
🐛 Problem fixed
Backend installation fails on Windows when running:
pip install -r requirements.txt
because some pinned versions (for example SciPy / PyTorch / native dependencies) are not available for certain Python versions
This PR improves the contributor experience by making the supported environment explicit and preventing incompatible installations.
🧪 Tested on
Windows 10
Python 3.10
Fresh virtual environment
🔗 Related issue
Closes / relates to:
#382 – BUG: Backend dependency installation fails on Windows
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.