Skip to content

High performance self-hosted photo and video management solution.

pin python (#5904)

Mert4dd7412a8602
diff --git a/machine-learning/pyproject.toml b/machine-learning/pyproject.toml
index e0da6b7867..138398c9b8 100644
--- a/machine-learning/pyproject.toml
+++ b/machine-learning/pyproject.toml
@@ -7,7 +7,7 @@ readme = "README.md"
packages = [{include = "app"}]
[tool.poetry.dependencies]
-python = "=3.11.*"
+python = ">=3.10,<3.12"
onnxruntime = "^1.15.0"
insightface = "^0.7.3"
opencv-python-headless = "^4.7.0.72"
diff --git a/renovate.json b/renovate.json
index 987f0198db..0881f82606 100644
--- a/renovate.json
+++ b/renovate.json
@@ -2,6 +2,10 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:base", "docker:pinDigests"],
"minimumReleaseAge": "5 days",
+ "constraints": {
+ "python": "< 3.12"
+ },
+ "constraintsFiltering": "strict",
"packageRules": [
{
"matchFileNames": ["cli/**"],