Claude commited on
Commit
135c4e5
·
1 Parent(s): e7d85ae

Pin Python version to <3.14 for local dev compatibility

Browse files

pydantic-core's Rust extension (via PyO3) doesn't support Python 3.14 yet.
Add .python-version (3.11, matching Dockerfile) so pyenv/uv auto-select a
compatible version, and tighten requires-python to fail fast with a clear
error instead of a cryptic Rust build failure.

https://claude.ai/code/session_01EGBMur51izertyiu7msWPQ

Files changed (2) hide show
  1. .python-version +1 -0
  2. pyproject.toml +1 -1
.python-version ADDED
@@ -0,0 +1 @@
 
 
1
+ 3.11
pyproject.toml CHANGED
@@ -2,7 +2,7 @@
2
  name = "videoguidemaker"
3
  version = "0.1.0"
4
  description = "Generate WCAG 2.2 AA-ready HTML study guides from instructional videos"
5
- requires-python = ">=3.10"
6
  dependencies = [
7
  "fastapi>=0.115",
8
  "uvicorn[standard]>=0.32",
 
2
  name = "videoguidemaker"
3
  version = "0.1.0"
4
  description = "Generate WCAG 2.2 AA-ready HTML study guides from instructional videos"
5
+ requires-python = ">=3.10,<3.14"
6
  dependencies = [
7
  "fastapi>=0.115",
8
  "uvicorn[standard]>=0.32",