fix: require Python >=3.11 and lock scikit-learn deps for uv

scikit-learn 1.9.0 supports only Python >=3.11, so uv could not resolve
the >=3.9 range. The deployment runs 3.11. Also pins numpy back to
1.26.4 in the lockfile (pandas 2.0.3 ABI).
This commit is contained in:
2026-08-10 14:44:54 +07:00
parent 4358d52d55
commit 29f4b5818d
2 changed files with 181 additions and 752 deletions
+1 -3
View File
@@ -28,15 +28,13 @@ classifiers = [
"Topic :: Scientific/Engineering :: Hydrology", "Topic :: Scientific/Engineering :: Hydrology",
"Topic :: System :: Monitoring", "Topic :: System :: Monitoring",
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.12",
"Operating System :: OS Independent", "Operating System :: OS Independent",
"Environment :: Web Environment", "Environment :: Web Environment",
"Framework :: FastAPI" "Framework :: FastAPI"
] ]
requires-python = ">=3.9" requires-python = ">=3.11"
dependencies = [ dependencies = [
# Core dependencies # Core dependencies
"requests==2.31.0", "requests==2.31.0",
Generated
+180 -749
View File
File diff suppressed because it is too large Load Diff